From a315ed0cf24739c3fad0da0092895c70b2623695 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 26 Jul 2018 11:21:32 +0530 Subject: Modify workflow to support activate operation Modify CreateSDNCNetworkResource to support activate on sdnc resource. Issue-ID: SO-689 Change-Id: I1200fdbe5f1f6b9a6e6299da44733b47a1f36355 Signed-off-by: subhash kumar singh --- .../process/CreateSDNCNetworkResource.bpmn | 203 ++++++++++++--------- 1 file changed, 115 insertions(+), 88 deletions(-) (limited to 'bpmn/MSOInfrastructureBPMN/src') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/resources/process/CreateSDNCNetworkResource.bpmn b/bpmn/MSOInfrastructureBPMN/src/main/resources/process/CreateSDNCNetworkResource.bpmn index c074571265..9d48af50dd 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/resources/process/CreateSDNCNetworkResource.bpmn +++ b/bpmn/MSOInfrastructureBPMN/src/main/resources/process/CreateSDNCNetworkResource.bpmn @@ -1,5 +1,5 @@ - + SequenceFlow_1qo2pln @@ -9,12 +9,12 @@ SequenceFlow_18l3crb SequenceFlow_0khtova - import org.openecomp.mso.bpmn.infrastructure.scripts.* def dcsi = new CreateSDNCNetworkResource() -dcsi.prepareSDNCRequest(execution)]]> +dcsi.prepareSDNCRequest(execution) - SequenceFlow_17md60u + SequenceFlow_0auvfvm @@ -28,48 +28,39 @@ dcsi.prepareSDNCRequest(execution)]]> SequenceFlow_15mvedq - SequenceFlow_1xk5xed + SequenceFlow_1ex9ov6 - - - SequenceFlow_1vnx1pp - SequenceFlow_0ow44q0 - SequenceFlow_1ex9ov6 + SequenceFlow_1kzj1j5 + import org.openecomp.mso.bpmn.infrastructure.scripts.* def dcsi = new CreateSDNCNetworkResource() -dcsi.postCreateSDNCCall(execution)]]> +dcsi.postCreateSDNCCall(execution) SequenceFlow_1qo2pln SequenceFlow_0w2es8j - String recipeParamXsdDemo="""{"operationType":"GRE"}""" String recipeParamXsd="" -execution.setVariable("recipeParamXsd", recipeParamXsd)]]> +execution.setVariable("recipeParamXsd", recipeParamXsd) SequenceFlow_0w2es8j SequenceFlow_18l3crb - import org.openecomp.mso.bpmn.infrastructure.scripts.* def dcsi = new CreateSDNCNetworkResource() -dcsi.preProcessRequest(execution)]]> +dcsi.preProcessRequest(execution) SequenceFlow_0khtova SequenceFlow_1mz0vdx - import org.openecomp.mso.bpmn.infrastructure.scripts.* def dcsi = new CreateSDNCNetworkResource() -dcsi.prepareUpdateBeforeCreateSDNCResource(execution)]]> - - - SequenceFlow_1xk5xed - SequenceFlow_1jr6zi0 - +dcsi.prepareUpdateBeforeCreateSDNCResource(execution) @@ -112,19 +103,41 @@ dcsi.prepareUpdateAfterCreateSDNCResource(execution)]]> http-connector - SequenceFlow_1jr6zi0 - SequenceFlow_1vnx1pp + SequenceFlow_1kzj1j5 + SequenceFlow_0o7h0ag - - - SequenceFlow_0ow44q0 - SequenceFlow_17md60u - SequenceFlow_1cd8ujq + SequenceFlow_0auvfvm + import org.openecomp.mso.bpmn.infrastructure.scripts.* def csi = new CreateSDNCNetworkResource() -csi.sendSyncResponse(execution)]]> +csi.sendSyncResponse(execution) - + + SequenceFlow_1dww8ye + SequenceFlow_05niqbf + + + SequenceFlow_0o7h0ag + SequenceFlow_1dww8ye + SequenceFlow_05m2j56 + + + + + + + SequenceFlow_05m2j56 + SequenceFlow_05niqbf + SequenceFlow_1cd8ujq + import org.openecomp.mso.bpmn.infrastructure.scripts.* +def dcsi = new CreateSDNCNetworkResource() +dcsi.prepareUpdateAfterCreateSDNCResource(execution) + + + + + @@ -135,16 +148,16 @@ csi.sendSyncResponse(execution)]]> - - + + - - - + + + @@ -153,41 +166,27 @@ csi.sendSyncResponse(execution)]]> - + - + - + - - - - - - - - - - - - - - - + - - + + - - + + @@ -199,20 +198,20 @@ csi.sendSyncResponse(execution)]]> - - - - + + + + - - - - - + + + + + @@ -220,39 +219,67 @@ csi.sendSyncResponse(execution)]]> - - - - + - - - + + + + + + + + - + - - - - + + + + + - + - - + + + + + + + + + + + + + + - - - + + + - + + + + + + + + + + + + + + -- cgit 1.2.3-korg