From 425fcb43dfdcc0bbe5cc718b312fd97d4aabb6c9 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 18 Feb 2014 20:01:37 -0800 Subject: [PATCH] CSPACE-6188: Provisional XmlReplay-based tests to identify if the update computed current location batch job works as expected in a versioning tenant. --- .../batch/batch-update-object-loc.xml | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml index 414838438..478f9631f 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml @@ -593,6 +593,110 @@ + + + + + + + POST + /cspace-services/batch + batch/batch-create-updateobjloc.xml + 201 + + + + POST + /cspace-services/collectionobjects + batch/collObj1.xml + 201 + + + + POST + /cspace-services/movements + batch/movement.xml + + urn:cspace:core.collectionspace.org:locationauthorities:name(offsite_sla):item:name(Ecatepec13582155455560)'Ecatepec, Mexico' + 2000-01-01 + + 201 + + + + POST + /cspace-services/relations + batch/relation.xml + + ${createCollectionObjectInVersioningTenant.CSID} + CollectionObject + ${createMovementInVersioningTenant.CSID} + Movement + + 201 + + + + + + POST + /cspace-services/batch/${createBatchRecordInVersioningTenant.CSID} + batch/batch-invoke-updateobjloc-single.xml + + ${createCollectionObjectInVersioningTenant.CSID} + + 200 + + + + GET + /cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID} + + + batch/res/collectionobject.res.xml + + ${createMovementInVersioningTenant.currentLocation} + + + 200 + + + + PUT + /cspace-services/movements/${createMovementInVersioningTenant.CSID} + batch/movement.xml + + urn:cspace:core.collectionspace.org:locationauthorities:name(offsite_sla):item:name(Guadalajara13582155455562)'Guadalajara, Mexico' + 2000-01-02 + + 200 + + + + POST + /cspace-services/batch/${createBatchRecordInVersioningTenant.CSID} + batch/batch-invoke-updateobjloc-single.xml + + ${createCollectionObjectInVersioningTenant.CSID} + + 200 + + + + GET + /cspace-services/collectionobjects/${createCollectionObjectInVersioningTenant.CSID} + + + batch/res/collectionobject.res.xml + + ${modifyMovementInVersioningTenant.currentLocation} + + + 200 + + + +