From bc170780a119ed77b8511ea43a730663586f36dd Mon Sep 17 00:00:00 2001 From: zm330 Date: Tue, 3 Mar 2020 02:12:58 +0800 Subject: Add bpmn workflow for deleting communication service Issue-ID: SO-2368 Signed-off-by: zm330 Change-Id: Ib7672ef398f49765933bfc84465a0e0436bb59d4 --- .../process/DeleteCommunicationService.bpmn | 523 +++++++++++++++++++++ 1 file changed, 523 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteCommunicationService.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteCommunicationService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteCommunicationService.bpmn new file mode 100644 index 0000000000..58a69621d3 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteCommunicationService.bpmn @@ -0,0 +1,523 @@ + + + + + SequenceFlow_1kjqnil + + + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_192yyii + SequenceFlow_0xvoume + + + SequenceFlow_0ogievs + SequenceFlow_192yyii + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs= new DeleteCommunicationService() +dcs.preInitUpdateOperationStatus(execution) + + + SequenceFlow_1kjqnil + SequenceFlow_0ogievs + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs= new DeleteCommunicationService() +dcs.preProcessRequest(execution) + + + SequenceFlow_0xvoume + SequenceFlow_017qgen + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.sendSyncResponse(execution) + + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0jrbkau + SequenceFlow_1ssiyug + + + + + + ${dbAdapterEndpoint} + + + application/json + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_00g94pg + SequenceFlow_16ewagx + SequenceFlow_1amyd7h + SequenceFlow_10g2pnj + + + SequenceFlow_10g2pnj + + + + SequenceFlow_017qgen + SequenceFlow_1j0e2po + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.queryCommunicationSeriveFromAAI(execution) + + + SequenceFlow_0bmtfxq + + + + SequenceFlow_1tcgzv0 + + + + SequenceFlow_12xn3kz + SequenceFlow_0bmtfxq + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.sendRequest2NSMFWF(execution) + + + + SequenceFlow_0s7s7zk + SequenceFlow_0arvpzv + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.delCSProfileFromAAI(execution) + + + + SequenceFlow_0arvpzv + SequenceFlow_00g94pg + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.delCSFromAAI(execution) + + + + SequenceFlow_1u5ko4h + + + + + SequenceFlow_1u5ko4h + SequenceFlow_05yfw7t + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.sendSyncError(execution) + + + + SequenceFlow_05yfw7t + SequenceFlow_0c0btia + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.preFailedOperationStatus(execution) + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0c0btia + SequenceFlow_1w55zo7 + + + SequenceFlow_1w55zo7 + + + + + + + SequenceFlow_0mifi3x + + + + + SequenceFlow_073yxs4 + + + + SequenceFlow_0mifi3x + SequenceFlow_073yxs4 + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + + SequenceFlow_0xipbpr + SequenceFlow_1sah9so + SequenceFlow_0s7s7zk + SequenceFlow_0bqfbxf + + + + + #{(execution.getVariable("isTimeOut") == "YES")} + #{(execution.getVariable("isTimeOut") == "YES")} + + + SequenceFlow_1tcgzv0 + SequenceFlow_0jrbkau + SequenceFlow_16ewagx + + + + #{(execution.getVariable("isNSMFWFRspSucceed" ) == "no")} + #{(execution.getVariable("isNSMFWFRspSucceed" ) == "no")} + + + SequenceFlow_1j0e2po + SequenceFlow_12xn3kz + SequenceFlow_0xipbpr + + + + + #{(execution.getVariable("e2eSliceServiceInstanceId") == null)} + #{(execution.getVariable("e2eSliceServiceInstanceId") == null)} + + + + + + + + + + + + + + + + + + + + + SequenceFlow_0thr8dc + SequenceFlow_1sah9so + + + SequenceFlow_0bqfbxf + SequenceFlow_1amyd7h + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.prepareFailureStatus(execution) + + + + + + + SequenceFlow_1ssiyug + SequenceFlow_0thr8dc + import org.onap.so.bpmn.infrastructure.scripts.* +def dcs = new DeleteCommunicationService() +dcs.prepareCallCheckProcessStatus(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg