]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6908: Renamed lifesci tenant to testsci to reduce confusion with community...
authorremillet <remillet@yahoo.com>
Tue, 22 Mar 2016 23:05:19 +0000 (16:05 -0700)
committerremillet <remillet@yahoo.com>
Tue, 22 Mar 2016 23:05:19 +0000 (16:05 -0700)
35 files changed:
3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/proto-datasource-config.xml
3rdparty/nuxeo/nuxeo-server/6.0/config/elasticsearch-config.xml
3rdparty/nuxeo/nuxeo-server/6.0/config/proto-datasource-config.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/collectionobject-adv-search.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co1-adv-search-testsci.res.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co1-adv-search-lifesci.res.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2-adv-search-testsci.res.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/res/co2-adv-search-lifesci.res.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/testsci_extended_co.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/lifesci_extended_co.xml with 87% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/testsci_extended_injectedco.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/lifesci_extended_injectedco.xml with 88% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/imports/imports.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/listener/listener-update-object-loc.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_and_testsci.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_and_lifesci.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_and_testsci_set_broader.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/persons_common_and_lifesci_set_broader.xml with 100% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/res/testsciPersonWithRelns.res.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/res/lifesciPersonWithRelns.res.xml with 96% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/testsciperson.xml [moved from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/lifesciperson.xml with 87% similarity]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/versioning/versioning.xml
services/client/src/main/resources/collectionspace-client.properties
services/collectionobject/3rdparty/build.xml
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/build.xml [moved from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/build.xml with 91% similarity]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/pom.xml [moved from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/pom.xml with 96% similarity]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/src/main/resources/OSGI-INF/README.txt [moved from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/OSGI-INF/README.txt with 100% similarity]
services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/src/main/resources/schemas/README.txt [moved from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/src/main/resources/schemas/README.txt with 100% similarity]
services/collectionobject/3rdparty/pom.xml
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml
services/common/src/main/cspace/config/services/tenants/tenant-bindings.touchstone.xml
services/common/src/main/cspace/config/services/tenants/testsci/testsci-tenant-bindings.delta.xml [moved from services/common/src/main/cspace/config/services/tenants/lifesci/lifesci-tenant-bindings.delta.xml with 87% similarity]
services/person/3rdparty/build.xml
services/person/3rdparty/nuxeo-platform-person-testsci/build.xml [moved from services/person/3rdparty/nuxeo-platform-person-lifesci/build.xml with 91% similarity]
services/person/3rdparty/nuxeo-platform-person-testsci/pom.xml [moved from services/person/3rdparty/nuxeo-platform-person-lifesci/pom.xml with 93% similarity]
services/person/3rdparty/nuxeo-platform-person-testsci/src/main/resources/META-INF/README.txt [moved from services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/META-INF/README.txt with 100% similarity]
services/person/3rdparty/nuxeo-platform-person-testsci/src/main/resources/OSGI-INF/README.txt [moved from services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/OSGI-INF/README.txt with 100% similarity]
services/person/3rdparty/nuxeo-platform-person-testsci/src/main/resources/schemas/README.txt [moved from services/person/3rdparty/nuxeo-platform-person-lifesci/src/main/resources/schemas/README.txt with 100% similarity]
services/person/3rdparty/pom.xml
services/security/client/src/test/java/org/collectionspace/services/security/client/test/MultiTenancyTest.java
services/taxonomy/client/src/main/resources/collectionspace-client.properties

index ed36fc0846988974592176079fb48af61bddcb0b..4887c1673f8e6c90968d74eda054ce87b28e498c 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0"?>
-<component name="org.nuxeo.runtime.datasource.lifesci.contrib">
+<component name="org.nuxeo.runtime.datasource.testsci.contrib">
        
   <extension target="org.nuxeo.runtime.datasource" point="datasources">
-       <datasource name="jdbc/lifesci_domain" driverClassName="org.postgresql.Driver"
+       <datasource name="jdbc/testsci_domain" driverClassName="org.postgresql.Driver"
       maxPoolSize="100" minPoolSize="5" blockingTimeoutMillis="10000"
-      url="jdbc:postgresql://localhost:5432/lifesci_domain" validationQuery=""
+      url="jdbc:postgresql://localhost:5432/testsci_domain" validationQuery=""
       username="nuxeo6" password="nuxeo6"
       accessToUnderlyingConnectionAllowed="true" >
     </datasource>
-    <link name="jdbc/repository_lifesci_domain" global="jdbc/lifesci_domain" type="javax.sql.DataSource" />
+    <link name="jdbc/repository_testsci_domain" global="jdbc/testsci_domain" type="javax.sql.DataSource" />
 
        <!--
                These links need to be moved into the context.xml file and become <Resource> instead of <link>
index 7fdb1045450b906bf20571f138ee013113b149fa..e7651b3631475208bf5029d8190bd723f143ceea 100644 (file)
 
     <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent"
     point="elasticSearchIndex">
-    <elasticSearchIndex name="lifesci_domain" type="doc" repository="lifesci_domain">
+    <elasticSearchIndex name="testsci_domain" type="doc" repository="testsci_domain">
       <fetchFromSource>
         <include>ecm:*</include>
         <include>dc:*</include>
index ed36fc0846988974592176079fb48af61bddcb0b..4887c1673f8e6c90968d74eda054ce87b28e498c 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0"?>
-<component name="org.nuxeo.runtime.datasource.lifesci.contrib">
+<component name="org.nuxeo.runtime.datasource.testsci.contrib">
        
   <extension target="org.nuxeo.runtime.datasource" point="datasources">
-       <datasource name="jdbc/lifesci_domain" driverClassName="org.postgresql.Driver"
+       <datasource name="jdbc/testsci_domain" driverClassName="org.postgresql.Driver"
       maxPoolSize="100" minPoolSize="5" blockingTimeoutMillis="10000"
-      url="jdbc:postgresql://localhost:5432/lifesci_domain" validationQuery=""
+      url="jdbc:postgresql://localhost:5432/testsci_domain" validationQuery=""
       username="nuxeo6" password="nuxeo6"
       accessToUnderlyingConnectionAllowed="true" >
     </datasource>
-    <link name="jdbc/repository_lifesci_domain" global="jdbc/lifesci_domain" type="javax.sql.DataSource" />
+    <link name="jdbc/repository_testsci_domain" global="jdbc/testsci_domain" type="javax.sql.DataSource" />
 
        <!--
                These links need to be moved into the context.xml file and become <Resource> instead of <link>
index ec9577b47b63fe5d98fc6845335a6594476c7467..ffdd76cde0ebdbd5dc3630a5caf0075fed200793 100644 (file)
@@ -3,7 +3,7 @@
     <auths>
         <!-- IMPORTANT: THESE ARE STICKY :: THEY STICK AROUND UNTIL RESET, IN EXEC ORDER OF THIS FILE. -->
         <auth ID="admin@core.collectionspace.org">YWRtaW5AY29yZS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
-        <auth ID="admin@lifesci.collectionspace.org">YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+        <auth ID="admin@testsci.collectionspace.org">YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
     </auths>
         
     <!-- This tests the UpdateObjectLocationBatchJob -->
     <!-- records are configured to be versioned. See CSPACE-6188 for more details. -->    
     <testGroup ID="invocationModeSingleInVersioningEnabledTenant" autoDeletePOSTS="true">
         
-        <test ID="createBatchRecordInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="createBatchRecordInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/batch</uri>
             <filename>batch/batch-create-updateobjloc.xml</filename>
             <expectedCodes>201</expectedCodes>
         </test>
 
-        <test ID="createCollectionObjectInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="createCollectionObjectInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/collectionobjects</uri>
             <filename>batch/collObj1.xml</filename>
             <expectedCodes>201</expectedCodes>
         </test>
         
-        <test ID="createMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="createMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/movements</uri>
             <filename>batch/movement.xml</filename>
             <expectedCodes>201</expectedCodes>
         </test>
         
-        <test ID="relateCollectionObjectToMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="relateCollectionObjectToMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/relations</uri>
             <filename>batch/relation.xml</filename>
         
         <!-- Posts of batch job invocation requests don't create new records, -->
         <!-- so we need to exclude them from the post-run auto-deletion of records. -->
-        <test ID="invokeBatchAfterRelatingMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org" autoDeletePOSTS="false">
+        <test ID="invokeBatchAfterRelatingMovementInVersioningTenant" auth="admin@testsci.collectionspace.org" autoDeletePOSTS="false">
             <method>POST</method>
             <uri>/cspace-services/batch/${createBatchRecordInVersioningTenant.CSID}</uri>
             <filename>batch/batch-invoke-updateobjloc-single.xml</filename>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="readCollectionObjectAfterRelatingToMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="readCollectionObjectAfterRelatingToMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>GET</method>
             <uri>/cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID}</uri>
             <response>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="modifyMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="modifyMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>PUT</method>
             <uri>/cspace-services/movements/${createMovementInVersioningTenant.CSID}</uri>
             <filename>batch/movement.xml</filename>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="invokeBatchAfterModifyingMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org" autoDeletePOSTS="false">
+        <test ID="invokeBatchAfterModifyingMovementInVersioningTenant" auth="admin@testsci.collectionspace.org" autoDeletePOSTS="false">
             <method>POST</method>
             <uri>/cspace-services/batch/${createBatchRecordInVersioningTenant.CSID}</uri>
             <filename>batch/batch-invoke-updateobjloc-single.xml</filename>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="readCollectionObjectAfterModifyingMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="readCollectionObjectAfterModifyingMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>GET</method>
             <uri>/cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID}</uri>
             <response>
index 94a705528023077ae1e2cc3760a586fad1154bdf..674dc371d078d67eaef32bbd0b533b5012a85a39 100644 (file)
@@ -3,12 +3,12 @@
 <xmlReplay>
     <auths>
         <!-- IMPORTANT: THESE ARE STICKY :: THEY STICK AROUND UNTIL RESET, IN EXEC ORDER OF THIS FILE. -->
-        <auth ID="admin@lifesci.collectionspace.org">YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+        <auth ID="admin@testsci.collectionspace.org">YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
     </auths>
     
     <testGroup ID="advSearchCommonSchema" autoDeletePOSTS="true">
         <!-- Create a new CollectionObject record with a common part. -->
-       <test ID="co1"  auth="admin@lifesci.collectionspace.org">
+       <test ID="co1"  auth="admin@testsci.collectionspace.org">
              <method>POST</method>
              <uri>/cspace-services/collectionobjects/</uri>
              <filename>collectionobject/co1.xml</filename>
             <response>
                 <expected level="TEXT" />
                 <label>abstract-common-list</label>
-                <filename>collectionobject/res/co1-adv-search-lifesci.res.xml</filename>
+                <filename>collectionobject/res/co1-adv-search-testsci.res.xml</filename>
              </response>
          </test>
     </testGroup>
    
     <testGroup ID="advSearchExtensionSchema" autoDeletePOSTS="true">
         <!-- Create a new CollectionObject record with an extension schema part -->
-       <test ID="co2" auth="admin@lifesci.collectionspace.org">
+       <test ID="co2" auth="admin@testsci.collectionspace.org">
              <method>POST</method>
              <uri>/cspace-services/collectionobjects/</uri>
              <filename>collectionobject/co2.xml</filename>
@@ -52,7 +52,7 @@
             <response>
                 <expected level="TEXT" />
                 <label>abstract-common-list</label>
-                <filename>collectionobject/res/co2-adv-search-lifesci.res.xml</filename>
+                <filename>collectionobject/res/co2-adv-search-testsci.res.xml</filename>
              </response>
          </test>
     </testGroup>
similarity index 87%
rename from services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/lifesci_extended_co.xml
rename to services/IntegrationTests/src/test/resources/test-data/xmlreplay/collectionobject/testsci_extended_co.xml
index 0a244c24bd40f0f811a36bcf16c626ada120a556..67f103d1399785c18966c915399c94a248060bcb 100644 (file)
@@ -7,10 +7,10 @@
       <taxonomicIdentGroup>
         <qualifier>questionable</qualifier>
         <notes/>
-        <taxon>urn:cspace:lifesci.collectionspace.org:taxonomyauthority:name(taxon):item:name(AcerJaponicus1332900279183)'Acer
+        <taxon>urn:cspace:testsci.collectionspace.org:taxonomyauthority:name(taxon):item:name(AcerJaponicus1332900279183)'Acer
           Japonicus'</taxon>
         <reference/>
-        <identBy>urn:cspace:lifesci.collectionspace.org:personauthorities:name(person):item:name(PatrickSchmitz1332900293194)'Patrick
+        <identBy>urn:cspace:testsci.collectionspace.org:personauthorities:name(person):item:name(PatrickSchmitz1332900293194)'Patrick
           Schmitz'</identBy>
         <institution/>
       </taxonomicIdentGroup>
         <titleType>generic</titleType>
         <titleTranslationSubGroupList>
           <titleTranslationSubGroup>
-            <titleTranslationLanguage>urn:cspace:lifesci.collectionspace.org:vocabularies:name(languages):item:name(deu)'German'</titleTranslationLanguage>
+            <titleTranslationLanguage>urn:cspace:testsci.collectionspace.org:vocabularies:name(languages):item:name(deu)'German'</titleTranslationLanguage>
             <titleTranslation>Das ist ein nettes Object</titleTranslation>
           </titleTranslationSubGroup>
         </titleTranslationSubGroupList>
-        <titleLanguage>urn:cspace:lifesci.collectionspace.org:vocabularies:name(languages):item:name(eng)'English'</titleLanguage>
+        <titleLanguage>urn:cspace:testsci.collectionspace.org:vocabularies:name(languages):item:name(eng)'English'</titleLanguage>
       </titleGroup>
     </titleGroupList>
     <responsibleDepartments>
@@ -7,10 +7,10 @@
       <taxonomicIdentGroup>
         <qualifier>questionable</qualifier>
         <notes/>
-        <taxon>urn:cspace:lifesci.collectionspace.org:taxonomyauthority:name(taxon):item:name(AcerJaponicus1332900279183)'Acer
+        <taxon>urn:cspace:testsci.collectionspace.org:taxonomyauthority:name(taxon):item:name(AcerJaponicus1332900279183)'Acer
           Japonicus'</taxon>
         <reference/>
-        <identBy>urn:cspace:lifesci.collectionspace.org:personauthorities:name(person):item:name(PatrickSchmitz1332900293194)'Patrick
+        <identBy>urn:cspace:testsci.collectionspace.org:personauthorities:name(person):item:name(PatrickSchmitz1332900293194)'Patrick
           Schmitz'</identBy>
         <institution/>
       </taxonomicIdentGroup>
         <titleType>generic</titleType>
         <titleTranslationSubGroupList>
           <titleTranslationSubGroup>
-            <titleTranslationLanguage>urn:cspace:lifesci.collectionspace.org:vocabularies:name(languages):item:name(deu)'German'</titleTranslationLanguage>
+            <titleTranslationLanguage>urn:cspace:testsci.collectionspace.org:vocabularies:name(languages):item:name(deu)'German'</titleTranslationLanguage>
             <titleTranslation>Das ist ein nettes Object</titleTranslation>
           </titleTranslationSubGroup>
         </titleTranslationSubGroupList>
-        <titleLanguage>urn:cspace:lifesci.collectionspace.org:vocabularies:name(languages):item:name(eng)'English'</titleLanguage>
+        <titleLanguage>urn:cspace:testsci.collectionspace.org:vocabularies:name(languages):item:name(eng)'English'</titleLanguage>
       </titleGroup>
     </titleGroupList>
     <responsibleDepartments>
index 5ecea82232ffac0aeffce63078a9bb7536546a04..8d49422a989f2618a2892cf33bce047fe0d47b6f 100644 (file)
@@ -3,7 +3,7 @@
     <auths>
         <!-- IMPORTANT: THESE ARE STICKY :: THEY STICK AROUND UNTIL RESET, IN EXEC ORDER OF THIS FILE. -->
         <auth ID="admin@core.collectionspace.org">YWRtaW5AY29yZS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
-        <auth ID="admin@lifesci.collectionspace.org">YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+        <auth ID="admin@testsci.collectionspace.org">YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
     </auths>
     
     <!-- ================================================================================ -->
     </testGroup>
     
     <!--
-      By default, the demonstration 'lifesci' tenant is configured to use a separate,
+      By default, the demonstration 'testsci' tenant is configured to use a separate,
       rather than a shared, Nuxeo repository domain.
 
-      The test(s) in this test group authenticate as a user in the lifesci tenant and
+      The test(s) in this test group authenticate as a user in the testsci tenant and
       thus verify that imports also work with separate, per-tenant repository domains.
     -->
     <testGroup ID="importsSeparateRepoTestGroup" autoDeletePOSTS="false">
 
         <!-- Import a single ObjectExit record into a separate repo domain -->
-        <test ID="importObjectExitSeparateRepo" auth="admin@lifesci.collectionspace.org">
+        <test ID="importObjectExitSeparateRepo" auth="admin@testsci.collectionspace.org">
             <expectedCodes>200</expectedCodes>
             <method>POST</method>
             <uri>/cspace-services/imports</uri>
                 <filename>imports/res/import-objectexit.res.xml</filename>
             </response>
         </test>
-        <test ID="deleteObjectExitSeparateRepo" auth="admin@lifesci.collectionspace.org">
+        <test ID="deleteObjectExitSeparateRepo" auth="admin@testsci.collectionspace.org">
             <expectedCodes>200</expectedCodes>
             <method>DELETE</method>
             <uri>/cspace-services/objectexit/${importObjectExitSeparateRepo.got("//csid")}</uri>
index b24705beee28709225bf121194b01e10d5b0069e..04c2eb72559f64e8ae7155f877bb487d523424a8 100644 (file)
@@ -3,7 +3,7 @@
     <auths>
         <!-- IMPORTANT: THESE ARE STICKY :: THEY STICK AROUND UNTIL RESET, IN EXEC ORDER OF THIS FILE. -->
         <auth ID="admin@core.collectionspace.org">YWRtaW5AY29yZS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
-        <auth ID="admin@lifesci.collectionspace.org">YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+        <auth ID="admin@testsci.collectionspace.org">YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
     </auths>
         
     <!-- This tests the UpdateObjectLocationOnMoveEventListener -->
     <!-- records are configured to be versioned. See CSPACE-6171 for more details. -->    
     <testGroup ID="updateObjectLocationOnMoveInVersioningEnabledTenant" autoDeletePOSTS="true">
 
-        <test ID="createCollectionObjectInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="createCollectionObjectInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/collectionobjects</uri>
             <filename>listener/collectionobject.xml</filename>
             <expectedCodes>201</expectedCodes>
         </test>
         
-        <test ID="createMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="createMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/movements</uri>
             <filename>listener/movement.xml</filename>
             <expectedCodes>201</expectedCodes>
         </test>
         
-        <test ID="relateCollectionObjectToMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="relateCollectionObjectToMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>POST</method>
             <uri>/cspace-services/relations</uri>
             <filename>listener/relation.xml</filename>
         <!-- See comment on updateMovement1 in the updateObjectLocationOnMoveEventListener -->
         <!-- test group for an explanation of why this update is needed, after -->
         <!-- creating a new relation -->
-        <test ID="updateMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="updateMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>PUT</method>
             <uri>/cspace-services/movements/${createMovementInVersioningTenant.CSID}</uri>
             <filename>listener/movement.xml</filename>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="readCollectionObjectAfterRelatingToMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="readCollectionObjectAfterRelatingToMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>GET</method>
             <uri>/cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID}</uri>
             <response>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="modifyMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="modifyMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>PUT</method>
             <uri>/cspace-services/movements/${createMovementInVersioningTenant.CSID}</uri>
             <filename>listener/movement.xml</filename>
             <expectedCodes>200</expectedCodes>
         </test>
         
-        <test ID="readCollectionObjectAfterModifyingMovementInVersioningTenant" auth="admin@lifesci.collectionspace.org">
+        <test ID="readCollectionObjectAfterModifyingMovementInVersioningTenant" auth="admin@testsci.collectionspace.org">
             <method>GET</method>
             <uri>/cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID}</uri>
             <response>
similarity index 96%
rename from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/res/lifesciPersonWithRelns.res.xml
rename to services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/res/testsciPersonWithRelns.res.xml
index d9661ff15e116da722a28b87bfa39c8c0a41e582..db871e5bd948efcd6a88ef7e506f111c5cad6452 100644 (file)
@@ -4,7 +4,7 @@
     <totalItems>1</totalItems>
     <!-- 
     This file represents the expected response from test case
-       lifesciperson.xml :: 
+       testsciperson.xml :: 
     These are the vars that are available from the time Person1 is created.
     Person1.CSID       ${Person1.CSID}
     Person2.CSID     ${Person2.CSID}
similarity index 87%
rename from services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/lifesciperson.xml
rename to services/IntegrationTests/src/test/resources/test-data/xmlreplay/person/testsciperson.xml
index 6f5136f65dd4d8a0899abfd3b17566d2aadb2a2c..3e0cf50b27e0cd1c6b4408aa0ee7aa0d5dbe3de0 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xmlReplay>
-  <!-- Authenticate into the lifesci tenant for extension testing -->
-  <auths default="admin@lifesci.collectionspace.org">
-    <auth ID="admin@lifesci.collectionspace.org"
-      >YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+  <!-- Authenticate into the testsci tenant for extension testing -->
+  <auths default="admin@testsci.collectionspace.org">
+    <auth ID="admin@testsci.collectionspace.org"
+      >YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
   </auths>
 
   <!-- 
@@ -11,7 +11,7 @@
     For now, use ID="updatePerson"
   -->
   <testGroup ID="person" autoDeletePOSTS="true">
-    <test ID="PersonAuth1" auth="admin@lifesci.collectionspace.org">
+    <test ID="PersonAuth1" auth="admin@testsci.collectionspace.org">
       <method>POST</method>
       <uri>/cspace-services/personauthorities/</uri>
       <filename>person/personauthorities_common.xml</filename>
@@ -22,7 +22,7 @@
     <test ID="Person1">
       <method>POST</method>
       <uri>/cspace-services/personauthorities/${PersonAuth1.CSID}/items/</uri>
-      <filename>person/persons_common_and_lifesci.xml</filename>
+      <filename>person/persons_common_and_testsci.xml</filename>
       <vars>
         <var ID="shortIdentifier">johnWayneActor1</var>
         <var ID="foreName">John</var>
@@ -33,7 +33,7 @@
     <test ID="Person2">
       <method>POST</method>
       <uri>/cspace-services/personauthorities/${PersonAuth1.CSID}/items/</uri>
-      <filename>person/persons_common_and_lifesci.xml</filename>
+      <filename>person/persons_common_and_testsci.xml</filename>
       <vars>
         <var ID="shortIdentifier">billyBob1</var>
         <var ID="foreName">Billy-Bob</var>
@@ -65,7 +65,7 @@
     <test ID="UpdatePerson2WithRelations">
       <method>PUT</method>
       <uri>/cspace-services/personauthorities/${PersonAuth1.CSID}/items/${Person2.CSID}</uri>
-      <filename>person/persons_common_and_lifesci_set_broader.xml</filename>
+      <filename>person/persons_common_and_testsci_set_broader.xml</filename>
       <vars>
         <var ID="shortIdentifier">billyBob1</var>
         <var ID="foreName">Billy-Bob</var>
@@ -82,8 +82,8 @@
       <uri>/cspace-services/personauthorities/${PersonAuth1.CSID}/items/${Person1.CSID}?showAllRelations=true</uri>
       <response>
         <expected level="ADDOK"/>
-        <filename>person/res/lifesciPersonWithRelns.res.xml</filename>
-        <!-- NOTE: vars are referenced in lifesciPersonWithRelns.res.xml
+        <filename>person/res/testsciPersonWithRelns.res.xml</filename>
+        <!-- NOTE: vars are referenced in testsciPersonWithRelns.res.xml
           from tests in this test group, e.g. 
           PersonParent.CSID :: ${PersonParent.CSID} 
           These vars are all in the expression context while this group is active,
@@ -99,8 +99,8 @@
       <uri>/cspace-services/personauthorities/${PersonAuth1.CSID}/items/${Person2.CSID}?showAllRelations=true</uri>
       <response>
         <expected level="ADDOK"/>
-        <filename>person/res/lifesciPersonWithRelns.res.xml</filename>
-        <!-- NOTE: vars are referenced in lifesciPersonWithRelns.res.xml
+        <filename>person/res/testsciPersonWithRelns.res.xml</filename>
+        <!-- NOTE: vars are referenced in testsciPersonWithRelns.res.xml
           from tests in this test group, e.g. 
           PersonParent.CSID :: ${PersonParent.CSID} 
           These vars are all in the expression context while this group is active,
index c8edb53f11c0a9f9447f235630f89a282e78d937..5d4201c0d57965f6ea04950ea28f2c5c7f9fdf6f 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xmlReplay>
-  <!-- Authenticate into the lifesci tenant. By default, versioning -->
+  <!-- Authenticate into the testsci tenant. By default, versioning -->
   <!-- support is exposed in the Location/Movement/Inventory service -->
   <!-- in that tenant. -->
-  <auths default="admin@lifesci.collectionspace.org">
-    <auth ID="admin@lifesci.collectionspace.org"
-      >YWRtaW5AbGlmZXNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
+  <auths default="admin@testsci.collectionspace.org">
+    <auth ID="admin@testsci.collectionspace.org"
+      >YWRtaW5AdGVzdHNjaS5jb2xsZWN0aW9uc3BhY2Uub3JnOkFkbWluaXN0cmF0b3I=</auth>
   </auths>
 
   <!-- Verifies that, by default: -->
@@ -13,7 +13,7 @@
   <!--   * Only the current version of a record is retrieved on a read request. -->
   <testGroup ID="VersionedRecordFiltering" autoDeletePOSTS="true">
   
-    <test ID="CreateMovement" auth="admin@lifesci.collectionspace.org">
+    <test ID="CreateMovement" auth="admin@testsci.collectionspace.org">
       <method>POST</method>
       <uri>/cspace-services/movements/</uri>
       <filename>versioning/movement.xml</filename>
@@ -34,7 +34,7 @@
       <uri>/cspace-services/movements</uri>
     </test>
     
-    <test ID="UpdateMovement" auth="admin@lifesci.collectionspace.org">
+    <test ID="UpdateMovement" auth="admin@testsci.collectionspace.org">
       <method>PUT</method>
       <uri>/cspace-services/movements/${CreateMovement.CSID}</uri>
       <filename>versioning/movement.xml</filename>
index 472295ea75e8e1b1f492f3d47174def0ef60a294..75cb8b86d83f3ff4143e77ab00055aad2fe391e8 100644 (file)
@@ -10,7 +10,7 @@ cspace.ssl=false
 cspace.auth=true
 # default user
 cspace.user=admin@core.collectionspace.org
-#cspace.user=admin@lifesci.collectionspace.org
+#cspace.user=admin@testsci.collectionspace.org
 cspace.password=Administrator
 # default tenant
 cspace.tenant=1
index 5e92cd25c034119a8f197764199405ba2ea67d02..41a27d3c1e04cae557049f5b1e51aa1007bbf853 100644 (file)
@@ -9,7 +9,7 @@
     <property environment="env" />
     <property file="${services.trunk}/build.properties" />
        <property name="nuxeo-platform-collectionobject" value="nuxeo-platform-cs-collectionobject"/>
-       <property name="nuxeo-platform-collectionobject-lifesci" value="nuxeo-platform-collectionobject-lifesci"/>
+       <property name="nuxeo-platform-collectionobject-testsci" value="nuxeo-platform-collectionobject-testsci"/>
     <property name="mvn.opts" value="-V" />
     <property name="src" location="src"/>
     <property name="build" location="build"/>
     description="deploy collectionobject in ${jee.server.nuxeo}">
        <!-- These targets are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool      
         <ant antfile="${nuxeo-platform-collectionobject}/build.xml" target="deploy" inheritall="false"/>
-        <ant antfile="${nuxeo-platform-collectionobject-lifesci}/build.xml" target="deploy" inheritall="false"/>
+        <ant antfile="${nuxeo-platform-collectionobject-testsci}/build.xml" target="deploy" inheritall="false"/>
         -->
     </target>
 
        <!-- These targets are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
        leaving this only for backwards compatibility reasons. -->      
         <ant antfile="${nuxeo-platform-collectionobject}/build.xml" target="undeploy" inheritall="false"/>
-        <ant antfile="${nuxeo-platform-collectionobject-lifesci}/build.xml" target="undeploy" inheritall="false"/>
+        <ant antfile="${nuxeo-platform-collectionobject-testsci}/build.xml" target="undeploy" inheritall="false"/>
     </target>
 
     <target name="dist"
     description="generate distribution for collectionobject" depends="package">
         <ant antfile="${nuxeo-platform-collectionobject}/build.xml" target="dist" inheritall="false"/>
-        <ant antfile="${nuxeo-platform-collectionobject-lifesci}/build.xml" target="dist" inheritall="false"/>
+        <ant antfile="${nuxeo-platform-collectionobject-testsci}/build.xml" target="dist" inheritall="false"/>
     </target>
 
     <target name="dist_installer"
     description="generate distribution for collectionobject" depends="package">
         <ant antfile="${nuxeo-platform-collectionobject}/build.xml" target="dist_installer" inheritall="false"/>
-        <ant antfile="${nuxeo-platform-collectionobject-lifesci}/build.xml" target="dist_installer" inheritall="false"/>
+        <ant antfile="${nuxeo-platform-collectionobject-testsci}/build.xml" target="dist_installer" inheritall="false"/>
     </target>
 
 </project>
similarity index 91%
rename from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/build.xml
rename to services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/build.xml
index 7d3705ba71211981b85e3f1ba6bab4abe9950e44..5650a2e8c811045e0a7a7303c6bc7dc23a77056e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="nuxeo-platform-collectionobject-lifesci" default="package" basedir=".">
+<project name="nuxeo-platform-collectionobject-testsci" default="package" basedir=".">
     <description>
-        Collectionobject nuxeo document type for the lifesci tenant
+        Collectionobject nuxeo document type for the testsci tenant
     </description>
     <!-- set global properties for this build -->
     <property name="services.trunk" value="../../../.."/>
     <!-- Legacy JAR files used by CollectionSpace 3.3 and earlier --> 
     <!-- Additional legacy JAR(s) are removed via the 'undeploy' target in the -->
     <!-- Ant buildfile for the common schema -->
-    <property name="nuxeo.collectionobject.lifesci.legacy.jars.all"
-        value="org.collectionspace.services.collectionobject.3rdparty.lifesci.nuxeo-*.jar"/>
-    <property name="nuxeo.collectionobject.lifesci.legacy.jar"
-        value="org.collectionspace.services.collectionobject.3rdparty.lifesci.nuxeo-${cspace.release}.jar"/>
+    <property name="nuxeo.collectionobject.testsci.legacy.jars.all"
+        value="org.collectionspace.services.collectionobject.3rdparty.testsci.nuxeo-*.jar"/>
+    <property name="nuxeo.collectionobject.testsci.legacy.jar"
+        value="org.collectionspace.services.collectionobject.3rdparty.testsci.nuxeo-${cspace.release}.jar"/>
     
     <condition property="osfamily-unix">
         <os family="unix" />
         description="deploy collectionobject doctype in ${jee.server.nuxeo}">
         <!-- This target is obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
         leaving this only for backwards compatibility reasons. -->  
-        <copy file="${basedir}/target/${nuxeo.collectionobject.lifesci.legacy.jar}"
+        <copy file="${basedir}/target/${nuxeo.collectionobject.testsci.legacy.jar}"
             todir="${jee.deploy.nuxeo.plugins}"/>
     </target>
 
             <!-- Additional legacy JAR(s) are removed via the 'undeploy' target in the -->
             <!-- Ant buildfile for the common schema -->
             <fileset dir="${jee.deploy.nuxeo.plugins}">
-                <include name="${nuxeo.collectionobject.lifesci.legacy.jars.all}"/>
+                <include name="${nuxeo.collectionobject.testsci.legacy.jars.all}"/>
             </fileset>
         </delete>
         <!-- Undeploy legacy artifacts from old deployment location through release 0.6 -->
         <delete quiet="true">
             <fileset dir="${jee.deploy.nuxeo.system}">
-                <include name="${nuxeo.collectionobject.lifesci.legacy.jars.all}"/>
+                <include name="${nuxeo.collectionobject.testsci.legacy.jars.all}"/>
             </fileset>
         </delete>
     </target>
     <target name="dist"
        description="generate distribution for collectionobject doctype" depends="package">
         <copy todir="${services.trunk}/${dist.deploy.nuxeo.plugins}">
-            <fileset file="${basedir}/target/${nuxeo.collectionobject.lifesci.legacy.jar}"/>
+            <fileset file="${basedir}/target/${nuxeo.collectionobject.testsci.legacy.jar}"/>
         </copy>
     </target>
 
     <target name="dist_installer"
        description="Creates an installer distribution for CollectionObject doctype" depends="package">
         <copy todir="${services.trunk}/${dist.installer.services}/collectionobject/nuxeo">
-            <fileset file="${basedir}/target/${nuxeo.collectionobject.lifesci.legacy.jar}"/>
+            <fileset file="${basedir}/target/${nuxeo.collectionobject.testsci.legacy.jar}"/>
         </copy>
     </target>
 </project>
similarity index 96%
rename from services/collectionobject/3rdparty/nuxeo-platform-collectionobject-lifesci/pom.xml
rename to services/collectionobject/3rdparty/nuxeo-platform-collectionobject-testsci/pom.xml
index a280be6bd7495c270a6c310f51c052710de5f875..631ef34957d2ce271ec10769a05904b0ab0d215d 100644 (file)
@@ -8,7 +8,7 @@
     </parent>
     
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.collectionspace.services.collectionobject.3rdparty.lifesci.nuxeo</artifactId>
+    <artifactId>org.collectionspace.services.collectionobject.3rdparty.testsci.nuxeo</artifactId>
     <packaging>jar</packaging>
     <description>
         CollectionObject Nuxeo document type for Tenant ID = "2"
@@ -17,7 +17,7 @@
        <properties>
                <CustomSchemaName>collectionobjects_naturalhistory</CustomSchemaName>
                <TenantId>2</TenantId>
-               <TenantLabel>lifesci</TenantLabel>
+               <TenantLabel>testsci</TenantLabel>
        </properties>
        
     <build>
index 76db2b9b752fd2fe06f0cda6484b537029ab7a5b..cf04d3441c502ee40594e3222771015d727d76a0 100644 (file)
@@ -27,7 +27,7 @@
     <modules>
         <!-- These modules are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
        <module>nuxeo-platform-cs-collectionobject</module>
-        <module>nuxeo-platform-collectionobject-lifesci</module>
+        <module>nuxeo-platform-collectionobject-testsci</module>
         -->
     </modules>
 
index b4f25469880b78351ce16b0099593da8e70810e6..00f7c864825155ba13290549a5e43805b3ced6c0 100644 (file)
@@ -8,7 +8,7 @@
                                within a term. If this value is set to 'false', searches will only find terms which begin with your search expression. However, 
                                even with a setting of 'false', you can manually add an asterisk (*) as a wildcard at the beginning of any search; e.g. "*atrick" 
                                (without quotes) will match the string "atrick" anywhere, not just at the beginning of a term. See the tenant-bindings.delta.xml 
-                               file for the 'lifesci' tenant, for examples of how to override this value, and other, similar values below, in your own tenant. -->
+                               file for the 'testsci' tenant, for examples of how to override this value, and other, similar values below, in your own tenant. -->
                        <types:item id="ptstartingwildcard" merge:matcher="skip" merge:action="insert" xmlns:types="http://collectionspace.org/services/config/types">
                                <types:key>ptStartingWildcard</types:key>
                                <types:value>true</types:value>
index 87a3be6d21136abaf3752740098efe903ca35be6..d585c8ca9633a7bebc4e1303a56685f6514a373f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <tenant:TenantBindingConfig xmlns:tenant="http://collectionspace.org/services/config/tenant" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/config/tenant http://collectionspace.org/services/config/tenant.xsd">
-  <tenant:tenantBinding id="2" name="lifesci.collectionspace.org" displayName="Default tenant Lifesci" version="0.1">
-    <tenant:repositoryDomain name="default-domain" storageName="lifesci_domain" repositoryClient="nuxeo-java" repositoryName="lifesci_domain" />
+  <tenant:tenantBinding id="2" name="testsci.collectionspace.org" displayName="Default tenant testsci" version="0.1">
+    <tenant:repositoryDomain name="default-domain" storageName="testsci_domain" repositoryClient="nuxeo-java" repositoryName="testsci_domain" />
     <tenant:properties>
       <types:item xmlns:types="http://collectionspace.org/services/config/types">
         <types:key>datePattern</types:key>
similarity index 87%
rename from services/common/src/main/cspace/config/services/tenants/lifesci/lifesci-tenant-bindings.delta.xml
rename to services/common/src/main/cspace/config/services/tenants/testsci/testsci-tenant-bindings.delta.xml
index 80db1ae6f4cbfd911ea3f7026942bdca2ee51cf0..48c55607323ad4d90eaf8409d0f7749a67cf9b96 100644 (file)
@@ -3,7 +3,7 @@
 
     <!-- Add your changes, if any, within the following tag pair. -->
     <!-- The value of the 'id' attribute, below, should match the corresponding -->
-    <!-- value in cspace/config/services/tenants/lifesci-tenant-bindings-proto.xml -->
+    <!-- value in cspace/config/services/tenants/testsci-tenant-bindings-proto.xml -->
     <!--
     <tenant:tenantBinding id="2">
     </tenant:tenantBinding>
index f54ea8aabc650add6555cbb3fe662f6d55401b92..3df7bb1e5edfee4949a34ed3cec8fd51695872c1 100644 (file)
     description="deploy person in ${jee.server.nuxeo}">
        <!-- These targets are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
         <ant antfile="nuxeo-platform-cs-person/build.xml" target="deploy" inheritall="false"/>
-        <ant antfile="nuxeo-platform-person-lifesci/build.xml" target="deploy" inheritall="false"/>
+        <ant antfile="nuxeo-platform-person-testsci/build.xml" target="deploy" inheritall="false"/>
         -->
     </target>
 
        <!-- These targets are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
        leaving this only for backwards compatibility reasons. -->
         <ant antfile="nuxeo-platform-cs-person/build.xml" target="undeploy" inheritall="false"/>
-        <ant antfile="nuxeo-platform-person-lifesci/build.xml" target="undeploy" inheritall="false"/>
+        <ant antfile="nuxeo-platform-person-testsci/build.xml" target="undeploy" inheritall="false"/>
     </target>
 
     <target name="dist"
     description="generate distribution for person" depends="package">
         <ant antfile="nuxeo-platform-cs-person/build.xml" target="dist" inheritall="false"/>
-        <ant antfile="nuxeo-platform-person-lifesci/build.xml" target="dist" inheritall="false"/>
+        <ant antfile="nuxeo-platform-person-testsci/build.xml" target="dist" inheritall="false"/>
     </target>
     
     <target name="dist_installer"
     description="generate distribution for collectionobject" depends="package">
         <ant antfile="nuxeo-platform-cs-person/build.xml" target="dist_installer" inheritall="false"/>
-        <ant antfile="nuxeo-platform-person-lifesci/build.xml" target="dist_installer" inheritall="false"/>
+        <ant antfile="nuxeo-platform-person-testsci/build.xml" target="dist_installer" inheritall="false"/>
     </target>
 
 </project>
