From d952e2e431da1e517f0fac973561288fe2876d42 Mon Sep 17 00:00:00 2001 From: Priyadharshini Date: Wed, 9 Sep 2020 20:19:25 -0700 Subject: Implement Activate/Deactivate RAN NSSMF Workflow Issue-ID: SO-3229 Signed-off-by: Priyadharshini Change-Id: I309da1227f1db8faec10f198351fda66421293b6 --- .../resources/subprocess/DoActivateAccessNSSI.bpmn | 1012 ++++++++++++++++++++ 1 file changed, 1012 insertions(+) create mode 100644 bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateAccessNSSI.bpmn (limited to 'bpmn/so-bpmn-infrastructure-flows') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateAccessNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateAccessNSSI.bpmn new file mode 100644 index 0000000000..d81f5465b3 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateAccessNSSI.bpmn @@ -0,0 +1,1012 @@ + + + + + Flow_0rh43xe + + + + + Flow_00yl2jk + Flow_00fb28f + Flow_0523saw + + + + #{execution.getVariable("shouldChangeAN_NF_SPStatus") == true} + + + Flow_0mtkhmv + + + + Flow_1q7frye + + + + Flow_1b6vtso + + + + + Flow_0523saw + + + + + Flow_1876ml0 + + + + Flow_0uxerfg + Flow_00vt4gf + Flow_0g9k299 + + + + #{execution.getVariable("shouldChangeSPStatus") == true} + + + + Flow_1yd57bl + Flow_0zjaac9 + Flow_10b15um + + + + + #{execution.getVariable("shouldChangeTN_FH_SPStatus") == true} + + + + Flow_0wvzz2r + + + + Flow_10b15um + + + + Flow_1qszzfv + + + + Flow_00clpwn + + + + Flow_0q02qno + Flow_00clpwn + Flow_147tw7h + + + + + + #{execution.getVariable("shouldChangeTN_MH_SPStatus") == true} + + + Flow_14z4acw + Flow_10f44ab + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.getRelatedInstances(execution) + + + Flow_0rh43xe + Flow_14z4acw + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.preProcessRequest(execution) + + + Flow_10f44ab + Flow_0uxerfg + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.getSPOrchStatus(execution) + + + Flow_00vt4gf + Flow_00yl2jk + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.getAnNfSPOrchStatus(execution) + + + Flow_00fb28f + Flow_1gxv9id + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.prepareSdnrActivationRequest(execution) + + + + + + + + + + + Flow_1gxv9id + Flow_0o7xomf + + + + Flow_0o7xomf + Flow_1myzbqw + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.processSdnrResponse(execution) + + + Flow_1myzbqw + Flow_1yrel0t + Flow_1v4zg98 + + + Flow_1v4zg98 + + + + Flow_1sroz8o + Flow_0rizzsm + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator..prepareUpdateJobStatus(execution,"processing","40","AN NF NSSI activation completed") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0rizzsm + Flow_0mtkhmv + + + #{execution.getVariable("isANactivationSuccess") == true} + + + + + + + + + Flow_0tw7xsp + + + + Flow_0y0r82m + + + Flow_1bqk5yt + Flow_0y0r82m + 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_075rb1i + Flow_1bqk5yt + + + Flow_0tw7xsp + Flow_075rb1i + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.prepareUpdateJobStatus(execution,"failed","0","AN NSSI activation Failed") + + + + + + + + + Flow_0cvs8zk + Flow_01jdnrt + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_01jdnrt + + + Flow_0cvs8zk + + + + + + + Flow_1yrel0t + Flow_1sroz8o + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.updateAnNfStatus(execution) + + + + Flow_1q7frye + Flow_1yd57bl + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.getTnFhSPOrchStatus(execution) + + + Flow_0zjaac9 + Flow_0heuc95 + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.doTnFhNssiActivation(execution) + + + Flow_0heuc95 + Flow_1w3h345 + import org.onap.so.bpmn.infrastructure.scripts.* + +String jobId = execution.getVariable("TN_FH_jobId") +String networkType="tn" +String nssiid=execution.getVariable("tnFhNssiId") + +def def activator = new DoActivateAccessNSSI() +activator.prepareQueryJobStatus(execution, jobId,networkType, nssiid) + + + + + + + + + + + Flow_1w3h345 + Flow_16pqv7g + + + Flow_16pqv7g + Flow_1i0s8nu + import org.onap.so.bpmn.infrastructure.scripts.* + +String responseDescriptor = execution.getVariable("tn_responseDescriptor") + +def activator = new DoActivateAccessNSSI() +activator.validateJobStatus(execution, responseDescriptor) + + + Flow_1i0s8nu + Flow_0bukcmf + Flow_0ajre96 + + + + + + + #{execution.getVariable("isSuccess") == true} + + + + Flow_0ajre96 + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1ldkgyg + Flow_1qszzfv + + + + + Flow_1b95clk + Flow_1ldkgyg + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.prepareUpdateJobStatus(execution,"processing","60","TN FH NSSI activation completed") + + + Flow_0wvzz2r + Flow_0q02qno + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.getTnMhSPOrchStatus(execution) + + + Flow_1cnfilb + + + + Flow_147tw7h + Flow_1s0xcf5 + import org.onap.so.bpmn.infrastructure.scripts.* + +def activator = new DoActivateAccessNSSI() +activator.doTnMhNssiActivation(execution) + + + Flow_1s0xcf5 + Flow_0sqsq1x + import org.onap.so.bpmn.infrastructure.scripts.* + +String jobId = execution.getVariable("TN_MH_jobId") +String networkType="tn" +String nssiid=execution.getVariable("tnMhNssiId") + +def def activator = new DoActivateAccessNSSI() +activator.prepareQueryJobStatus(execution, jobId,networkType, nssiid) + + + + + + + + + + + Flow_0sqsq1x + Flow_0b7aq1k + + + Flow_0b7aq1k + Flow_0to1idt + import org.onap.so.bpmn.infrastructure.scripts.* + +String responseDescriptor = execution.getVariable("tn_responseDescriptor") + +def activator = new DoActivateAccessNSSI() +activator.validateJobStatus(execution, responseDescriptor) + + + Flow_0to1idt + Flow_1i4cc7e + Flow_0rzuxa0 + + + Flow_0rzuxa0 + + + + Flow_0k5cyz7 + Flow_1wx5w6i + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.prepareUpdateJobStatus(execution,"processing","80","TN MH NSSI activation completed") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1wx5w6i + Flow_1b6vtso + + + + + + #{execution.getVariable("isSuccess") == true} + + + + + + + + Flow_0bukcmf + Flow_1b95clk + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.updateTNFHStatus(execution) + + + Flow_1i4cc7e + Flow_0k5cyz7 + import org.onap.so.bpmn.infrastructure.scripts.* + +def activator = new DoActivateAccessNSSI() +activator.updateTNFHStatus(execution) + + + + Flow_1cnfilb + Flow_0cblklk + import org.onap.so.bpmn.infrastructure.scripts.* + +def activator = new DoActivateAccessNSSI() +activator.updateANStatus(execution) + + + Flow_0cblklk + Flow_06nfip0 + import org.onap.so.bpmn.infrastructure.scripts.* +def activator = new DoActivateAccessNSSI() +activator.prepareUpdateJobStatus(execution,"finished","100","AN NSSI activation completed") + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_06nfip0 + Flow_1876ml0 + + + + + + Flow_0g9k299 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg