Closed mesemus closed 9 years ago
@acoburn @whikloj this sound good? If so I get take care of getting it added.
...or @mesemus, you can submit a pull request. You'll just need to have a CLA on file with Duraspace. We have some information here about that.
@mesemus I'm not super familiar with fcrepo4-vagrant, but the fcrepo-reindexing feature should already add the appropriate config: http://git.io/vcGna
The route currently uses camel-restlet to expose the endpoint, so jetty won't be necessary. That said, I'm not against moving everything to camel-jetty, but doing so would mean we'd leave karaf 3.x behind.
@mesemus, @acoburn is partially correct. The reindexing service is already installed by default, except that in my last attempt it appears that the feature did not install and I had to install it myself from the karaf client.
I'll have another look tomorrow with a fresh vagrant machine and see if there isn't something else going wrong. Cheers.
@whikloj, reindexing should work by default. In a recent workshop, about 10% of the attendees did not find their karaf features properly installed... but vagrant provision
fixed that.
Confirmed. Reindexing works with default installation.
curl -i -XPOST localhost:9080/reindexing/ -H"Content-Type: application/json" -d '["activemq:queue:triplestore.reindex"]'
Just tried to install a new copy, seems I'm consistently in the 10% of users (ubuntu 15.04 host, vagrant 1.6.5):
vagrant@fedora4:~$ nmap localhost
....
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
1099/tcp open rmiregistry
8080/tcp open http-proxy
Thanks @awoods, vagrant provision
indeed fixed the issue, after that the reindexing service is started.
Would it be possible to add a short note to the Support section of readme.md?
Thanks, ms.
@mesemus, please sign a CLA and submit a pull-request for the readme.md. Thanks! https://wiki.duraspace.org/display/DSP/Contributor+License+Agreements
Closed with 9d284d788b4675b4413b82da0064298da8f67247
It would be nice to add feature:install camel-jetty to the karaf_service.script and create a default org.fcrepo.camel.reindexing.cfg so that reindexing url (http://localhost:9080/reindexing) works out of the box.
Can send a patch if you wish.
Thanks for the good work, having fedora up and running in (almost) no time is great!