From ef7d288fa638982a9a0bdd06c975755123089bed Mon Sep 17 00:00:00 2001 From: Laramie Crocker Date: Wed, 15 Dec 2010 21:10:16 +0000 Subject: [PATCH] CSPACE-3332 --- .../test-data/xmlreplay/loanin/li1.xml | 25 ++++ .../test-data/xmlreplay/loanin/loanin.xml | 28 +++++ .../test-data/xmlreplay/loanin/loanin.xml~ | 113 ++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100755 services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/li1.xml create mode 100755 services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml create mode 100755 services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml~ diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/li1.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/li1.xml new file mode 100755 index 000000000..cd6c0ad99 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/li1.xml @@ -0,0 +1,25 @@ + + + loaninNumber-1292347312955 + + + An Authorizer + A Contact + October 29, 2009 + urn:cspace:org.collectionspace.demo:orgauthority:id(2a6dcf2e-2ec6-47ca-a460):organization:id(b53b23c9-81bf-447b-838f)'Bing+Crosby+Ice+Cream+Sales%2C+Inc.' + + + An Authorizer 2 + A Contact 2 + October 30, 2009 + urn:cspace:org.collectionspace.demo:orgauthority:id(2a6dcf2e-2ec6-47ca-a460):organization:id(b53b23c9-81bf-447b-838f)'Another Lender' + + + returnDate-1292347312955 + For Surfboards of the 1960s exhibition. + Loan in conditions. + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml new file mode 100755 index 000000000..42ff68a83 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml @@ -0,0 +1,28 @@ + + + + + YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y + YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y + + + + + POST + /cspace-services/loansin/ + + + loanin/li1.xml + + + + + + + DELETE + /cspace-services/loansin/8080b6b8-393a-4e8a-b823 + + + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml~ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml~ new file mode 100755 index 000000000..b060fdb9d --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/loanin/loanin.xml~ @@ -0,0 +1,113 @@ + + + + + YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y + YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y + + + + + POST + /cspace-services/acquisitions/ + + + acquisitions/ac1.xml + + + + GET + /cspace-services/acquisitions/${ac1.CSID} + + + + + acquisitions/res/ac1.res.xml + + + + + + + + POST + /cspace-services/acquisitions/ + + + acquisitions/ac1.xml + + + + + GET + /cspace-services/acquisitions/${ac1.CSID} + + + + + acquisitions/res/ac1.res.xml + + + + + + GET + /cspace-services/acquisitions/?sortBy=&pgNum=0&pgSz=10 + acquisitions/res/ac3list.res.xml + + + + + + + + + + DELETE + /cspace-services/acquisitions/8080b6b8-393a-4e8a-b823 + + + DELETE + /cspace-services/acquisitions/231e8787-4d77-4eaf-8d10 + + + DELETE + /cspace-services/acquisitions/cbb82bbc-9513-4f83-ab4f + + + DELETE + /cspace-services/acquisitions/516c2435-4560-408c-8628 + + + + + + + -- 2.47.3