<?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>
<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>
<?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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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}
<?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>
<!--
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>
<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>
<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>
<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>
<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,
<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,
<?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: -->
<!-- * 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>
<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>
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
<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>
<?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>
</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"
<properties>
<CustomSchemaName>collectionobjects_naturalhistory</CustomSchemaName>
<TenantId>2</TenantId>
- <TenantLabel>lifesci</TenantLabel>
+ <TenantLabel>testsci</TenantLabel>
</properties>
<build>
<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>
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>
<?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>
<!-- 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>
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>
-<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>
<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"
<properties>
<CustomSchemaName>persons_naturalhistory</CustomSchemaName>
<TenantId>2</TenantId>
- <TenantLabel>lifesci</TenantLabel>
+ <TenantLabel>testsci</TenantLabel>
</properties>
<build>
<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>
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";
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