From ab25d660c9c6b948f0ab035167e95893b7e8e667 Mon Sep 17 00:00:00 2001 From: zm330 Date: Tue, 3 Mar 2020 12:49:35 +0800 Subject: Add bpmn workflow for deleting slice service Issue-ID: SO-2368 Signed-off-by: zm330 Change-Id: Ie67bd6a51a602105857b0a85faa8ee2122fce29e --- .../main/resources/process/DeleteSliceService.bpmn | 332 +++++++++++++++++++++ 1 file changed, 332 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteSliceService.bpmn diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteSliceService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteSliceService.bpmn new file mode 100644 index 0000000000..6d9df5240d --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/DeleteSliceService.bpmn @@ -0,0 +1,332 @@ + + + + + SequenceFlow_1ti9sxe + + + + + SequenceFlow_1ti9sxe + SequenceFlow_0xmiev9 + import org.onap.so.bpmn.infrastructure.scripts.* +def dss= new DeleteSliceService() +dss.preProcessRequest(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0xmiev9 + SequenceFlow_0uehx9h + + + + SequenceFlow_0uehx9h + SequenceFlow_16lh6o6 + import org.onap.so.bpmn.infrastructure.scripts.* +def dss= new DeleteSliceService() +dss.sendAsyncResponse(execution) + + + + SequenceFlow_0nl4kfh + SequenceFlow_0wel7ie + SequenceFlow_0eqx2y2 + + + + #{execution.getVariable("WorkflowException") == null} + + + + SequenceFlow_0eqx2y2 + + + + + SequenceFlow_0wel7ie + SequenceFlow_18oizb2 + import org.onap.so.bpmn.infrastructure.scripts.* +def dss= new DeleteSliceService() +dss.deleteSliceServiceInstance(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + ${UrnPropertiesReader.getVariable("mso.adapters.requestDb.auth", execution)} + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_18oizb2 + SequenceFlow_1oxmm7d + + + SequenceFlow_1oxmm7d + + + + + + + + + + + + + + SequenceFlow_16lh6o6 + SequenceFlow_0nl4kfh + + + SequenceFlow_0wel7ie + SequenceFlow_142j1q2 + import org.onap.so.bpmn.infrastructure.scripts.* +def dss= new DeleteSliceService() +dss.delServiceProfileFromAAI(execution) + + + + + SequenceFlow_0x8msq9 + + + + SequenceFlow_10lwgo7 + + + + SequenceFlow_0x8msq9 + SequenceFlow_1ihiv5k + import org.onap.so.bpmn.infrastructure.scripts.* +def dss = new DeleteCustomE2EServiceInstance() +dss.sendSyncError(execution) + + + + + SequenceFlow_1ihiv5k + SequenceFlow_0zvzs12 + import org.onap.so.bpmn.infrastructure.scripts.* +def dss = new DeleteSliceService() +dss.prepareEndOperationStatus(execution) + + + + + + ${CVFMI_dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${CVFMI_updateServiceOperStatusRequest} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_0zvzs12 + SequenceFlow_10lwgo7 + + + + + + SequenceFlow_0rasmiu + + + + + SequenceFlow_1jipldf + + + + SequenceFlow_0rasmiu + SequenceFlow_1jipldf + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg