Hi Chris,
It is possible, but you'd need to build a "consumer" to listen for those
events. This specific event (reindexing OAI after a new item is
submitted / changed) is one that has been requested many times before.
We have an open ticket for it that is looking for a volunteer developer:
https://jira.duraspace.org/browse/DS-2644
So, if you are interested in helping build this out, there's some more
information / links in that ticket which describe some of the issues
with getting this to "work right". We'd love to have someone volunteer
to help move this ticket forward and/or submit a GitHub pull request to
fix this. More on how you can contribute code back to DSpace is at:
https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines
Thanks,
Tim
On 7/12/2016 8:35 AM, Chris Gray wrote:
Is it possible to trigger an event automatically when an item is
published?
Specifically, I want to automatically reindex OAI (run
[dspace]/bin/dspace oai import -o) when a new item is submitted.
--
You received this message because you are subscribed to the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to dspace-tech+unsubscr...@googlegroups.com
<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to dspace-tech@googlegroups.com
<mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org
--
You received this message because you are subscribed to the Google Groups "DSpace
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.