]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-5845: First minor changes toward storing collectionspace_core:refName values...
authorAron Roberts <aron@socrates.berkeley.edu>
Fri, 1 Feb 2013 23:03:32 +0000 (15:03 -0800)
committerAron Roberts <aron@socrates.berkeley.edu>
Sat, 9 Mar 2013 01:27:18 +0000 (17:27 -0800)
commitaaf58ea7598a63d72595cd6bc9e8c00dc96ffaca
tree9e9aeb024961796aff16d3c8afbf8c43c1e70e09
parent566f19de5be4cd36e23e304b4434e5ea1a5b2172
CSPACE-5845: First minor changes toward storing collectionspace_core:refName values with imported records.

CSPACE-5845: Created initial (failing) test of refName value in collectionspace_core.

CSPACE-5845: Placeholder method added for inserting refName values into collectionspace_core on import.

CSPACE-5845: Plain old id-style refNames now generated by Imports service and added to collectionspace_core:refName.

CSPACE-5845: Added (as yet untested) code to insert a provided refName, if any, into collectionspace_core:refName, and to add a display name to the ID form of refNames if the relevant service supports hierarchy.

CSPACE-5845: Generation of display name for refNames for record types with hierarchy is now working, with its own unit test.

CSPACE-5845: Add null checks. Add tests for extracting refName value from an authority record and adding that value to collectionspace_core:refName.

CSPACE-5845: Remove currently-irrelevant comments.

CSPACE-5845: Removed call in (partially-implemented) service test class that was triggering dependency-related issues.

CSPACE-5845: Added code (untested) to generate short identifier-based refNames for authority records, and to skip generating refNames for authority item records (rather than defaulting to giving them id-based refNames).

CSPACE-5845: Added test for generated authority record refName.
12 files changed:
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/import-collectionobject-varexpansion.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/import-locationauthority-varexpansion.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/imports.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-collectionobject-varexpansion.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-collectionobject.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-locationauthority-varexpansion.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-locationauthority.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-objectexit-dollarsign.res.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/res/import-objectexit-varexpansion.res.xml
services/imports/service/src/main/java/org/collectionspace/services/imports/TemplateExpander.java
services/imports/service/src/main/resources/templates/service-document.xml
services/imports/service/src/test/java/org/collectionspace/services/test/ImportsServiceTest.java