From: Laramie Crocker Date: Wed, 17 Nov 2010 22:34:16 +0000 (+0000) Subject: CSPACE-2666 adding payload files X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=8d4037c2e70cb2e6317d262bb7743f350d2a6365;p=tmp%2Fjakarta-migration.git CSPACE-2666 adding payload files --- diff --git a/services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java b/services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java index f6f7c9164..33f996b64 100755 --- a/services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java +++ b/services/IntegrationTests/src/main/java/org/collectionspace/services/IntegrationTests/xmlreplay/XmlReplay.java @@ -349,7 +349,8 @@ public class XmlReplay { try { document = reader.read(xmlFileName); } catch (DocumentException e) { - //e.printStackTrace(); + System.out.println("ERROR reading document: "+e); + e.printStackTrace(); } return document; } 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 index 000000000..fe48894ad --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dev-master.xml @@ -0,0 +1,18 @@ + + + + http://localhost:8180 + + + + + + dGVzdDp0ZXN0 + + + + + + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension-master.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension-master.xml index a5a7750b6..0df0d28ac 100755 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension-master.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension-master.xml @@ -10,7 +10,12 @@ + + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension.xml index c0c3fc6f1..224859204 100755 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/dimension.xml @@ -34,6 +34,43 @@ + + + + + + 201 + POST + /cspace-services/dimensions/ + + + dimension/1.xml + + + + + + GET + /cspace-services/dimensions/${dimPOST.CSID} + + + + PUT + /cspace-services/dimensions/${dimPOST.CSID} + + + dimension/2-put.xml + + + + + GET + /cspace-services/dimensions/${dimPOST.CSID} + + + + + \ 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 index 000000000..95494f534 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/dump-std-service-tests.txt @@ -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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026472360 +--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 + + + +objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + +--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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473391 +--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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473626 +--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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473860 +--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 + +04044currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473391/objectexit/${oe3.CSID}${oe3.CSID}objectexitNumber-1290026473626/objectexit/${oe4.CSID}${oe4.CSID}objectexitNumber-1290026473860/objectexit/${oe5.CSID}${oe5.CSID}objectexitNumber-1290026472360/objectexit/${oe1.CSID}${oe1.CSID} + +======== 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 + + + +objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + +--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 + +ObjectexitPersonAuthObjectexitPersonAuthurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth'PersonAuthority +--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 + + + +ObjectexitPersonAuth +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth' +${oe9.CSID} +ObjectexitPersonAuth +PersonAuthority + + +--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 + +${oe9.CSID}owenCurOwnerurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner)truetrueOwen the CurOwner +--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 + + + +Owner + +owenCurOwner +Owen the Cur Owner + +Owen the Cur + + +true +${oe11.CSID} +true +${oe9.CSID} +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner) +Owen the Cur Owner + + +--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 + +${oe9.CSID}davenportDepositorurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)truetrueDavenportDepositor +--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 + + + +Depositor + +davenportDepositor +Davenport Depositor + +Davenport + + +true +${oe13.CSID} +true +${oe9.CSID} +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor) +Davenport Depositor + + +--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 + +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)exitDate-1290026474563exitNumber-1290026474563 +--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 + + + +exitDate-1290026474563 +exitNumber-1290026474563 +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor) + + +--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 + +04011objectexit_common:depositorurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)ObjectexitPersonAuth/personauthorities/urn:cspace:name(ObjectexitPersonAuth)/items/urn:cspace:name(davenportDepositor) + +======== 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 + + + +objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + +--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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'updated-objectexitNumber-1290026472360 +--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 + + + +updated-objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + +--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 + +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-9223372036854775807 +--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 + +0113currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473391/objectexit/${oe3.CSID}${oe3.CSID} + +======== 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 + +0113currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473391/objectexit/${oe3.CSID}${oe3.CSID} + +======== 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 + +1113currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473626/objectexit/${oe4.CSID}${oe4.CSID} + +======== 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 + +2113currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473860/objectexit/${oe5.CSID}${oe5.CSID} + + +======== 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 index 000000000..dabb8b13b --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/object-exit.xml @@ -0,0 +1,204 @@ + + + + + dGVzdDp0ZXN0 + + + + + + + POST + /cspace-services/objectexit/ + + + objectexit/oe1.xml + + + + GET + /cspace-services/objectexit/${oe1.CSID} + oe2.res.xml + + + POST + /cspace-services/objectexit/ + + + objectexit/oe3.xml + + + + POST + /cspace-services/objectexit/ + + + objectexit/oe4.xml + + + + POST + /cspace-services/objectexit/ + + + objectexit/oe5.xml + + + + GET + /cspace-services/objectexit/ + oe6.res.xml + + + + + GET + /cspace-services/objectexit/9223372036854775807 + 404 + + + GET + /cspace-services/objectexit/${oe1.CSID} + oe8.res.xml + + + POST + /cspace-services/personauthorities/ + + + objectexit/oe9.xml + + + + GET + /cspace-services/personauthorities/${oe9.CSID} + + + + POST + /cspace-services/personauthorities/${oe9.CSID}/items/ + + + objectexit/oe11.xml + + + + GET + /cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID} + + + POST + /cspace-services/personauthorities/${oe9.CSID}/items/ + + + objectexit/oe13.xml + + + + GET + /cspace-services/personauthorities/${oe11.CSID}/items/${oe13.CSID} + + + POST + /cspace-services/objectexit/ + + + objectexit/oe15.xml + + + + GET + /cspace-services/objectexit/${oe15.CSID} + + + GET + /cspace-services/objectexit/${oe15.CSID}/authorityrefs/ + + + DELETE + /cspace-services/personauthorities/${oe9.CSID}/items/${oe11.CSID} + + + + DELETE + /cspace-services/personauthorities/${oe9.CSID}/items/${oe13.CSID} + + + DELETE + /cspace-services/personauthorities/${oe9.CSID} + + + DELETE + /cspace-services/objectexit/${oe15.CSID} + + + GET + /cspace-services/objectexit/${oe1.CSID} + + + PUT + /cspace-services/objectexit/${oe1.CSID} + + + objectexit/oe23.xml + + + + DELETE + /cspace-services/objectexit/${oe1.CSID} + + + DELETE + /cspace-services/objectexit/9223372036854775807 + 404 + + + PUT + /cspace-services/objectexit/9223372036854775807 + + + objectexit/oe23.xml + + 404 + + + GET + /cspace-services/objectexit/?sortBy=&pgNum=0&pgSz=1 + + + GET + /cspace-services/objectexit/?sortBy=&pgNum=0&pgSz=1 + + + GET + /cspace-services/objectexit/?sortBy=&pgNum=1&pgSz=1 + + + GET + /cspace-services/objectexit/?sortBy=&pgNum=2&pgSz=1 + + + DELETE + /cspace-services/objectexit/${oe1.CSID} + 404 + + + DELETE + /cspace-services/objectexit/${oe3.CSID} + + + DELETE + /cspace-services/objectexit/${oe4.CSID} + + + DELETE + /cspace-services/objectexit/${oe5.CSID} + + + + + + + \ 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 index 000000000..b1daed5c3 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe1.xml @@ -0,0 +1,8 @@ + + + urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + objectexitNumber-1290024274266 + + 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 index 000000000..fac5fb04e --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe11.xml @@ -0,0 +1,2 @@ +7f441679-ab83-4832-85f9owenCurOwnerurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(owenCurOwner)truetrueOwen the CurOwner + 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 index 000000000..94beedf9e --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe13.xml @@ -0,0 +1,2 @@ +7f441679-ab83-4832-85f9davenportDepositorurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)truetrueDavenportDepositor + 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 index 000000000..4c156cd20 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe15.xml @@ -0,0 +1,2 @@ +urn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth':person:name(davenportDepositor)exitDate-1290026474563exitNumber-1290026474563 + 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 index 000000000..ce5931731 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe2.res.xml @@ -0,0 +1,6 @@ + + +objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + 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 index 000000000..ce7491206 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe23.xml @@ -0,0 +1,2 @@ +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'updated-objectexitNumber-1290026472360 + 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 index 000000000..3f59daaa0 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe3.xml @@ -0,0 +1,2 @@ +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473391 + 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 index 000000000..cc92b72d9 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe4.xml @@ -0,0 +1,2 @@ +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473626 + 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 index 000000000..b7c110026 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe5.xml @@ -0,0 +1,2 @@ +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum'objectexitNumber-1290026473860 + 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 index 000000000..1485aad97 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe6.res.xml @@ -0,0 +1,2 @@ +04044currentOwner|depositor|exitDate|exitMethod|exitNote|exitNumber|exitReason|packingNote|uri|csidobjectexitNumber-1290026473391/objectexit/c5844272-0da5-4c1f-b361c5844272-0da5-4c1f-b361objectexitNumber-1290026473626/objectexit/204b5375-5639-4dc3-8bbd204b5375-5639-4dc3-8bbdobjectexitNumber-1290026473860/objectexit/70499f68-7eba-4e63-a0ec70499f68-7eba-4e63-a0ecobjectexitNumber-1290026472360/objectexit/6f7a1e3e-5821-4ef2-bfcf6f7a1e3e-5821-4ef2-bfcf + 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 index 000000000..ce5931731 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe8.res.xml @@ -0,0 +1,6 @@ + + +objectexitNumber-1290026472360 +urn:cspace:org.collectionspace.demo:orgauthority:name(TestOrgAuth):organization:name(Northern Climes Museum)'Northern Climes Museum' + + 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 index 000000000..de0c7cc4b --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectexit/oe9.xml @@ -0,0 +1,2 @@ +ObjectexitPersonAuthObjectexitPersonAuthurn:cspace:org.collectionspace.demo:personauthority:name(ObjectexitPersonAuth)'ObjectexitPersonAuth'PersonAuthority + 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 index 18e5550f8..000000000 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/objectext/xml-replay-config.xml +++ /dev/null @@ -1,232 +0,0 @@ - - - http://localhost:8280 - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp1.xml - - - - GET - /cspace-services/collectionobjects/ - nh - - - PUT - /cspace-services/collectionobjects/ - - - collectionobject/testCambridge-update.xml - - cambridge-1 - - - DELETE - /cspace-services/collectionobjects/ - 1001 - - - LIST - /cspace-services/personauthorities/ - newPersonAuthority - - - GET - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp2.xml - - - - - - - POST - /cspace-services/collectionobjects/ - - - - collectionobject/nh-collectionobject.xml - - - - collectionobject/nh-part.xml - - - - - GET - /cspace-services/collectionobjects/ - nh - - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp2.xml - - - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp1.xml - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp2.xml - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp3.xml - - - - DELETE - /cspace-services/collectionobjects/ - 1001 - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_whitesp4.xml - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/cspace-2242-first-value-instance-blank.xml - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/cspace-2242-first-value-instance-nonblank.xml - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/repfield_null1.xml - - - - GET - /cspace-services/collectionobjects/?sortBy=&pgNum=0&pgSz=8 - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/testCambridge.xml - - - - GET - /cspace-services/collectionobjects/ - cambridge-1 - - - PUT - /cspace-services/collectionobjects/ - - - collectionobject/testCambridge-update.xml - - cambridge-1 - - - - - - - POST - /cspace-services/collectionobjects/ - - - collectionobject/testCambridge.xml - - - - GET - /cspace-services/collectionobjects/ - cambridge-2 - - - PUT - /cspace-services/collectionobjects/ - - - collectionobject/testCambridge-update.xml - - cambridge-2 - - - - - - - POST - /cspace-services/personauthorities/ - - - authrefs/newPersonAuthority.xml - - - - GET - /cspace-services/personauthorities/ - newPersonAuthority - - - POST - /cspace-services/personauthorities/ - - - authrefs/newPerson.xml - - newPersonAuthority - - - - - LIST - /cspace-services/personauthorities/ - newPersonAuthority - - - -