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/DoAllocateCoreNonSharedSlice.bpmn | 368 +++++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreNonSharedSlice.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreNonSharedSlice.bpmn') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreNonSharedSlice.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreNonSharedSlice.bpmn new file mode 100644 index 0000000000..22eeceea51 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateCoreNonSharedSlice.bpmn @@ -0,0 +1,368 @@ + + + + + SequenceFlow_0vxnxew + + + SequenceFlow_0pkw03j + Flow_1xofp8o + Flow_0ebyiqk + + + + + + Flow_13lzgo4 + SequenceFlow_1terk7m + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.createNSSIinAAI(execution) + + + SequenceFlow_1terk7m + SequenceFlow_0qeif6i + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.prepareServiceOrderRequest(execution) + + + SequenceFlow_0cqjgbm + SequenceFlow_0pkw03j + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.postNBIServiceOrder(execution) + + + #{(execution.getVariable("ServiceOrderId" ) != null && execution.getVariable("ServiceOrderId" ) != "" )} + + + SequenceFlow_1g8lnjx + Flow_1hjbkma + SequenceFlow_0zuc4mh + + + + Flow_0ginxdy + + + + SequenceFlow_0vxnxew + Flow_13lzgo4 + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.preProcessRequest(execution) + + + Flow_1xofp8o + Flow_0d9xaja + SequenceFlow_1g8lnjx + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.getNBIServiceOrderProgress(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0ebyiqk + Flow_140j38y + Flow_0ginxdy + + + + + + #{(execution.getVariable("status" ) == "processing" )} + + + + SequenceFlow_0zuc4mh + Flow_0d9xaja + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.timeDelay(execution) + + + Flow_1hjbkma + Flow_140j38y + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.updateRelationship(execution) + + + + + SequenceFlow_0qeif6i + + + + SequenceFlow_0cqjgbm + + + + + + Flow_022y6dc + + + + Flow_0luurk9 + + + Flow_07lojd9 + Flow_0luurk9 + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_022y6dc + Flow_0g444ik + import org.onap.so.bpmn.infrastructure.scripts.* +def allocateNssi = new DoAllocateCoreNonSharedSlice() +allocateNssi.prepareFailedOperationStatusUpdate(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0g444ik + Flow_07lojd9 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg