]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-2666 adding payload files
authorLaramie Crocker <laramie@berkeley.edu>
Wed, 17 Nov 2010 22:34:16 +0000 (22:34 +0000)
committerLaramie Crocker <laramie@berkeley.edu>
Wed, 17 Nov 2010 22:34:16 +0000 (22:34 +0000)
19 files changed:
services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java
services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension-master.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/dump-std-service-tests.txt [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/object-exit.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe1.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe11.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe13.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe15.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe2.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe23.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe3.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe4.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe5.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe6.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe8.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe9.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectext/xml-replay-config.xml [deleted file]

index f6f7c91646871db620dbd8b8f73e0c9ff6e69d57..33f996b64c4aebe8348047dcd71a2551aa0ad091 100755 (executable)
@@ -349,7 +349,8 @@ public class XmlReplay {
         try {\r
             document = reader.read(xmlFileName);\r
         } catch (DocumentException e) {\r
-            //e.printStackTrace();\r
+            System.out.println("ERROR reading document: "+e);\r
+            e.printStackTrace();\r
         }\r
         return document;\r
     }\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml
new file mode 100644 (file)
index 0000000..fe48894
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<xmlReplayMaster>\r
+<!-- Use this file to drive local testing.  Check it in or don't ... no automated tests should reference this file. -->\r
+    <protoHostPort>http://localhost:8180</protoHostPort>\r
+    \r
+    <!-- legal values for dumpServiceResult=[minimal,detailed,full] -->\r
+    <dump payloads="false" dumpServiceResult="minimal" />\r
+    \r
+    <auths default="test">\r
+       <auth ID="test">dGVzdDp0ZXN0</auth>\r
+    </auths>\r
+\r
+\r
+    <run controlFile="objectexit/object-exit.xml" testGroup="CRUDL" />\r
+    \r
+\r
+</xmlReplayMaster>\r
+\r
index a5a7750b615d8c57f58abbe29bca2bd3991d8d11..0df0d28acddc67d58c9fc7bb6701c22f586e1801 100755 (executable)
     </auths>\r
 \r
     \r
+    <!--\r
     <run controlFile="./dimension.xml" testGroup="dimensionTestGroup" />\r
+    -->\r
+\r
+    <run controlFile="./dimension.xml" testGroup="dimensionCRUDGroup" />\r
+\r
     \r
 </xmlReplayMaster>\r
 \r
index c0c3fc6f135a448aa22c12780c2b63ed07296d7b..224859204632118a4f6b261500d2c7bbf17f55bf 100755 (executable)
 \r
         \r
     </testGroup>\r
+\r
+    <testGroup ID="dimensionCRUDGroup" autoDeletePOSTS="true">\r
+         <!-- should succeed on auth="test" since test is admin user. -->\r
+         <test ID="dimPOST"  auth="test">\r
+             <!-- actually, this one should succeed since "test" is admin, but it fails now. -->\r
+             <expectedCodes>201</expectedCodes>\r
+             <method>POST</method>\r
+             <uri>/cspace-services/dimensions/</uri>\r
+             <part>\r
+                 <label>dimensions_common</label>\r
+                 <filename>dimension/1.xml</filename>\r
+             </part>\r
+         </test>\r
+\r
+        <test ID="dimGET"  auth="test">\r
+            <!-- actually, this one should succeed since "test" is admin, but it fails now. -->\r
+            <method>GET</method>\r
+            <uri>/cspace-services/dimensions/${dimPOST.CSID}</uri>\r
+        </test>\r
+\r
+        <test ID="dimPUT"  auth="test">\r
+            <method>PUT</method>\r
+            <uri>/cspace-services/dimensions/${dimPOST.CSID}</uri>\r
+            <part>\r
+                <label>dimensions_common</label>\r
+                <filename>dimension/2-put.xml</filename>\r
+            </part>\r
+        </test>\r
+\r
+        <test ID="dimGET2"  auth="test">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/dimensions/${dimPOST.CSID}</uri>\r
+        </test>\r
+\r
+\r
+     </testGroup>\r
+\r
 </xmlReplay>\r
         \r
         
\ No newline at end of file
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/dump-std-service-tests.txt b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/dump-std-service-tests.txt
new file mode 100644 (file)
index 0000000..95494f5
--- /dev/null
@@ -0,0 +1,792 @@
+======== oe1
+
+POST /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=95109d0e-0a73-427b-b504-8d34fe9cc4b1
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 565
+
+--95109d0e-0a73-427b-b504-8d34fe9cc4b1
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026472360</exitNumber></ns2:objectexit_common>
+--95109d0e-0a73-427b-b504-8d34fe9cc4b1--
+
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/objectexit/${oe1.CSID}
+Set-Cookie: JSESSIONID=0D95D475BD20A8BF0819E365E2BEACF0; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:12 GMT
+
+======== oe2
+GET /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=6F986605121E80118EB5BC4A02983F44; Path=/
+Content-Type: multipart/mixed; boundary=e52df003-dfc3-47ad-af38-8274b383938c
+Content-Length: 696
+Date: Wed, 17 Nov 2010 20:41:12 GMT
+
+--e52df003-dfc3-47ad-af38-8274b383938c
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">
+<exitNumber>objectexitNumber-1290026472360</exitNumber>
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>
+</ns2:objectexit_common>
+
+--e52df003-dfc3-47ad-af38-8274b383938c--
+
+======== oe3
+
+POST /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=e06d4476-22bc-4c76-b715-c8bab4e6a0eb
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 565
+
+--e06d4476-22bc-4c76-b715-c8bab4e6a0eb
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473391</exitNumber></ns2:objectexit_common>
+--e06d4476-22bc-4c76-b715-c8bab4e6a0eb--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/objectexit/${oe3.CSID}
+Set-Cookie: JSESSIONID=ED99F25DE8919EECFCCA46867914635C; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:12 GMT
+
+======== oe4
+POST /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=09c91a11-de7b-4183-a1c6-1e17f15a4349
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 565
+
+--09c91a11-de7b-4183-a1c6-1e17f15a4349
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473626</exitNumber></ns2:objectexit_common>
+--09c91a11-de7b-4183-a1c6-1e17f15a4349--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/objectexit/${oe4.CSID}
+Set-Cookie: JSESSIONID=CB777B7BD098E310CD731CFC9F582208; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:12 GMT
+
+======== oe5
+
+POST /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=6af5cd15-2735-4378-b16e-00db9e8e4398
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 565
+
+--6af5cd15-2735-4378-b16e-00db9e8e4398
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473860</exitNumber></ns2:objectexit_common>
+--6af5cd15-2735-4378-b16e-00db9e8e4398--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/objectexit/${oe5.CSID}
+Set-Cookie: JSESSIONID=1F2D32B5EB70119A0ABFF7D10BBEBF00; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+======== oe6
+GET /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=FE5B4A7097D26C95D875ACAB3EBB646D; Path=/
+Content-Type: application/xml
+Content-Length: 1176
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>4</itemsInPage><totalItems>4</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473391</exitNumber><uri>/objectexit/${oe3.CSID}</uri><csid>${oe3.CSID}</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026473626</exitNumber><uri>/objectexit/${oe4.CSID}</uri><csid>${oe4.CSID}</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026473860</exitNumber><uri>/objectexit/${oe5.CSID}</uri><csid>${oe5.CSID}</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026472360</exitNumber><uri>/objectexit/${oe1.CSID}</uri><csid>${oe1.CSID}</csid></objectexit_list_item></ns2:objectexit_common_list>
+
+======== oe7
+GET /cspace-services/objectexit/9223372036854775807 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 404 Not Found
+Server: Apache-Coyote/1.1
+Set-Cookie: JSESSIONID=A8D371B125EF13189E82D94B69A6DA10; Path=/
+Content-Type: text/plain
+Content-Length: 108
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+Read request failed:  on org.collectionspace.services.objectexit.ObjectExitResource csid=9223372036854775807
+
+======== oe8
+GET /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=2DDA7D892A19F66617ED0A102BF0251F; Path=/
+Content-Type: multipart/mixed; boundary=33518b91-2dd8-49b5-aaa3-b62d69afbc5e
+Content-Length: 696
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+--33518b91-2dd8-49b5-aaa3-b62d69afbc5e
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">
+<exitNumber>objectexitNumber-1290026472360</exitNumber>
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>
+</ns2:objectexit_common>
+
+--33518b91-2dd8-49b5-aaa3-b62d69afbc5e--
+
+======== oe9
+POST /cspace-services/personauthorities/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=29b0ab9b-bace-400f-8d79-d2942c0ef373
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 631
+
+--29b0ab9b-bace-400f-8d79-d2942c0ef373
+label: personauthorities_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:personauthorities_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><displayName>ObjectexitPersonAuth</displayName><shortIdentifier>ObjectexitPersonAuth</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth'</refName><vocabType>PersonAuthority</vocabType></ns2:personauthorities_common>
+--29b0ab9b-bace-400f-8d79-d2942c0ef373--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/personauthorities/${oe9.CSID}
+Set-Cookie: JSESSIONID=F14CB81349A9521CA4BA8B94B80A0E22; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+======== oe10
+GET /cspace-services/personauthorities/${oe9.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=1B5DD74155F06F53DB16E17E53A5F3BC; Path=/
+Content-Type: multipart/mixed; boundary=cff38d51-a45b-4527-a17d-d363191ca7ab
+Content-Length: 803
+Date: Wed, 17 Nov 2010 20:41:14 GMT
+
+--cff38d51-a45b-4527-a17d-d363191ca7ab
+label: personauthorities_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:personauthorities_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/person http://services.collectionspace.org/person/personauthorities_common.xsd">
+<shortIdentifier>ObjectexitPersonAuth</shortIdentifier>
+<refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth'</refName>
+<csid>${oe9.CSID}</csid>
+<displayName>ObjectexitPersonAuth</displayName>
+<vocabType>PersonAuthority</vocabType>
+</ns2:personauthorities_common>
+
+--cff38d51-a45b-4527-a17d-d363191ca7ab--
+
+
+======== oe11
+POST /cspace-services/personauthorities/${oe9.CSID}/items/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=9a9bbb94-3dbc-493a-93bb-74e3f792c24d
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 745
+
+--9a9bbb94-3dbc-493a-93bb-74e3f792c24d
+label: persons_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><inAuthority>${oe9.CSID}</inAuthority><shortIdentifier>owenCurOwner</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner)</refName><displayNameComputed>true</displayNameComputed><shortDisplayNameComputed>true</shortDisplayNameComputed><foreName>Owen the Cur</foreName><surName>Owner</surName></ns2:persons_common>
+--9a9bbb94-3dbc-493a-93bb-74e3f792c24d--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID}
+Set-Cookie: JSESSIONID=71F795AAF4F6F403B222DB5FB42D5789; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+======== oe12
+GET /cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=4F9B2572AC16F5B471EF068B36133F24; Path=/
+Content-Type: multipart/mixed; boundary=74a0fd49-2bb5-46dd-9f76-9057e2d59b62
+Content-Length: 1082
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+--74a0fd49-2bb5-46dd-9f76-9057e2d59b62
+label: persons_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/person http://services.collectionspace.org/person/persons_common.xsd">
+<surName>Owner</surName>
+<nationalities/>
+<shortIdentifier>owenCurOwner</shortIdentifier>
+<shortDisplayName>Owen the Cur Owner</shortDisplayName>
+<schoolsOrStyles/>
+<foreName>Owen the Cur</foreName>
+<groups/>
+<occupations/>
+<displayNameComputed>true</displayNameComputed>
+<csid>${oe11.CSID}</csid>
+<shortDisplayNameComputed>true</shortDisplayNameComputed>
+<inAuthority>${oe9.CSID}</inAuthority>
+<refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner)</refName>
+<displayName>Owen the Cur Owner</displayName>
+</ns2:persons_common>
+
+--74a0fd49-2bb5-46dd-9f76-9057e2d59b62--
+
+======== oe13
+POST /cspace-services/personauthorities/${oe9.CSID}/items/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=d32d9c8b-21be-47bf-bce9-2484a4504760
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 758
+
+--d32d9c8b-21be-47bf-bce9-2484a4504760
+label: persons_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><inAuthority>${oe9.CSID}</inAuthority><shortIdentifier>davenportDepositor</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</refName><displayNameComputed>true</displayNameComputed><shortDisplayNameComputed>true</shortDisplayNameComputed><foreName>Davenport</foreName><surName>Depositor</surName></ns2:persons_common>
+--d32d9c8b-21be-47bf-bce9-2484a4504760--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/personauthorities/${oe9.CSID}/items/${oe13.CSID}
+Set-Cookie: JSESSIONID=57428CBB795F309B69DD763783FA8B97; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+======== oe14
+GET /cspace-services/personauthorities/${oe9.CSID}/items/${oe13.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=420FFE6C806EFAD5EEFD858BF24E4038; Path=/
+Content-Type: multipart/mixed; boundary=2b0d244d-ed3b-4266-a924-098448116026
+Content-Length: 1097
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+--2b0d244d-ed3b-4266-a924-098448116026
+label: persons_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/person http://services.collectionspace.org/person/persons_common.xsd">
+<surName>Depositor</surName>
+<nationalities/>
+<shortIdentifier>davenportDepositor</shortIdentifier>
+<shortDisplayName>Davenport Depositor</shortDisplayName>
+<schoolsOrStyles/>
+<foreName>Davenport</foreName>
+<groups/>
+<occupations/>
+<displayNameComputed>true</displayNameComputed>
+<csid>${oe13.CSID}</csid>
+<shortDisplayNameComputed>true</shortDisplayNameComputed>
+<inAuthority>${oe9.CSID}</inAuthority>
+<refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</refName>
+<displayName>Davenport Depositor</displayName>
+</ns2:persons_common>
+
+--2b0d244d-ed3b-4266-a924-098448116026--
+
+
+======== oe15
+POST /cspace-services/objectexit/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=273986a9-962e-412c-a576-2053157b992c
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 602
+
+--273986a9-962e-412c-a576-2053157b992c
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</depositor><exitDate>exitDate-1290026474563</exitDate><exitNumber>exitNumber-1290026474563</exitNumber></ns2:objectexit_common>
+--273986a9-962e-412c-a576-2053157b992c--
+HTTP/1.1 201 Created
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Location: http://localhost:8280/cspace-services/objectexit/${oe15.CSID}
+Set-Cookie: JSESSIONID=0E7CB5149F40401464EA40FF9ACE4B76; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+======== oe16
+GET /cspace-services/objectexit/${oe15.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=EAF02B50AE4FE2B2049862509C70AC82; Path=/
+Content-Type: multipart/mixed; boundary=323db230-9e89-4c61-ad78-df3888cb2a24
+Content-Length: 735
+Date: Wed, 17 Nov 2010 20:41:15 GMT
+
+--323db230-9e89-4c61-ad78-df3888cb2a24
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">
+<exitDate>exitDate-1290026474563</exitDate>
+<exitNumber>exitNumber-1290026474563</exitNumber>
+<depositor>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</depositor>
+</ns2:objectexit_common>
+
+--323db230-9e89-4c61-ad78-df3888cb2a24--
+
+======== oe17
+GET /cspace-services/objectexit/${oe15.CSID}/authorityrefs/ HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=EAF02B50AE4FE2B2049862509C70AC82; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Type: application/xml
+Content-Length: 732
+Date: Wed, 17 Nov 2010 20:41:16 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns3:authority-ref-list xmlns:ns2="http://collectionspace.org/services/jaxb" xmlns:ns3="http://collectionspace.org/services/common/authorityref"><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>1</itemsInPage><totalItems>1</totalItems><authority-ref-item><sourceField>objectexit_common:depositor</sourceField><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</refName><authDisplayName>ObjectexitPersonAuth</authDisplayName><uri>/personauthorities/urn:cspace:name(ObjectexitPersonAuth)/items/urn:cspace:name(davenportDepositor)</uri></authority-ref-item></ns3:authority-ref-list>
+
+======== oe18
+DELETE /cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=BED65C154222FD06E833B9349D96914C; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:16 GMT
+
+======== oe19
+DELETE /cspace-services/personauthorities/${oe9.CSID}/items/${oe13.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=BED65C154222FD06E833B9349D96914C; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:16 GMT
+
+======== oe20
+DELETE /cspace-services/personauthorities/${oe9.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=BED65C154222FD06E833B9349D96914C; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:16 GMT
+
+======== oe21
+DELETE /cspace-services/objectexit/${oe15.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=B313F52A28802B5E71964AA08889FE48; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:16 GMT
+
+======== oe22
+GET /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=547BE78D120918848DD5EF019448A30D; Path=/
+Content-Type: multipart/mixed; boundary=6a92c52e-0fab-4b08-800d-6351bff85e47
+Content-Length: 696
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+--6a92c52e-0fab-4b08-800d-6351bff85e47
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">
+<exitNumber>objectexitNumber-1290026472360</exitNumber>
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>
+</ns2:objectexit_common>
+
+--6a92c52e-0fab-4b08-800d-6351bff85e47--
+
+
+======== oe23
+PUT /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=f0a8c80d-55a3-4e80-8455-30afc3b0fd88
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=547BE78D120918848DD5EF019448A30D; $Path=/
+Content-Length: 573
+
+--f0a8c80d-55a3-4e80-8455-30afc3b0fd88
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>updated-objectexitNumber-1290026472360</exitNumber></ns2:objectexit_common>
+--f0a8c80d-55a3-4e80-8455-30afc3b0fd88--
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Type: multipart/mixed; boundary=d780d765-8f33-4cea-aca9-4b067dd54904
+Content-Length: 704
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+--d780d765-8f33-4cea-aca9-4b067dd54904
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">
+<exitNumber>updated-objectexitNumber-1290026472360</exitNumber>
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>
+</ns2:objectexit_common>
+
+--d780d765-8f33-4cea-aca9-4b067dd54904--
+
+
+======== oe24
+DELETE /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=79F2803D76A09EFA3CFA17AD80DAB85C; Path=/
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+======== oe25
+DELETE /cspace-services/objectexit/9223372036854775807 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 404 Not Found
+Server: Apache-Coyote/1.1
+Set-Cookie: JSESSIONID=D29FC1A1070DE8340567B38066D7EA23; Path=/
+Content-Type: text/plain
+Content-Length: 110
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+Delete request failed:  on org.collectionspace.services.objectexit.ObjectExitResource csid=9223372036854775807
+
+
+======== oe26
+PUT /cspace-services/objectexit/9223372036854775807 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+content-type: multipart/mixed; boundary=28e8b34c-d7a0-49f1-b395-fcf98688fe9a
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Content-Length: 571
+
+--28e8b34c-d7a0-49f1-b395-fcf98688fe9a
+label: objectexit_common
+Content-Type: application/xml
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-9223372036854775807</exitNumber></ns2:objectexit_common>
+--28e8b34c-d7a0-49f1-b395-fcf98688fe9a--
+
+HTTP/1.1 404 Not Found
+Server: Apache-Coyote/1.1
+Set-Cookie: JSESSIONID=53D7107A81ACCB36184372922800B942; Path=/
+Content-Type: text/plain
+Content-Length: 110
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+Update request failed:  on org.collectionspace.services.objectexit.ObjectExitResource csid=9223372036854775807
+
+======== oe27
+GET /cspace-services/objectexit/?sortBy=&pgNum=0&pgSz=1 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Set-Cookie: JSESSIONID=30815B258FC0BC268BA2CE0EF3786DE2; Path=/
+Content-Type: application/xml
+Content-Length: 629
+Date: Wed, 17 Nov 2010 20:41:17 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>0</pageNum><pageSize>1</pageSize><itemsInPage>1</itemsInPage><totalItems>3</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473391</exitNumber><uri>/objectexit/${oe3.CSID}</uri><csid>${oe3.CSID}</csid></objectexit_list_item></ns2:objectexit_common_list>
+
+======== oe28
+GET /cspace-services/objectexit/?sortBy=&pgNum=0&pgSz=1 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=30815B258FC0BC268BA2CE0EF3786DE2; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Type: application/xml
+Content-Length: 629
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>0</pageNum><pageSize>1</pageSize><itemsInPage>1</itemsInPage><totalItems>3</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473391</exitNumber><uri>/objectexit/${oe3.CSID}</uri><csid>${oe3.CSID}</csid></objectexit_list_item></ns2:objectexit_common_list>
+
+======== oe29
+GET /cspace-services/objectexit/?sortBy=&pgNum=1&pgSz=1 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=30815B258FC0BC268BA2CE0EF3786DE2; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Type: application/xml
+Content-Length: 629
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>1</pageNum><pageSize>1</pageSize><itemsInPage>1</itemsInPage><totalItems>3</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473626</exitNumber><uri>/objectexit/${oe4.CSID}</uri><csid>${oe4.CSID}</csid></objectexit_list_item></ns2:objectexit_common_list>
+
+======== oe30
+GET /cspace-services/objectexit/?sortBy=&pgNum=2&pgSz=1 HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: application/xml
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=30815B258FC0BC268BA2CE0EF3786DE2; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Type: application/xml
+Content-Length: 629
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>2</pageNum><pageSize>1</pageSize><itemsInPage>1</itemsInPage><totalItems>3</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473860</exitNumber><uri>/objectexit/${oe5.CSID}</uri><csid>${oe5.CSID}</csid></objectexit_list_item></ns2:objectexit_common_list>
+
+
+======== oe31
+DELETE /cspace-services/objectexit/${oe1.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+
+
+HTTP/1.1 404 Not Found
+Server: Apache-Coyote/1.1
+Set-Cookie: JSESSIONID=DAFA3BA307CC8CB35DB8882CDA24E2EE; Path=/
+Content-Type: text/plain
+Content-Length: 114
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+Delete request failed:  on org.collectionspace.services.objectexit.ObjectExitResource csid=${oe1.CSID}
+
+
+======== oe32
+DELETE /cspace-services/objectexit/${oe3.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=DAFA3BA307CC8CB35DB8882CDA24E2EE; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+======== oe33
+DELETE /cspace-services/objectexit/${oe4.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=DAFA3BA307CC8CB35DB8882CDA24E2EE; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:18 GMT
+
+======== oe34
+DELETE /cspace-services/objectexit/${oe5.CSID} HTTP/1.1
+Accept-Encoding: gzip, deflate
+Accept: multipart/mixed
+Authorization: Basic dGVzdDp0ZXN0
+User-Agent: Jakarta Commons-HttpClient/3.1
+Host: localhost:8280
+Cookie: $Version=0; JSESSIONID=DAFA3BA307CC8CB35DB8882CDA24E2EE; $Path=/
+
+
+HTTP/1.1 200 OK
+Server: Apache-Coyote/1.1
+X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
+Content-Length: 0
+Date: Wed, 17 Nov 2010 20:41:19 GMT
+
+
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/object-exit.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/object-exit.xml
new file mode 100644 (file)
index 0000000..dabb8b1
--- /dev/null
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<xmlReplay>\r
+    <auths>\r
+        <!-- IMPORTANT: THESE ARE STICKY :: THEY STICK AROUND UNTIL RESET, IN EXEC ORDER OF THIS FILE. -->\r
+        <auth ID="test">dGVzdDp0ZXN0</auth>\r
+    </auths>\r
+    \r
+   <!-- ================================================================================ -->\r
+    \r
+     <testGroup ID="CRUDL" autoDeletePOSTS="true">\r
+         <test ID="oe1"  auth="test">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/objectexit/</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe1.xml</filename>\r
+             </part>\r
+         </test>\r
+        <test ID="oe2">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+            <reponse>oe2.res.xml</reponse>\r
+        </test>\r
+        <test ID="oe3">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/objectexit/</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe3.xml</filename>\r
+             </part>\r
+         </test>\r
+        <test ID="oe4">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/objectexit/</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe4.xml</filename>\r
+             </part>\r
+         </test>\r
+         <test ID="oe5">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/objectexit/</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe5.xml</filename>\r
+             </part>\r
+         </test>\r
+         <test ID="oe6">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/</uri>\r
+            <reponse>oe6.res.xml</reponse>\r
+            <!--response elements will need parts, too, e.g. personauthorities_common -->\r
+            <!-- inside oe6.res.xml, there is a CSID which will change every time, and should be ref'd as 6f7a1e3e-5821-4ef2-bfcf ==> ${oe1.CSID}\r
+            -->\r
+        </test>\r
+         <test ID="oe7">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/9223372036854775807</uri>\r
+            <expectedCodes>404</expectedCodes>\r
+        </test>\r
+        <test ID="oe8">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+            <reponse>oe8.res.xml</reponse>\r
+        </test>\r
+         <test ID="oe9">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/personauthorities/</uri>\r
+             <part>\r
+                 <label>personauthorities_common</label>\r
+                 <filename>objectexit/oe9.xml</filename>\r
+             </part>\r
+         </test>\r
+         <test ID="oe10">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/personauthorities/${oe9.CSID}</uri>\r
+        </test>\r
+       \r
+        <test ID="oe11">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/personauthorities/${oe9.CSID}/items/</uri>\r
+             <part>\r
+                 <label>persons_common</label>\r
+                 <filename>objectexit/oe11.xml</filename>\r
+             </part>\r
+        </test>\r
+        <test ID="oe12">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID}</uri>\r
+        </test>\r
+        <test ID="oe13">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/personauthorities/${oe9.CSID}/items/</uri>\r
+             <part>\r
+                 <label>persons_common</label>\r
+                 <filename>objectexit/oe13.xml</filename>\r
+             </part>\r
+        </test>\r
+        <test ID="oe14">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/personauthorities/${oe11.CSID}/items/${oe13.CSID}</uri>\r
+        </test>\r
+        <test ID="oe15">\r
+             <method>POST</method>\r
+             <uri>/cspace-services/objectexit/</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe15.xml</filename>\r
+             </part>\r
+        </test>\r
+        <test ID="oe16">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/${oe15.CSID}</uri>\r
+        </test>\r
+        <test ID="oe17">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/${oe15.CSID}/authorityrefs/</uri>\r
+        </test>\r
+        <test ID="oe18">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID}</uri>\r
+        </test>\r
\r
+        <test ID="oe19">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/personauthorities/${oe9.CSID}/items/${oe13.CSID}</uri>\r
+        </test>\r
+        <test ID="oe20">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/personauthorities/${oe9.CSID}</uri>\r
+        </test>\r
+        <test ID="oe21">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe15.CSID}</uri>\r
+        </test>\r
+        <test ID="oe22">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+        </test>\r
+        <test ID="oe23">\r
+             <method>PUT</method>\r
+             <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe23.xml</filename>\r
+             </part>\r
+        </test>\r
+        <test ID="oe24">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+        </test>\r
+        <test ID="oe25">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/9223372036854775807</uri>\r
+            <expectedCodes>404</expectedCodes>\r
+        </test>\r
+       <test ID="oe26">\r
+             <method>PUT</method>\r
+             <uri>/cspace-services/objectexit/9223372036854775807</uri>\r
+             <part>\r
+                 <label>objectexit_common</label>\r
+                 <filename>objectexit/oe23.xml</filename><!-- won't be found, so just re-using older post file as payload.-->\r
+             </part>\r
+             <expectedCodes>404</expectedCodes>\r
+        </test>\r
+        <test ID="oe27">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/?sortBy=&amp;pgNum=0&amp;pgSz=1</uri>\r
+        </test>\r
+        <test ID="oe28">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/?sortBy=&amp;pgNum=0&amp;pgSz=1</uri>\r
+        </test>\r
+        <test ID="oe29">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/?sortBy=&amp;pgNum=1&amp;pgSz=1</uri>\r
+        </test>\r
+        <test ID="oe30">\r
+            <method>GET</method>\r
+            <uri>/cspace-services/objectexit/?sortBy=&amp;pgNum=2&amp;pgSz=1</uri>\r
+        </test>\r
+        <test ID="oe31">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe1.CSID}</uri>\r
+            <expectedCodes>404</expectedCodes>\r
+        </test>\r
+        <test ID="oe32">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe3.CSID}</uri>\r
+        </test>\r
+        <test ID="oe33">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe4.CSID}</uri>\r
+        </test>\r
+        <test ID="oe34">\r
+            <method>DELETE</method>\r
+            <uri>/cspace-services/objectexit/${oe5.CSID}</uri>\r
+        </test>\r
+\r
+     </testGroup>\r
+\r
+</xmlReplay>\r
+        \r
+        
\ No newline at end of file
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe1.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe1.xml
new file mode 100644 (file)
index 0000000..b1daed5
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
+<ns2:objectexit_common\r
+xmlns:ns2="http://collectionspace.org/services/objectexit"\r
+xmlns:ns3="http://collectionspace.org/services/jaxb">\r
+  <depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>\r
+  <exitNumber>objectexitNumber-1290024274266</exitNumber>\r
+</ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe11.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe11.xml
new file mode 100644 (file)
index 0000000..fac5fb0
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><inAuthority>7f441679-ab83-4832-85f9</inAuthority><shortIdentifier>owenCurOwner</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner)</refName><displayNameComputed>true</displayNameComputed><shortDisplayNameComputed>true</shortDisplayNameComputed><foreName>Owen the Cur</foreName><surName>Owner</surName></ns2:persons_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe13.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe13.xml
new file mode 100644 (file)
index 0000000..94beedf
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><inAuthority>7f441679-ab83-4832-85f9</inAuthority><shortIdentifier>davenportDepositor</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</refName><displayNameComputed>true</displayNameComputed><shortDisplayNameComputed>true</shortDisplayNameComputed><foreName>Davenport</foreName><surName>Depositor</surName></ns2:persons_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe15.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe15.xml
new file mode 100644 (file)
index 0000000..4c156cd
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)</depositor><exitDate>exitDate-1290026474563</exitDate><exitNumber>exitNumber-1290026474563</exitNumber></ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe2.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe2.res.xml
new file mode 100644 (file)
index 0000000..ce59317
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">\r
+<exitNumber>objectexitNumber-1290026472360</exitNumber>\r
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>\r
+</ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe23.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe23.xml
new file mode 100644 (file)
index 0000000..ce74912
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>updated-objectexitNumber-1290026472360</exitNumber></ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe3.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe3.xml
new file mode 100644 (file)
index 0000000..3f59daa
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473391</exitNumber></ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe4.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe4.xml
new file mode 100644 (file)
index 0000000..cc92b72
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473626</exitNumber></ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe5.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe5.xml
new file mode 100644 (file)
index 0000000..b7c1100
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor><exitNumber>objectexitNumber-1290026473860</exitNumber></ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe6.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe6.res.xml
new file mode 100644 (file)
index 0000000..1485aad
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:objectexit_common_list xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:ns3="http://collectionspace.org/services/jaxb"><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>4</itemsInPage><totalItems>4</totalItems><fieldsReturned>currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csid</fieldsReturned><objectexit_list_item><exitNumber>objectexitNumber-1290026473391</exitNumber><uri>/objectexit/c5844272-0da5-4c1f-b361</uri><csid>c5844272-0da5-4c1f-b361</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026473626</exitNumber><uri>/objectexit/204b5375-5639-4dc3-8bbd</uri><csid>204b5375-5639-4dc3-8bbd</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026473860</exitNumber><uri>/objectexit/70499f68-7eba-4e63-a0ec</uri><csid>70499f68-7eba-4e63-a0ec</csid></objectexit_list_item><objectexit_list_item><exitNumber>objectexitNumber-1290026472360</exitNumber><uri>/objectexit/6f7a1e3e-5821-4ef2-bfcf</uri><csid>6f7a1e3e-5821-4ef2-bfcf</csid></objectexit_list_item></ns2:objectexit_common_list>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe8.res.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe8.res.xml
new file mode 100644 (file)
index 0000000..ce59317
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ns2:objectexit_common xmlns:ns2="http://collectionspace.org/services/objectexit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://collectionspace.org/services/objectexit http://services.collectionspace.org/objectexit/objectexit_common.xsd">\r
+<exitNumber>objectexitNumber-1290026472360</exitNumber>\r
+<depositor>urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'</depositor>\r
+</ns2:objectexit_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe9.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe9.xml
new file mode 100644 (file)
index 0000000..de0c7cc
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:personauthorities_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb"><displayName>ObjectexitPersonAuth</displayName><shortIdentifier>ObjectexitPersonAuth</shortIdentifier><refName>urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth'</refName><vocabType>PersonAuthority</vocabType></ns2:personauthorities_common>\r
+\r
diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectext/xml-replay-config.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectext/xml-replay-config.xml
deleted file mode 100755 (executable)
index 18e5550..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<xmlReplay>\r
-    <protoHostPort>http://localhost:8280</protoHostPort>\r
-\r
-    <testGroup ID="CRUDLA" autoDeletePOSTS="true">\r
-        <test ID="CREATE">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp1.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test ID="READ">\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>nh</fromTestID>\r
-        </test>\r
-        <test ID="UPDATE">\r
-            <method>PUT</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/testCambridge-update.xml</filename>\r
-            </part>\r
-            <fromTestID>cambridge-1</fromTestID>\r
-        </test>\r
-        <test ID="DELETE">\r
-            <method>DELETE</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>1001</fromTestID>\r
-        </test>\r
-        <test ID="LIST">\r
-            <method>LIST</method>\r
-            <uri>/cspace-services/personauthorities/</uri>\r
-            <fromTestID>newPersonAuthority</fromTestID>\r
-        </test>\r
-        <test ID="AUTHREFS">\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp2.xml</filename>\r
-            </part>\r
-        </test>\r
-    </testGroup>\r
-\r
-    <testGroup ID="2parts" autoDeletePOSTS="true">\r
-        <test ID="nh">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <parts>\r
-                <part>\r
-                    <label>collectionobjects_common</label>\r
-                    <filename>collectionobject/nh-collectionobject.xml</filename>\r
-                </part>\r
-                <part>\r
-                    <label>collectionobjects_naturalhistory</label>\r
-                    <filename>collectionobject/nh-part.xml</filename>\r
-                </part>\r
-            </parts>\r
-        </test>\r
-        <test>\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>nh</fromTestID>\r
-        </test>\r
-    </testGroup>\r
-\r
-    <test ID="1002">\r
-        <method>POST</method>\r
-        <uri>/cspace-services/collectionobjects/</uri>\r
-        <part>\r
-            <label>collectionobjects_common</label>\r
-            <filename>collectionobject/repfield_whitesp2.xml</filename>\r
-        </part>\r
-    </test>\r
-\r
-    <testGroup ID="collectionobjects" autoDeletePOSTS="true">\r
-        <test ID="1001">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp1.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test ID="1002">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp2.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp3.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>DELETE</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>1001</fromTestID>\r
-        </test>\r
-        <test>\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_whitesp4.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/cspace-2242-first-value-instance-blank.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/cspace-2242-first-value-instance-nonblank.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/repfield_null1.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/?sortBy=&amp;pgNum=0&amp;pgSz=8</uri>\r
-        </test>\r
-        <test ID="cambridge-1">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/testCambridge.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>cambridge-1</fromTestID>\r
-        </test>\r
-        <test ID="cambridge-1-put">\r
-            <method>PUT</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/testCambridge-update.xml</filename>\r
-            </part>\r
-            <fromTestID>cambridge-1</fromTestID>\r
-        </test>\r
-    </testGroup>\r
-\r
-    <!-- You can run this with\r
-         mvn -q -DtestGroupID=cambridge-put-demo exec:java\r
-    -->\r
-    <testGroup ID="cambridge-put-demo" autoDeletePOSTS="true">\r
-        <test ID="cambridge-2">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/testCambridge.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>GET</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <fromTestID>cambridge-2</fromTestID>\r
-        </test>\r
-        <test ID="cambridge-2-put">\r
-            <method>PUT</method>\r
-            <uri>/cspace-services/collectionobjects/</uri>\r
-            <part>\r
-                <label>collectionobjects_common</label>\r
-                <filename>collectionobject/testCambridge-update.xml</filename>\r
-            </part>\r
-            <fromTestID>cambridge-2</fromTestID>\r
-        </test>\r
-    </testGroup>\r
-\r
-    <!-- You can run this with\r
-         mvn -q -DtestGroupID=authrefs exec:java\r
-    -->\r
-    <testGroup ID="authrefs" autoDeletePOSTS="true">\r
-        <test ID="newPersonAuthority">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/personauthorities/</uri>\r
-            <part>\r
-                <label>personauthorities_common</label>\r
-                <filename>authrefs/newPersonAuthority.xml</filename>\r
-            </part>\r
-        </test>\r
-        <test>\r
-            <method>GET</method>\r
-            <uri>/cspace-services/personauthorities/</uri>\r
-            <fromTestID>newPersonAuthority</fromTestID>\r
-        </test>\r
-        <test ID="newPerson">\r
-            <method>POST</method>\r
-            <uri>/cspace-services/personauthorities/</uri>\r
-            <part>\r
-                <label>persons_common</label>\r
-                <filename>authrefs/newPerson.xml</filename>\r
-            </part>\r
-            <fromTestID>newPersonAuthority</fromTestID>\r
-        </test>\r
-\r
-\r
-        <test ID="personAuthsList">\r
-            <method>LIST</method>\r
-            <uri>/cspace-services/personauthorities/</uri>\r
-            <fromTestID>newPersonAuthority</fromTestID>\r
-        </test>\r
-    </testGroup>\r
-\r
-</xmlReplay>\r