similarity index 91%
rename from services/person/3rdparty/nuxeo-platform-person-lifesci/build.xml
rename to services/person/3rdparty/nuxeo-platform-person-testsci/build.xml
index f75f1305ce37b3334961dabed3f8358e141a6954..a3df2637ef6f65719251d87e8cc9efdd3327485c 100644 (file)
@@ -1,7 +1,7 @@
 
-<project name="nuxeo-platform-person-lifesci" default="package" basedir=".">
+<project name="nuxeo-platform-person-testsci" default="package" basedir=".">
     <description>
-        Person nuxeo document type for the lifesci tenant
+        Person nuxeo document type for the testsci tenant
     </description>
     <!-- set global properties for this build -->
     <property name="services.trunk" value="../../../.."/>
     <!-- Both doctype and schema JAR(s) are removed via the 'undeploy' target -->
     <!-- in another Ant buildfile, in a peer module to this module -->
     <!-- Legacy JAR files used by CollectionSpace 3.3 and earlier -->
-    <property name="nuxeo.person.lifesci.legacy.jars.all"
-        value="org.collectionspace.services.person.3rdparty.lifesci.nuxeo-*.jar"/>
-    <property name="nuxeo.person.lifesci.legacy.jar"
-        value="org.collectionspace.services.person.3rdparty.lifesci.nuxeo-${cspace.release}.jar"/>
+    <property name="nuxeo.person.testsci.legacy.jars.all"
+        value="org.collectionspace.services.person.3rdparty.testsci.nuxeo-*.jar"/>
+    <property name="nuxeo.person.testsci.legacy.jar"
+        value="org.collectionspace.services.person.3rdparty.testsci.nuxeo-${cspace.release}.jar"/>
 
     <condition property="osfamily-unix">
         <os family="unix" />
         description="deploy person doctype in ${jee.server.nuxeo}">
         <!-- This target is obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
         leaving this only for backwards compatibility reasons. -->  
-        <copy file="${basedir}/target/${nuxeo.person.lifesci.legacy.jar}"
+        <copy file="${basedir}/target/${nuxeo.person.testsci.legacy.jar}"
             todir="${jee.deploy.nuxeo.plugins}"/>
     </target>
 
             <!-- Additional legacy JAR(s) are removed via the 'undeploy' target in the -->
             <!-- Ant buildfile for the common schema -->
             <fileset dir="${jee.deploy.nuxeo.plugins}">
-                <include name="${nuxeo.person.lifesci.legacy.jars.all}"/>
+                <include name="${nuxeo.person.testsci.legacy.jars.all}"/>
             </fileset>
         </delete>
         <!-- Undeploy legacy artifacts from old deployment location through release 0.6 -->
         <delete quiet="true">
             <fileset dir="${jee.deploy.nuxeo.system}">
-                <include name="${nuxeo.person.lifesci.legacy.jars.all}"/>
+                <include name="${nuxeo.person.testsci.legacy.jars.all}"/>
             </fileset>
         </delete>
     </target>
similarity index 93%
rename from services/person/3rdparty/nuxeo-platform-person-lifesci/pom.xml
rename to services/person/3rdparty/nuxeo-platform-person-testsci/pom.xml
index 4ce930227a9d6f6341f8cf2e47c8059292172da2..cf6ae2c1a6c83e698b93fd5ad7462b3ef04bb6c3 100644 (file)
@@ -9,7 +9,7 @@
     
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.collectionspace.services</groupId>
-    <artifactId>org.collectionspace.services.person.3rdparty.lifesci.nuxeo</artifactId>
+    <artifactId>org.collectionspace.services.person.3rdparty.testsci.nuxeo</artifactId>
     <packaging>jar</packaging>
     <description>
         Person Nuxeo document type for Tenant ID = "2"
@@ -18,7 +18,7 @@
        <properties>
                <CustomSchemaName>persons_naturalhistory</CustomSchemaName>
                <TenantId>2</TenantId>
-               <TenantLabel>lifesci</TenantLabel>
+               <TenantLabel>testsci</TenantLabel>
        </properties>
        
     <build>
index f027fc9c263d33ba4abec3862f16f1333ca58daf..c74b497fd36331ff1aff2768c06f6039611ad010 100644 (file)
@@ -19,7 +19,7 @@
     <modules>
     <!-- These modules are obsolete.  The Nuxeo artifacts are now created and deployed using the "csmake" tool
         <module>nuxeo-platform-cs-person</module>
-        <module>nuxeo-platform-person-lifesci</module>
+        <module>nuxeo-platform-person-testsci</module>
         -->
     </modules>
 </project>
index 9cfb592b4e5aa302a8544d657ad129272a6a118d..fc4934f06147444bbb043bc63962e15a9ee7c274 100644 (file)
@@ -100,7 +100,7 @@ public class MultiTenancyTest extends BaseServiceTest<AbstractCommonList> {
     private final String CLASS_NAME = MultiTenancyTest.class.getName();
     private final Logger logger = LoggerFactory.getLogger(CLASS_NAME);
     private final static String TENANT_1_ADMIN_USER = "admin@core.collectionspace.org";
-    private final static String TENANT_2_ADMIN_USER = "admin@lifesci.collectionspace.org";
+    private final static String TENANT_2_ADMIN_USER = "admin@testsci.collectionspace.org";
     private final static String TENANT_ADMIN_PASS = "Administrator";
     private final static String TENANT_1_USER = "user1@museum1.org";
     private final static String TENANT_2_USER = "user2@museum2.org";
index dbe86dc7be420babd25dc249b94dbaad2e0d462d..dc924ca0dcfd041122cbea4067e82899fc4427fd 100644 (file)
@@ -2,5 +2,5 @@
 cspace.url=http://localhost:8180/cspace-services/
 cspace.ssl=false
 cspace.auth=true
-cspace.user=admin@lifesci.collectionspace.org
+cspace.user=admin@testsci.collectionspace.org
 cspace.password=Administrator