Merged
Conversation
…ner and Gemini to avoid messages that will never complete.
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
=============================================
+ Coverage 71.18% 84.16% +12.98%
- Complexity 3 29 +26
=============================================
Files 2 6 +4
Lines 59 240 +181
Branches 0 1 +1
=============================================
+ Hits 42 202 +160
- Misses 17 37 +20
- Partials 0 1 +1
Continue to review full report at Codecov.
|
Contributor
Author
|
@Islandora-CLAW/committers Ok, we're building now (thanks @whikloj), so can someone verify that this will deploy on a fresh Karaf? |
Member
|
|
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

GitHub Issue: Resolves Islandora/documentation#597
Blocked by Islandora/documentation#57
What does this Pull Request do?
Provides a set of Camel routes to orchestrate calls to Milliner and Gemini in response to Drupal events.
What's new?
A lot. A new feature for Alpaca. Quite a few routes with some nice error handling techniques. And tests covering the basic routing flows.
How should this be tested?
To install these changes, start with an existing vagrant that has Alpaca running in Karaf. Then perform the following:
cd ~/Alpaca./gradlew install/opt/karaf/bin/clientfeature:repo-refresh file:/home/ubuntu/Alpaca/karaf/build/resources/main/features.xmlfeature:install islandora-indexing-fcrepoYou can test it by creating, updating, and deleting an entity in Drupal and checking the results in Fedora.
http://localhost:8000/fedora_resource/1.curl -i -H "Authorization: Bearer islandora" "http://localhost:8000/gemini/drupal/fedora_resource/1"should return 200 with the path in Fedora. I receivedcf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4.curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4"should return its RDF metadata in Turtle format.curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4"should return updated metadata.curl -i -H "Authorization: Bearer islandora" "http://localhost:8000/gemini/drupal/fedora_resource/1"should return an empty 404curl -i -H "Authorization: Bearer islandora" "http://locahost:8080/fcrepo/rest/cf/46/e4/cd/cf46e4cd-85b1-4430-8a8b-3b25809e5bf4"should return a 410 with a message about the tombstone.Interested parties
@Islandora-CLAW/committers