From c7caf208e96a9f1f7d9fd43bb3c3d2cb1347a399 Mon Sep 17 00:00:00 2001 From: aleemraja Date: Thu, 17 Sep 2020 13:41:56 +0530 Subject: Implement Allocate Core NSSMF workflow Issue-ID: SO-3234 Signed-off-by: aleemraja Change-Id: I37ce7d21eaba8ea60a91a7034509696b2cf3a987 --- .../subprocess/DoAllocateCoreSharedSlice.bpmn | 367 +++++++++++++++++++++ 1 file changed, 367 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreSharedSlice.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreSharedSlice.bpmn') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreSharedSlice.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreSharedSlice.bpmn new file mode 100644 index 0000000000..0a482beca0 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreSharedSlice.bpmn @@ -0,0 +1,367 @@ + + + + + SequenceFlow_1ym7ydc + + + + Flow_09uu75h + + + + Flow_1r07vnu + Flow_1973d9m + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.getNetworkInstanceAssociatedWithNssiId(execution) + + + + SequenceFlow_1ym7ydc + Flow_1r07vnu + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.preProcessRequest(execution) + + + + Flow_0da7dao + SequenceFlow_1j1qqcs + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.prepareSOMacroRequestPayload(execution) + + + SequenceFlow_013bc74 + SequenceFlow_08q2fd9 + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.sendPutRequestToSOMacro(execution) + + + Flow_0x7shtq + Flow_1c9nkx4 + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.prepareCallCheckProcessStatus(execution) + + + + + + + + + + + + + + + + + + + + + Flow_1c9nkx4 + Flow_0c94gye + + + + + Flow_1973d9m + Flow_0da7dao + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.getServiceVNFAndVFsFromCatalogDB(execution) + + + Flow_0c94gye + SequenceFlow_1re5jor + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.prepareUpdateResourceOperationStatus(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + SequenceFlow_1re5jor + Flow_1nn15tq + Flow_09uu75h + + + + + + + SequenceFlow_1j1qqcs + + + + SequenceFlow_013bc74 + + + + + SequenceFlow_08q2fd9 + Flow_0x7shtq + Flow_1nn15tq + + + + #{(execution.getVariable("isSOResponseSucceed" ) == "no")} + + + + Flow_0nauwik + + + + Flow_0y8rsb3 + + + Flow_128o22z + Flow_0y8rsb3 + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_0nauwik + Flow_0kadgoq + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreSharedSlice() +allocateNssi.prepareFailedOperationStatusUpdate(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0kadgoq + Flow_128o22z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg