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.
https://www.pivotaltracker.com/s/projects/684825/stories/71230608
I've added the generic support to the HierarchyConverter to handle the outgoing/incoming paths that include namspaces like jcr:system/jcr:versionStorage, which were brought up in "curl -v XPUT http://localhost:8080/rest/book”. The -v option above brought up a three hierarchy segments JCR path which did't match our default 4 levels hierarchy conversion, something like "jcr:system/jcr:versionStorage/69/8c/d6/698cd66f6a49f6a72fe740b0304c82ed977237d9/1.1". The "curl -v XPUT http://localhost:8080/rest/book” command should be working as expectation now.
I also fixed the NullPointerError that were triggered during running the tests and enabled all the existing tests cases in FedoraNotesTest.java and FedoraContentTest.hava for transparent hierarchy support.