From: Aron Roberts Date: Thu, 5 Jan 2012 03:15:08 +0000 (+0000) Subject: CSPACE-4727,CSPACE-4471,CSPACE-4472: Completely reviewed the extensive list of fields... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=36d5ffff712bbc274c04f07a47b77f1dfe45c083;p=tmp%2Fjakarta-migration.git CSPACE-4727,CSPACE-4471,CSPACE-4472: Completely reviewed the extensive list of fields in Cataloging / CollectionObject that hold authority references (authRefs) and vocabulary term references (termRefs), and updated services prototype tenant bindings accordingly. Reordered these configuration entries to follow the pattern of the various wiki schema pages for information groups in Cataloging, for ease of future maintenance. Made a minor update to a services authRefs test to reflect these configuration changes. --- diff --git a/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectAuthRefsTest.java b/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectAuthRefsTest.java index 02ea7722a..6d4c1ec13 100644 --- a/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectAuthRefsTest.java +++ b/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectAuthRefsTest.java @@ -126,6 +126,13 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest { private String fieldCollectionSourceRefName = null; private String fieldCollectorRefName = null; + // FIXME: As of 2012-01-04, the two assocEvent... fields + // and the ownerRefName field have been commented out in + // the list of authRef fields in CollectionObject, in tenant bindings, + // because those fields fall within to-be-created repeatable groups, + // per CSPACE-3229. + // As a result, the number of authority references expected to be found + // is currently 4, rather than 7. - Aron public String toString(){ String result = "CollectionObjectauthRefsTest: " + "\r\npersonAuthCSID: "+personAuthCSID @@ -146,7 +153,7 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest { } /** The number of authority references expected. */ - private final int NUM_AUTH_REFS_EXPECTED = 7; + private final int NUM_AUTH_REFS_EXPECTED = 4; /* (non-Javadoc) * @see org.collectionspace.services.client.test.BaseServiceTest#getAbstractCommonList(org.jboss.resteasy.client.ClientResponse) diff --git a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml index 982de8651..88d66ac0e 100644 --- a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml +++ b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml @@ -153,115 +153,99 @@ - + + + + authRef contentActivities|contentActivity - authRef contentConcepts|contentConcept authRef - contentOrganizations|contentOrganization - - - authRef - contentPeoples|contentPeople - - - authRef - contentPersons|contentPerson - - - authRef - contentPlaces|contentPlace + contentEventNameGroupList/*/contentEventName - authRef - styles|style + contentEventNameGroupList/*/contentEventNameType authRef - assocEventOrganizations|assocEventOrganization + contentOrganizations|contentOrganization authRef - assocEventPersons|assocEventPerson + contentOtherGroupList/*/contentOther authRef - owners|owner + contentOtherGroupList/*/contentOtherType - authRef - fieldCollectionPlace + contentPeoples|contentPeople authRef - fieldCollectionSources|fieldCollectionSource + contentPersons|contentPerson authRef - fieldCollectors|fieldCollector + contentPlaces|contentPlace - + + authRef - contentEventNameGroupList/*/contentEventName + textualInscriptionGroupList/*/inscriptionContentInscriber authRef - contentEventNameGroupList/*/contentEventNameType + textualInscriptionGroupList/*/inscriptionContentMethod authRef - contentObjectGroupList/*/contentObjectType + nonTextualInscriptionGroupList/*/inscriptionDescriptionInscriber authRef - contentOtherGroupList/*/contentOtherType + nonTextualInscriptionGroupList/*/inscriptionDescriptionMethod authRef materialGroupList/*/material + + + + authRef materialGroupList/*/materialSource authRef - textualInscriptionGroupList/*/inscriptionContentInscriber - - - authRef - textualInscriptionGroupList/*/inscriptionContentMethod - - - authRef - nonTextualInscriptionGroupList/*/inscriptionDescriptionInscriber - - - authRef - nonTextualInscriptionGroupList/*/inscriptionDescriptionMethod + styles|style - + authRef objectComponentGroupList/*/objectComponentName - + + authRef objectProductionOrganizationGroupList/*/objectProductionOrganization @@ -274,6 +258,10 @@ authRef objectProductionPersonGroupList/*/objectProductionPerson + + authRef + objectProductionPlaceGroupList/*/objectProductionPlace + authRef techniqueGroupList/*/technique @@ -282,22 +270,28 @@ authRef techniqueGroupList/*/techniqueType + + + + + authRef assocOrganizationGroupList/*/assocOrganization @@ -314,164 +308,179 @@ authRef assocPlaceGroupList/*/assocPlace + + + + - - - + + + + + authRef - assocEventGroupList/*/assocEventOrganization + referenceGroupList/*/reference + authRef - assocEventGroupList/*/assocEventPeople + fieldCollectionPlace authRef - assocEventGroupList/*/assocEventPerson + fieldCollectionSources|fieldCollectionSource authRef - assocEventGroupList/*/assocEventPlace + fieldCollectors|fieldCollector authRef - ownerGroupList/*/owner + fieldColEventNames|fieldColEventName + + + + - authRef - ownerGroupList/*/ownershipPlace + termRef + otherNumberList/*/numberType - --> termRef - responsibleDepartments|responsibleDepartment + objectNameList/*/objectNameCurrency termRef - collection + objectNameList/*/objectNameLevel termRef - recordStatus + objectNameList/*/objectNameSystem termRef - ageUnit + objectNameList/*/objectNameType termRef - contentLanguages|contentLanguage + objectNameList/*/objectNameLanguage termRef - contentPositions|contentPosition + responsibleDepartments|responsibleDepartment termRef - contentScripts|contentScript + collection + + termRef - phase + titleGroupList/*/titleType termRef - sex + recordStatus + termRef - fieldCollectionMethods|fieldCollectionMethod + ageUnit - - + termRef - contentObjectGroupList/*/contentObjectType + forms|form termRef - titleGroupList/*/titleType + textualInscriptionGroupList/*/inscriptionContentLanguage termRef - dimensionList/*/measuredPart + textualInscriptionGroupList/*/inscriptionContentPosition termRef - textualInscriptionGroupList/*/inscriptionContentLanguage + textualInscriptionGroupList/*/inscriptionContentScript termRef - textualInscriptionGroupList/*/inscriptionContentPosition + textualInscriptionGroupList/*/inscriptionContentType termRef - textualInscriptionGroupList/*/inscriptionContentScript + nonTextualInscriptionGroupList/*/inscriptionDescriptionPosition termRef - textualInscriptionGroupList/*/inscriptionContentType + nonTextualInscriptionGroupList/*/inscriptionDescriptionType termRef - nonTextualInscriptionGroupList/*/inscriptionDescriptionLanguage + objectStatusList|objectStatus termRef - nonTextualInscriptionGroupList/*/inscriptionDescriptionPosition + phase termRef - nonTextualInscriptionGroupList/*/inscriptionDescriptionType + sex termRef @@ -485,50 +494,50 @@ termRef technicalAttributeGroupList/*/technicalAttributeMeasurementUnit - + termRef - assocObjectGroupList/*/assocObject - + objectComponentGroupList/*/objectComponentInformation + + + + termRef - assocObjectGroupList/*/assocObjectType + assocActivityGroupList/*/assocActivity termRef - usageGroupList/*/usage + assocConceptGroupList/*/assocConcept - --> - - - - + + + - - - - - - + + + + + termRef + usageGroupList/*/usage + + + + + + + + + + termRef + fieldCollectionMethods|fieldCollectionMethod + @@ -1269,10 +1293,13 @@ authRef subjectList|subject + + termRef languageList|language