From 8f96d959b955bb10c19d6856a5c46bbc7a0de31c Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Wed, 4 Mar 2020 10:46:04 +0800 Subject: Add ActivateSliceService workflow Issue-ID: SO-2368 Change-Id: Ia6ba48652c08b4beade525975008ee8f303666cf Signed-off-by: hetengjiao --- .../resources/process/ActivateSliceService.bpmn | 372 +++++++++++++++++++++ 1 file changed, 372 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn (limited to 'bpmn') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn new file mode 100644 index 0000000000..cd4cf473a6 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn @@ -0,0 +1,372 @@ + + + + + + + + + + SequenceFlow_1jp9gjt + SequenceFlow_1gkpl5q + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.updateStatusSNSSAIandNSIandNSSI(execution) + + + SequenceFlow_1gkpl5q + SequenceFlow_0pzts4p + import org.onap.so.bpmn.infrastructure.scripts.* +def csi = new ActivateSliceService() +csi.prepareCompletionRequest(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + ${UrnPropertiesReader.getVariable("mso.adapters.requestDb.auth", execution)} + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0pzts4p + SequenceFlow_0ozefu5 + + + SequenceFlow_0r611x8 + SequenceFlow_0ozefu5 + + + SequenceFlow_1qa8miv + + + + SequenceFlow_00ba5l9 + SequenceFlow_1jp9gjt + SequenceFlow_1qa8miv + + + + + + + + + + + + + + + SequenceFlow_1o4zjvp + SequenceFlow_00ba5l9 + + + SequenceFlow_1yus0c1 + SequenceFlow_1uqgdxr + import org.onap.so.bpmn.infrastructure.scripts.* +def csi = new ActivateSliceService() +csi.sendSyncResponse(execution) + + + SequenceFlow_1uqgdxr + SequenceFlow_149lhmo + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.checkAAIOrchStatusofslice(execution) + + + SequenceFlow_149lhmo + SequenceFlow_15fdf5d + SequenceFlow_0r611x8 + + + SequenceFlow_15fdf5d + SequenceFlow_144cqr9 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.prepareActivation(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_1av6du3 + SequenceFlow_1yus0c1 + + + SequenceFlow_0qksr1g + SequenceFlow_183ypky + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.preProcessRequest(execution) + + + SequenceFlow_144cqr9 + SequenceFlow_1o4zjvp + SequenceFlow_1pj1j1o + + + SequenceFlow_0qksr1g + + + SequenceFlow_1pj1j1o + + + + SequenceFlow_183ypky + SequenceFlow_1av6du3 + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.prepareInitServiceOperationStatus(execution) + + + + SequenceFlow_0oiiwjo + SequenceFlow_0uckyao + import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.sendSyncError(execution) + + + SequenceFlow_0uckyao + + + SequenceFlow_0oiiwjo + + + + + + + + #{execution.getVariable("isNSSIActivate") == "false"} + + + #{execution.getVariable("isContinue") == "false"} + + + #{execution.getVariable("isNSSIActivate") == "false"} + + + #{execution.getVariable("isNSSIActivate") == "true"} + + + + + + + + + #{execution.getVariable("isContinue") == "true"} + + + + #{execution.getVariable("isNSSIActivate") == "true"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg