From b710a2fd14ad1e9da3c0295836ed40dbc466fc7b Mon Sep 17 00:00:00 2001 From: Priyadharshini Date: Thu, 10 Sep 2020 12:24:04 +0530 Subject: Implement Deallocate RAN NSSI Workflow Issue-ID: SO-3230 Signed-off-by: Priyadharshini Change-Id: I37ce7d21eaba8ea60a91a7034501211b2cf3a987 --- .../subprocess/DoDeallocateAccessNSSI.bpmn | 1226 ++++++++++++++++++++ 1 file changed, 1226 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateAccessNSSI.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateAccessNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateAccessNSSI.bpmn new file mode 100644 index 0000000000..5e4b73070d --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateAccessNSSI.bpmn @@ -0,0 +1,1226 @@ + + + + + Flow_14g5p2j + + + + Flow_14g5p2j + Flow_1hm17vz + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.preProcessRequest(execution) + + + + + + Flow_150eq0z + Flow_12fyi2n + Flow_0m12xsi + + + + #{execution.getVariable("terminateAnNSSI") == true} + + + + + Flow_1o2mo3u + Flow_02jtaed + Flow_16hk034 + + + #{execution.getVariable("terminateAnNfNSSI") == true} + + + + + Flow_1lfvp5s + + + + Flow_0cj22bs + + + + + + + + Flow_1hm17vz + Flow_0kt6k2i + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.getRelatedInstances(execution) + + + Flow_0kt6k2i + Flow_08ncj77 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareOOFAnNssiTerminationRequest(execution) + + + Flow_08ncj77 + Flow_150eq0z + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.performOofAnNSSITerminationCall(execution) + + + Flow_12fyi2n + Flow_0m3x1ra + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareOOFAnNfNssiTerminationRequest(execution) + + + Flow_0m3x1ra + Flow_1o2mo3u + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.performOofAnNfNSSITerminationCall(execution) + + + Flow_1x4e0k3 + + + + Flow_0hdpgak + Flow_1lfvp5s + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.deallocateAnNfNssi(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1bgguw0 + Flow_1x4e0k3 + + + + + Flow_0vcn5tl + Flow_1bgguw0 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"processing","40","AN NF NSSI deallocated") + + + Flow_0hlt6jq + Flow_1pm77xu + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"processing","40","AN NF NSSI deleted") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1pm77xu + Flow_0hdpgak + + + + + Flow_0azlxam + Flow_1njlj9z + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +String responseDescriptor = execution.getVariable("an_responseDescriptor") + +deallocator.validateJobStatus(execution, responseDescriptor) + + + Flow_1nh3x4j + Flow_1g9lfjr + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"finished","100","Deallocated successfully") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1g9lfjr + Flow_04bem88 + + + + Flow_0m12xsi + Flow_1xqtf63 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"processing","20","callingmodifyNSSI modifyAction-deallocate") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1xqtf63 + Flow_1s5fdmz + + + + + Flow_07m650f + Flow_1ib3uzg + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"processing","60","TN-FH terminated") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1ib3uzg + Flow_15bkzm7 + + + + + + Flow_04bem88 + + + + Flow_0cj22bs + Flow_0x1wi2t + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.terminateTNFHNssi(execution) + + + Flow_15bkzm7 + Flow_04coe09 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.terminateTNMHNssi(execution) + + + + Flow_1q1450g + + + + Flow_035ivcv + + + Flow_0nsc2oc + Flow_035ivcv + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0alqcat + Flow_0nsc2oc + + + Flow_1q1450g + Flow_0alqcat + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"failed","0","Job Failed") + + + + + + + + + + + + + + + Flow_12cm0xq + Flow_0azlxam + + + + Flow_01xixn8 + Flow_1ai7sri + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareUpdateJobStatus(execution,"finished","100","Deallocated successfully") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1ai7sri + Flow_17mns9c + + + + Flow_02jtaed + Flow_1she7i5 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareSdnrRequest(execution) + + + + + + + + + + + Flow_1she7i5 + Flow_02pdd51 + + + Flow_1bpg97k + Flow_0hlt6jq + Flow_1uz3kjn + + + #{execution.getVariable("isAnNfTerminated") == true} + + + + Flow_1uz3kjn + + + + + + Flow_02pdd51 + Flow_1bpg97k + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.processSdnrResponse(execution) + + + + Flow_0bkcs42 + + + + Flow_1b5mtc4 + + + Flow_0bkcs42 + Flow_1b5mtc4 + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + + + + + + + + + + + + + + + + Flow_1ywvasn + Flow_1udlwb4 + + + + Flow_1s5fdmz + Flow_0x71rer + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.preparejobForANNSSIModification(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${initResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0x71rer + Flow_1ywvasn + + + + Flow_17mns9c + + + + + + Flow_1udlwb4 + Flow_12cm0xq + import org.onap.so.bpmn.infrastructure.scripts.* + +String jobId = execution.getVariable("modificationJobId") +String networkType="an" +String nssiid=execution.getVariable("serviceInstanceID") + +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareQueryJobStatus(execution, jobId,networkType, nssiid) + + + Flow_1njlj9z + Flow_01xixn8 + Flow_0klaefp + + + + #{execution.getVariable("isSuccess") == true} + + + Flow_0klaefp + + + + + + + + + + + + + Flow_11vezy6 + Flow_0sg1a2h + + + Flow_0sg1a2h + Flow_1yidpp1 + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +String responseDescriptor = execution.getVariable("tnFh_responseDescriptor") + +deallocator.validateJobStatus(execution, responseDescriptor) + + + Flow_1yidpp1 + Flow_1gr7m1w + Flow_07m650f + + + Flow_1gr7m1w + + + + + + + + + + + + + + + Flow_16qo8iw + Flow_0cmkk7f + + + Flow_0cmkk7f + Flow_17caqnb + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +String responseDescriptor = execution.getVariable("tnMh_responseDescriptor") + +deallocator.validateJobStatus(execution, responseDescriptor) + + + Flow_17caqnb + Flow_0jz37j1 + Flow_03fig6p + + + Flow_0jz37j1 + + + + + + + Flow_04coe09 + Flow_16qo8iw + import org.onap.so.bpmn.infrastructure.scripts.* + +String jobId = execution.getVariable("TN_MH_jobId") +String networkType="tn" +String nssiid=execution.getVariable("tnMHNSSIId") + +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareQueryJobStatus(execution, jobId,networkType, nssiid) + + + + + #{execution.getVariable("isSuccess") == true} + + + Flow_0x1wi2t + Flow_11vezy6 + import org.onap.so.bpmn.infrastructure.scripts.* + +String jobId = execution.getVariable("TN_FH_jobId") +String networkType="tn" +String nssiid=execution.getVariable("tnFHNSSIId") + +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.prepareQueryJobStatus(execution, jobId,networkType, nssiid) + + + + + #{execution.getVariable("isSuccess") == true} + + + Flow_03fig6p + + + + Flow_0omhxaj + + + + + Flow_0omhxaj + Flow_0412ven + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.deleteRanNfSliceProfileInAAI(execution) + + + Flow_0412ven + Flow_0tlog6y + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.deleteTNSliceProfileInAAI(execution) + + + Flow_0tlog6y + Flow_1nh3x4j + import org.onap.so.bpmn.infrastructure.scripts.* +def deallocator = new DoDeAllocateAccessNSSI() +deallocator.deleteANNSSI(execution) + + + + + + + + + + + + + Flow_16hk034 + Flow_18y4ab2 + + + Flow_18y4ab2 + Flow_0vcn5tl + Flow_0k55zuy + + + + #{execution.getVariable("ranNfStatus") == "success"} + + + + Flow_0k55zuy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg