aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/test
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-10-28 14:17:17 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-10-28 14:17:17 +0530
commit135b25130fc6f14ab44b44c6de3931e8a798ab14 (patch)
tree16065ab513071772c459d1f805115a3e507e695b /bpmn/MSOInfrastructureBPMN/src/test
parentbf6c895c2824a1d6e31f70bbc3c7e5bd5a433b63 (diff)
Adding msoCompletionReq to groovy test
IssueId: SO-281 Change-Id: I8da2d6c1a331f9052c8785d54ded38a0e1a8a8ca Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN/src/test')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateGenericAlaCarteServiceInstanceTest.groovy19
1 files changed, 16 insertions, 3 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateGenericAlaCarteServiceInstanceTest.groovy b/bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateGenericAlaCarteServiceInstanceTest.groovy
index 7c0d519f1c..293eac091e 100644
--- a/bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateGenericAlaCarteServiceInstanceTest.groovy
+++ b/bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateGenericAlaCarteServiceInstanceTest.groovy
@@ -58,10 +58,23 @@ class CreateGenericAlaCarteServiceInstanceTest {
<aetgt:ErrorCode>5300</aetgt:ErrorCode>
</aetgt:WorkflowException>
</aetgt:FalloutHandlerRequest>"""
+
+ String completeMsoProcessRequest =
+ """<aetgt:MsoCompletionRequest xmlns:aetgt="http://org.openecomp/mso/workflow/schema/v1"
+ xmlns:ns="http://org.openecomp/mso/request/types/v1"
+ xmlns="http://org.openecomp/mso/infra/vnf-request/v1">
+ <request-info>
+ <request-id>88f65519-9a38-4c4b-8445-9eb4a5a5af56</request-id>
+ <action>CREATE</action>
+ <source>VID</source>
+ </request-info>
+ <aetgt:status-message>Network has been created successfully.</aetgt:status-message>
+ <aetgt:mso-bpel-name>BPMN Network action: CREATE</aetgt:mso-bpel-name>
+</aetgt:MsoCompletionRequest>"""
-String jsonIncomingRequest =
-"""{
- "service": {
+ String jsonIncomingRequest =
+ """{
+ "service": {
"name": "so_test4",
"description": "so_test2",
"serviceDefId": "60c3e96e-0970-4871-b6e0-3b6de7561519",