fcrepo4/fcrepo4 — pull request #362 by lsitu (2014-05-15 18:39:49+00:00)
Title: Hierarchy

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 -X PUT 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 -X PUT 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.