]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4457,CSPACE-4472: Reviewed and updated authRefs and termRefs for movement...
authorAron Roberts <aron@socrates.berkeley.edu>
Wed, 12 Oct 2011 21:14:03 +0000 (21:14 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Wed, 12 Oct 2011 21:14:03 +0000 (21:14 +0000)
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml

index b5790147ce4544feda8a206532db0bc88e2d444c..cee8d2b54e839a558edb5fa2859e20c661b7e184 100644 (file)
               <types:key>authRef</types:key>
               <types:value>depositor</types:value>
             </types:item>
+            <!-- CSPACE-4457: Identification of term list / controlled vocabulary fields -->
             <!--
             <types:item xmlns:types="http://collectionspace.org/services/common/types">
               <types:key>termRef</types:key>
               <types:key>authRef</types:key>
               <types:value>contributor</types:value>
             </types:item>
+            <!-- PlaceAuthority field -->
             <types:item xmlns:types="http://collectionspace.org/services/common/types">
               <types:key>authRef</types:key>
               <types:value>coverage</types:value>
               <types:key>authRef</types:key>
               <types:value>rightsHolder</types:value>
             </types:item>
+            <!-- Place Authority field -->
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>authRef</types:key>
+              <types:value>coverage</types:value>
+            </types:item>
+            <!-- Subject Authority field -->
             <types:item xmlns:types="http://collectionspace.org/services/common/types">
               <types:key>authRef</types:key>
               <types:value>subjectList|subject</types:value>
             </types:item>
+            <!-- Commented out for now, as searching within a field in a complexType breaks searches for referenced objects -->
+            <!--
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>authRef</types:key>
+              <types:value>dimensionGroupList|measuredBy</types:value>
+            </types:item>
+            -->
+            <!-- CSPACE-4457: Identification of term list / controlled vocabulary fields -->
+            <!--
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>termRef</types:key>
+              <types:value>languages|language</types:value>
+            </types:item>
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>termRef</types:key>
+              <types:value>types|type</types:value>
+            </types:item>
+            -->
+            <!-- The following term references all fall within a nested complexType / multivalued group of fields -->
+            <!--
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>termRef</types:key>
+              <types:value>dimentionGroupList|dimension</types:value>
+            </types:item>
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>termRef</types:key>
+              <types:value>dimentionGroupList|measurementUnit</types:value>
+            </types:item>
+            <types:item xmlns:types="http://collectionspace.org/services/common/types">
+              <types:key>termRef</types:key>
+              <types:value>dimentionGroupList|measurementMethod</types:value>
+            </types:item>
+            -->
           </service:properties>
           <service:content contentType="application/xml">
             <service:xmlContent namespaceURI="http://collectionspace.org/services/media" schemaLocation="http://collectionspace.org/services/media http://services.collectionspace.org/media/media_common.xsd" />
               <types:key>authRef</types:key>
               <types:value>movementContact</types:value>
             </types:item>
+            <!-- CSPACE-4457: Identification of term list / controlled vocabulary fields -->
             <!--
             <types:item xmlns:types="http://collectionspace.org/services/common/types">
               <types:key>termRef</types:key>
               <types:value>acquisitionSources|acquisitionSource</types:value>
             </types:item>
             <!-- Commented out for now, as searching within a field in a complexType breaks searches for referenced objects -->
-            <!-- <types:item><types:key>authRef</types:key><types:value>acquisitionFundingList|acquisitionFundingSource</types:value></types:item> -->
+            <!--
+            <types:item>
+              <types:key>authRef</types:key>
+              <types:value>acquisitionFundingList|acquisitionFundingSource</types:value>
+            </types:item>
+            -->
           </service:properties>
           <service:content contentType="application/xml">
             <service:xmlContent namespaceURI="http://collectionspace.org/services/acquisition" schemaLocation="http://collectionspace.org/services/acquisition http://services.collectionspace.org/acquisition/acquisitions_common.xsd" />
               <service:element>subjectCsid</service:element>
               <service:xpath>subjectCsid</service:xpath>
             </service:ListResultField>
+            <service:ListResultField>
+              <service:element>subjectRefName</service:element>
+              <service:xpath>subjectRefName</service:xpath>
+            </service:ListResultField>
             <service:ListResultField>
               <service:element>relationshipType</service:element>
               <service:xpath>relationshipType</service:xpath>
               <service:element>objectCsid</service:element>
               <service:xpath>objectCsid</service:xpath>
             </service:ListResultField>
+            <service:ListResultField>
+              <service:element>objectRefName</service:element>
+              <service:xpath>objectRefName</service:xpath>
+            </service:ListResultField>
             <service:ListResultField>
               <service:element>relationshipType</service:element>
               <service:xpath>relationshipType</service:xpath>
       <service:initHandler xmlns:service="http://collectionspace.org/services/common/service">
         <service:classname>org.collectionspace.services.common.init.AddIndices</service:classname>
         <service:params>
-          <!-- Index that is to be created for the ubiquitious updatedAt field -->
+          <!-- The database index that is to be created for the ubiquitious updatedAt field -->
           <!-- in collectionspace_core is configured here in the Relation -->
           <!-- service, as it is a core service that will be reliably present. -->
           <service:field>