]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-2818, CSPACE-3537 Refactored logic that handles authorityRefs, refObjs, and...
authorPatrick Schmitz <pschmitz@berkeley.edu>
Tue, 22 Nov 2011 20:00:22 +0000 (20:00 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Tue, 22 Nov 2011 20:00:22 +0000 (20:00 +0000)
commit814a20bc20978b62a8b6d951ba6fd7d2193e5d5c
tree6c5e39b1b8a5c5420557ee988ae69640864c8b57
parent8fc285409d5b95a83f7acb9ba831763c88b5844d
CSPACE-2818, CSPACE-3537 Refactored logic that handles authorityRefs, refObjs, and displayName update, so that it can handle authRefs in deeply nested structures. Still awaiting latest code from Nuxeo to integrate their updated search, but this change at least fixes 2818, and makes us ready for the fix for 3537 and 2323. Also cleaned up handling of authorityRefs for garbage values - now produces a log error and does not produce an authorityRef item (was producing an empty one). Also added a partial fix and notes to remove the hard-coded resource paths for authority types.
16 files changed:
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/authrefsComplex.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/authrefsSimple.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/intake1.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/organizations_common.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/orgauthorities_common.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/xml-replay-master.xml
services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityResource.java
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml
services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java
services/common/src/main/java/org/collectionspace/services/common/config/PropertyItemUtils.java
services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java [moved from services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java with 55% similarity]
services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameUtils.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java
services/organization/client/src/test/java/org/collectionspace/services/client/test/OrgAuthorityAuthRefsTest.java