From 903ed1e60d430c2a4b500283d286dbee0d8eefed Mon Sep 17 00:00:00 2001 From: aleemraja Date: Thu, 17 Sep 2020 11:58:30 +0530 Subject: Implement Activate and Deactivate Core NSSMF workflow Issue-ID: SO-3235 Signed-off-by: aleemraja Change-Id: I37ce7d21eaba8ea60a91a7034508965b2cf3a987 --- .../resources/subprocess/DoActivateCoreNSSI.bpmn | 420 +++++++++++++++++++++ 1 file changed, 420 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateCoreNSSI.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateCoreNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateCoreNSSI.bpmn new file mode 100644 index 0000000000..b422545e84 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateCoreNSSI.bpmn @@ -0,0 +1,420 @@ + + + + + SequenceFlow_0wwo1lh + + + SequenceFlow_0wwo1lh + SequenceFlow_139ejmn + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.preProcessRequest(execution) + + + SequenceFlow_1654pt0 + SequenceFlow_09nihof + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.getServiceVNFAndVFsFromCatalogDB(execution) + + + SequenceFlow_09nihof + SequenceFlow_0fbr356 + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.prepareSOMacroRequestPayLoad(execution) + + + SequenceFlow_1e20i9g + SequenceFlow_0j0egoi + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.updateSliceProfileOrchestrationStatus(execution) + + + SequenceFlow_139ejmn + SequenceFlow_1654pt0 + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.getNetworkInstanceWithSPInstanceAssociatedWithNssiId(execution) + + + SequenceFlow_1mi4waj + SequenceFlow_0rjd7tg + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.sendPutRequestToSOMacro(execution) + + + Flow_039sx2v + SequenceFlow_18x9gdi + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.prepareCallCheckProcessStatus(execution) + + + + + + + + + + + + + + + + + + + + + SequenceFlow_18x9gdi + SequenceFlow_1l9ry0a + + + SequenceFlow_1l9ry0a + SequenceFlow_0wx21io + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.prepareUpdateResourceOperationStatus(execution) + + + + + + + + + SequenceFlow_0fbr356 + + + + + SequenceFlow_1mi4waj + + + + + SequenceFlow_0wx21io + SequenceFlow_1e20i9g + SequenceFlow_07u1gfw + + + + #{(execution.getVariable("isTimeOut") == "NO")} + + + SequenceFlow_0v0dntm + + + + SequenceFlow_0rjd7tg + Flow_039sx2v + Flow_1jchhgj + + + #{(execution.getVariable("isSOResponseSucceed" ) == "yes")} + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1jchhgj + SequenceFlow_0j0egoi + SequenceFlow_07u1gfw + SequenceFlow_0v0dntm + + + + + + + + Flow_149oqyp + + + + Flow_1qooaff + + + Flow_1iqw69c + Flow_1qooaff + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_149oqyp + Flow_1dh5sht + import org.onap.so.bpmn.infrastructure.scripts.* +def activateNssi = new DoActivateCoreNSSI() +activateNssi.prepareFailedOperationStatusUpdate(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1dh5sht + Flow_1iqw69c + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg