From 7455d3001d9f6ed252106f83ef30a501c5470349 Mon Sep 17 00:00:00 2001 From: sr20255772 Date: Fri, 4 Mar 2022 05:16:45 +0000 Subject: Implemented OOF call in TN NSSMF for allocate flow Issue-ID: SO-3866 Change-Id: I40f55a4cbd2c886a98cc7fefa49ddd478a4a1cca Signed-off-by: sr20255772 --- .../subprocess/DoAllocateTransportNSSI.bpmn | 255 ++++++++++++++------- 1 file changed, 174 insertions(+), 81 deletions(-) (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn index b70569b8ad..694be22517 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn @@ -1,11 +1,11 @@ - + SequenceFlow_03s744c - SequenceFlow_1fk37v7 + Flow_071hnt4 @@ -22,7 +22,7 @@ css.preProcessRequest(execution) def css = new TnAllocateNssi() css.processOofSelection(execution) - + SequenceFlow_197cm2e SequenceFlow_12t5exy SequenceFlow_038lb9m @@ -73,7 +73,7 @@ runScript.prepareUpdateJobStatus(execution,"INPROGRESS","10","Allocate TN NSSI s SequenceFlow_0jrclmc - + SequenceFlow_0kixzdj @@ -102,7 +102,7 @@ def runScript = new TnAllocateNssi() runScript.prepareDecomposeService(execution) - SequenceFlow_1fk37v7 + Flow_0nu9t8e SequenceFlow_0h2oree import org.onap.so.bpmn.infrastructure.scripts.* def css = new TnAllocateNssi() @@ -117,7 +117,7 @@ css.prepareOofSelection(execution) - Flow_0pbq5q0 + Flow_13ikwvr @@ -146,9 +146,11 @@ css.prepareOofSelection(execution) - #{(execution.getVariable("isOofTnNssiSelected") == false)} + #{execution.getVariable("isOofTnNssiSelected") == false} + + + #{execution.getVariable("isOofTnNssiSelected") == true} - @@ -160,7 +162,6 @@ css.prepareOofSelection(execution) - SequenceFlow_0n4xku8 @@ -171,14 +172,6 @@ def runScript = new TnAllocateNssi() runScript.updateAAIOrchStatus(execution) - - SequenceFlow_038lb9m - Flow_1853sgs - import org.onap.so.bpmn.infrastructure.scripts.* -def runScript = new TnAllocateNssi() -runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI successfully") - - @@ -192,29 +185,6 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s SequenceFlow_0h2oree SequenceFlow_1cv0wop - - - - - ${dbAdapterEndpoint} - - - application/soap+xml - Basic YnBlbDpwYXNzd29yZDEk - - - ${updateResourceOperationStatus} - POST - ${statusCode} - ${response} - - http-connector - - - Flow_1853sgs - Flow_0pbq5q0 - - @@ -261,12 +231,125 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s Flow_06rrcwf + + Flow_071hnt4 + Flow_0nu9t8e + Flow_0tz6v1f + + + #{execution.getVariable("enableOof") == true} + + + + + Flow_0tz6v1f + + + + SequenceFlow_038lb9m + Flow_10etjmr + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new TnAllocateNssi() +css.prepareModifyTnNssiInputs(execution) + + + + + + + + + + + + + + + + + + + + Flow_10etjmr + Flow_01bdm61 + + + Flow_01bdm61 + Flow_0tvh0t6 + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new TnAllocateNssi() +css.createModifyNssiQueryJobStatus(execution) + + + + + + + + + + + + + + Flow_0tvh0t6 + Flow_0rt0mvl + + + + Flow_0rt0mvl + Flow_13ikwvr + import org.onap.so.bpmn.infrastructure.scripts.* +def css = new TnAllocateNssi() +css.processModifyJobStatusRsp(execution) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -275,14 +358,6 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - - - - - - - - @@ -291,17 +366,13 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - - - - - - + + @@ -338,26 +409,27 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - - - + + + + - + - - + + - + - + - + @@ -387,9 +459,9 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - + - + @@ -404,6 +476,15 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s + + + + + + + + + @@ -449,7 +530,7 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - + @@ -458,15 +539,9 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - + - - - - - - - + @@ -475,14 +550,8 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s - - - - - - - + @@ -490,6 +559,30 @@ runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI s + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg