]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-3560 removing old templates now that imports format is updated, and creation...
authorLaramie Crocker <laramie@berkeley.edu>
Tue, 22 Mar 2011 17:14:25 +0000 (17:14 +0000)
committerLaramie Crocker <laramie@berkeley.edu>
Tue, 22 Mar 2011 17:14:25 +0000 (17:14 +0000)
services/imports/service/src/main/resources/templates/authority-request-naturalhistory.xml [deleted file]
services/imports/service/src/main/resources/templates/authority.xml [deleted file]
services/imports/service/src/main/resources/templates/person.xml [deleted file]
services/imports/service/src/main/resources/templates/personauthorities-part.xml [deleted file]
services/imports/service/src/main/resources/templates/personauthorities-workspace-document.xml [deleted file]
services/imports/service/src/main/resources/templates/workspace-document.xml [deleted file]
services/imports/service/src/test/resources/requests/authority-request.xml
services/imports/service/src/test/resources/requests/collectionobject-request.xml

diff --git a/services/imports/service/src/main/resources/templates/authority-request-naturalhistory.xml b/services/imports/service/src/main/resources/templates/authority-request-naturalhistory.xml
deleted file mode 100755 (executable)
index c234556..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<imports>\r
-    <import ID="1">\r
-        <schema xmlns:personauthorities_naturalhistory="http://collectionspace.org/personauthorities_naturalhistory/" name="personauthorities_naturalhistory">\r
-            <personauthorities_naturalhistory:nh-int/>\r
-            <personauthorities_naturalhistory:nh-note>In test-data</personauthorities_naturalhistory:nh-note>\r
-        </schema>\r
-        <schema xmlns:personauthorities_common="http://collectionspace.org/services/person" name="personauthorities_common">\r
-            <personauthorities_common:displayName>Perf Test Person Auth ${docID}</personauthorities_common:displayName>\r
-            <personauthorities_common:shortIdentifier>perfTestPersons-${docID}</personauthorities_common:shortIdentifier>\r
-            <personauthorities_common:vocabType>PersonAuthority</personauthorities_common:vocabType>\r
-            <personauthorities_common:refName>urn:cspace:collectionspace.org:Personauthorities(perfTestPersons)'Perf Test Person Auth'</personauthorities_common:refName>\r
-        </schema>\r
-    </import>\r
-    <import ID="2">\r
-        <schema xmlns:personauthorities_naturalhistory="http://collectionspace.org/personauthorities_naturalhistory/" name="personauthorities_naturalhistory">\r
-            <personauthorities_naturalhistory:nh-int/>\r
-            <personauthorities_naturalhistory:nh-note>In test-data</personauthorities_naturalhistory:nh-note>\r
-        </schema>\r
-        <schema xmlns:personauthorities_common="http://collectionspace.org/services/person" name="personauthorities_common">\r
-            <personauthorities_common:displayName>Perf Test Person Auth ${docID}</personauthorities_common:displayName>\r
-            <personauthorities_common:shortIdentifier>perfTestPersons-${docID}</personauthorities_common:shortIdentifier>\r
-            <personauthorities_common:vocabType>PersonAuthority</personauthorities_common:vocabType>\r
-            <personauthorities_common:refName>urn:cspace:collectionspace.org:Personauthorities(perfTestPersons)'Perf Test Person Auth'</personauthorities_common:refName>\r
-        </schema>\r
-    </import>\r
-</imports>
\ No newline at end of file
diff --git a/services/imports/service/src/main/resources/templates/authority.xml b/services/imports/service/src/main/resources/templates/authority.xml
deleted file mode 100755 (executable)
index 43ba4cf..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- this format assumes that the workspace documents and folders are in place:\r
-   ./Personauthorities/\r
-   ./Personauthorities/document.xml\r
-   ./Persons/\r
-   ./Persons/document.xml\r
--->   \r
-<document repository="default" id="${docID}">\r
-  <system>\r
-    <type>${ServiceType}</type>\r
-    <path>${ServiceName}/${docID}</path>\r
-    <lifecycle-state>undefined</lifecycle-state>\r
-    <lifecycle-policy>undefined</lifecycle-policy>\r
-    <access-control>\r
-      <acl name="inherited">\r
-        <entry principal="Administrator" permission="Everything" grant="true"/>\r
-        <entry principal="members" permission="Read" grant="true"/>\r
-      </acl>\r
-    </access-control>\r
-  </system>\r
-  <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore">\r
-    <dc:creator>Administrator</dc:creator>\r
-    <dc:contributors>\r
-      <item>Administrator</item>\r
-    </dc:contributors>\r
-    <dc:source/>\r
-    <dc:created>2011-03-05T00:06:17Z</dc:created>\r
-    <dc:description/>\r
-    <dc:rights/>\r
-    <dc:subjects/>\r
-    <dc:valid/>\r
-    <dc:format/>\r
-    <dc:issued/>\r
-    <dc:modified>2011-03-05T00:06:17Z</dc:modified>\r
-    <dc:language/>\r
-    <dc:expired/>\r
-    <dc:coverage/>\r
-    <dc:title/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/common/" name="common">\r
-    <icon/>\r
-    <icon-expanded/>\r
-    <size/>\r
-  </schema>\r
-  <schema xmlns:collectionspace_core="http://collectionspace.org/collectionspace_core/" name="collectionspace_core">\r
-    <collectionspace_core:updatedAt>2011-03-05T00:06:17Z</collectionspace_core:updatedAt>\r
-    <collectionspace_core:createdAt>2011-03-05T00:06:17Z</collectionspace_core:createdAt>\r
-    <collectionspace_core:tenantId>1</collectionspace_core:tenantId>\r
-  </schema>\r
-  ${Schema}\r
-</document>\r
-\r
diff --git a/services/imports/service/src/main/resources/templates/person.xml b/services/imports/service/src/main/resources/templates/person.xml
deleted file mode 100755 (executable)
index af03c07..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- this format assumes that the workspace documents and folders are in place:\r
-   ./Personauthorities/\r
-   ./Personauthorities/document.xml\r
-   ./Persons/\r
-   ./Persons/document.xml\r
--->   \r
-<document repository="default" id="${docID}">\r
-  <system>\r
-    <type>Person</type>\r
-    <path>Persons/${docID}</path>\r
-    <lifecycle-state>undefined</lifecycle-state>\r
-    <lifecycle-policy>undefined</lifecycle-policy>\r
-    <access-control>\r
-      <acl name="inherited">\r
-        <entry principal="Administrator" permission="Everything" grant="true"/>\r
-        <entry principal="members" permission="Read" grant="true"/>\r
-      </acl>\r
-    </access-control>\r
-  </system>\r
-  <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore">\r
-    <dc:creator>Administrator</dc:creator>\r
-    <dc:contributors>\r
-      <item>Administrator</item>\r
-    </dc:contributors>\r
-    <dc:source/>\r
-    <dc:created>2011-03-05T00:06:18Z</dc:created>\r
-    <dc:description/>\r
-    <dc:rights/>\r
-    <dc:subjects/>\r
-    <dc:valid/>\r
-    <dc:format/>\r
-    <dc:issued/>\r
-    <dc:modified>2011-03-05T00:06:18Z</dc:modified>\r
-    <dc:language/>\r
-    <dc:expired/>\r
-    <dc:coverage/>\r
-    <dc:title/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/common/" name="common">\r
-    <icon/>\r
-    <icon-expanded/>\r
-    <size/>\r
-  </schema>\r
-  <schema xmlns:collectionspace_core="http://collectionspace.org/collectionspace_core/" name="collectionspace_core">\r
-    <collectionspace_core:updatedAt>2011-03-05T00:06:18Z</collectionspace_core:updatedAt>\r
-    <collectionspace_core:createdAt>2011-03-05T00:06:18Z</collectionspace_core:createdAt>\r
-    <collectionspace_core:tenantId>1</collectionspace_core:tenantId>\r
-  </schema>\r
-  ${personsSchema}\r
-</document>\r
-\r
diff --git a/services/imports/service/src/main/resources/templates/personauthorities-part.xml b/services/imports/service/src/main/resources/templates/personauthorities-part.xml
deleted file mode 100755 (executable)
index fbff6ed..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-  <schema xmlns:personauthorities_common="http://collectionspace.org/services/person" name="personauthorities_common">\r
-    <personauthorities_common:displayName>Perf Test Person Auth ${docID}</personauthorities_common:displayName>\r
-    <personauthorities_common:shortIdentifier>perfTestPersons-${docID}</personauthorities_common:shortIdentifier>\r
-    <personauthorities_common:vocabType>PersonAuthority</personauthorities_common:vocabType>\r
-    <personauthorities_common:refName>urn:cspace:collectionspace.org:Personauthorities(perfTestPersons)'Perf Test Person Auth'</personauthorities_common:refName>\r
-  </schema>\r
-\r
diff --git a/services/imports/service/src/main/resources/templates/personauthorities-workspace-document.xml b/services/imports/service/src/main/resources/templates/personauthorities-workspace-document.xml
deleted file mode 100755 (executable)
index 8e9a268..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<document repository="default" id="0743566a-fafa-46ba-bc3d-03ede35254ed">\r
-  <system>\r
-    <type>Workspace</type>\r
-    <path>${ServiceName}</path>\r
-    <lifecycle-state>project</lifecycle-state>\r
-    <lifecycle-policy>default</lifecycle-policy>\r
-    <access-control>\r
-      <acl name="inherited">\r
-        <entry principal="Administrator" permission="Everything" grant="true"/>\r
-        <entry principal="members" permission="Read" grant="true"/>\r
-      </acl>\r
-    </access-control>\r
-  </system>\r
-  <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore">\r
-    <dc:creator>Administrator</dc:creator>\r
-    <dc:contributors>\r
-      <item>Administrator</item>\r
-    </dc:contributors>\r
-    <dc:source/>\r
-    <dc:created>2011-03-04T23:51:05Z</dc:created>\r
-    <dc:description>A CollectionSpace workspace for ${ServiceName}</dc:description>\r
-    <dc:rights/>\r
-    <dc:subjects/>\r
-    <dc:valid/>\r
-    <dc:format/>\r
-    <dc:issued/>\r
-    <dc:modified>2011-03-04T23:51:05Z</dc:modified>\r
-    <dc:language/>\r
-    <dc:expired/>\r
-    <dc:coverage/>\r
-    <dc:title>${ServiceName}</dc:title>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/files/" name="files">\r
-    <files/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/common/" name="common">\r
-    <icon>/icons/workspace.gif</icon>\r
-    <icon-expanded/>\r
-    <size/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/file/" name="file">\r
-    <content/>\r
-    <filename/>\r
-  </schema>\r
-  <schema xmlns:webc="http://www.nuxeo.org/ecm/schemas/webcontainer/" name="webcontainer">\r
-    <webc:useCaptcha/>\r
-    <webc:welcomeText/>\r
-    <webc:welcomeMedia/>\r
-    <webc:theme>sites</webc:theme>\r
-    <webc:isWebContainer/>\r
-    <webc:baseline/>\r
-    <webc:template/>\r
-    <webc:logo/>\r
-    <webc:themePerspective/>\r
-    <webc:themePage>workspace</webc:themePage>\r
-    <webc:name>${ServiceName}</webc:name>\r
-    <webc:moderationType>aposteriori</webc:moderationType>\r
-    <webc:url>${ServiceName}</webc:url>\r
-    <webc:email/>\r
-  </schema>\r
-  <schema xmlns:publish="http://www.nuxeo.org/ecm/schemas/publishing/" name="publishing">\r
-    <publish:sections/>\r
-  </schema>\r
-</document>\r
-\r
diff --git a/services/imports/service/src/main/resources/templates/workspace-document.xml b/services/imports/service/src/main/resources/templates/workspace-document.xml
deleted file mode 100755 (executable)
index 8e9a268..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<document repository="default" id="0743566a-fafa-46ba-bc3d-03ede35254ed">\r
-  <system>\r
-    <type>Workspace</type>\r
-    <path>${ServiceName}</path>\r
-    <lifecycle-state>project</lifecycle-state>\r
-    <lifecycle-policy>default</lifecycle-policy>\r
-    <access-control>\r
-      <acl name="inherited">\r
-        <entry principal="Administrator" permission="Everything" grant="true"/>\r
-        <entry principal="members" permission="Read" grant="true"/>\r
-      </acl>\r
-    </access-control>\r
-  </system>\r
-  <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore">\r
-    <dc:creator>Administrator</dc:creator>\r
-    <dc:contributors>\r
-      <item>Administrator</item>\r
-    </dc:contributors>\r
-    <dc:source/>\r
-    <dc:created>2011-03-04T23:51:05Z</dc:created>\r
-    <dc:description>A CollectionSpace workspace for ${ServiceName}</dc:description>\r
-    <dc:rights/>\r
-    <dc:subjects/>\r
-    <dc:valid/>\r
-    <dc:format/>\r
-    <dc:issued/>\r
-    <dc:modified>2011-03-04T23:51:05Z</dc:modified>\r
-    <dc:language/>\r
-    <dc:expired/>\r
-    <dc:coverage/>\r
-    <dc:title>${ServiceName}</dc:title>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/files/" name="files">\r
-    <files/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/common/" name="common">\r
-    <icon>/icons/workspace.gif</icon>\r
-    <icon-expanded/>\r
-    <size/>\r
-  </schema>\r
-  <schema xmlns="http://www.nuxeo.org/ecm/schemas/file/" name="file">\r
-    <content/>\r
-    <filename/>\r
-  </schema>\r
-  <schema xmlns:webc="http://www.nuxeo.org/ecm/schemas/webcontainer/" name="webcontainer">\r
-    <webc:useCaptcha/>\r
-    <webc:welcomeText/>\r
-    <webc:welcomeMedia/>\r
-    <webc:theme>sites</webc:theme>\r
-    <webc:isWebContainer/>\r
-    <webc:baseline/>\r
-    <webc:template/>\r
-    <webc:logo/>\r
-    <webc:themePerspective/>\r
-    <webc:themePage>workspace</webc:themePage>\r
-    <webc:name>${ServiceName}</webc:name>\r
-    <webc:moderationType>aposteriori</webc:moderationType>\r
-    <webc:url>${ServiceName}</webc:url>\r
-    <webc:email/>\r
-  </schema>\r
-  <schema xmlns:publish="http://www.nuxeo.org/ecm/schemas/publishing/" name="publishing">\r
-    <publish:sections/>\r
-  </schema>\r
-</document>\r
-\r
index 682ad9f5c3f14b9ee4e0c9ddd0576feba770c073..800e073e80484f99a1d54040fdef525cc4327f3e 100755 (executable)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <imports>\r
-    <import ID="0" workspace="Personauthorities" />\r
-    <import ID="1" service="Personauthorities" type="Personauthority">\r
+    <import seq="1" service="Personauthorities" type="Personauthority">\r
         <schema xmlns:personauthorities_common="http://collectionspace.org/services/person" name="personauthorities_common">\r
             <personauthorities_common:displayName>Perf Test Person Auth ${docID}</personauthorities_common:displayName>\r
             <personauthorities_common:shortIdentifier>perfTestPersons-${docID}</personauthorities_common:shortIdentifier>\r
@@ -9,7 +8,7 @@
             <personauthorities_common:refName>urn:cspace:collectionspace.org:Personauthorities(perfTestPersons)'Perf Test Person Auth'</personauthorities_common:refName>\r
         </schema>\r
     </import>\r
-    <import ID="2" service="Personauthorities" type="Personauthority" CSID="11111111-2222-3333-4444-123456789012">\r
+    <import seq="2" service="Personauthorities" type="Personauthority" CSID="11111111-2222-3333-4444-123456789012">\r
         <schema xmlns:personauthorities_common="http://collectionspace.org/services/person" name="personauthorities_common">\r
             <personauthorities_common:displayName>Perf Test Person Auth ${docID}</personauthorities_common:displayName>\r
             <personauthorities_common:shortIdentifier>perfTestPersons-${docID}</personauthorities_common:shortIdentifier>\r
index 1906410c106be8a52f00286cc9b6621a7af578a2..9e9a62ba1c8db118f53c0f9010d2d70edb8fed9a 100755 (executable)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <imports>\r
-    <import ID="0" workspace="CollectionObjects" />\r
-    <import ID="1" service="CollectionObjects" type="CollectionObject">\r
+    <import seq="1" service="CollectionObjects" type="CollectionObject">\r
         <schema xmlns:collectionobjects_naturalhistory="http://collectionspace.org/collectionobject/" name="collectionobjects_naturalhistory">\r
             <collectionobjects_naturalhistory:nh-int/>\r
             <collectionobjects_naturalhistory:nh-note/>\r