From: Aron Roberts Date: Wed, 19 Feb 2014 04:01:37 +0000 (-0800) Subject: CSPACE-6188: Provisional XmlReplay-based tests to identify if the update computed... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=425fcb43dfdcc0bbe5cc718b312fd97d4aabb6c9;p=tmp%2Fjakarta-migration.git CSPACE-6188: Provisional XmlReplay-based tests to identify if the update computed current location batch job works as expected in a versioning tenant. --- 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 + + + +