]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-3900 More support for invoking Batch processes. Refactored the invocation...
authorPatrick Schmitz <pschmitz@berkeley.edu>
Sat, 28 May 2011 02:11:08 +0000 (02:11 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Sat, 28 May 2011 02:11:08 +0000 (02:11 +0000)
commitc201ffb60e0ec13f32c60fcebc4c35595c1d2c3f
tree3af7b870192ad7504638faef0de021b69ee0808c
parent8e2c165e6805bad3692e213862f0c74f1f951ef3
CSPACE-3900 More support for invoking Batch processes. Refactored the invocation slightly to support better error reporting, and to allow a given Batch job to handle various invocation modes. Extended the demo batch job to handle single and list invocation, and to actually create the LoanOut and the relations to the passed CSID(s). Added a series of tests to verify proper functioning and error handling for bad invocation, empty lists, etc. Fixed an odd exception in the ClientUtils, in which a URI cannot be cast to a String.
14 files changed:
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch1.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchBadInvContext.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchBadInvContextList.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchInvContextList.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batchInvContextSingle.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/xml-replay-master.xml
services/batch/3rdparty/nuxeo-platform-cs-batch/src/main/resources/schemas/batch_common.xsd
services/batch/jaxb/src/main/java/org/collectionspace/services/BatchJAXBSchema.java
services/batch/service/src/main/java/org/collectionspace/services/batch/BatchResource.java
services/batch/service/src/main/java/org/collectionspace/services/batch/nuxeo/CreateAndLinkLoanOutBatchJob.java
services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClientUtils.java
services/common/src/main/java/org/collectionspace/services/common/invocable/Invocable.java
services/jaxb/src/main/resources/invocationContext.xsd