From 47397faa188acd9fa3c07e79018e0919c0055f3a Mon Sep 17 00:00:00 2001 From: alexanb Date: Thu, 24 Sep 2020 21:20:49 +0300 Subject: Enrich Deallocate and Modify Core NSSI sub-processes Issue-ID: SO-3267 Change-Id: Iffcc8f0d12ed75683d8a1e2e80e5608b1271f7d6 Signed-off-by: alexanb --- .../resources/subprocess/DoDeallocateCoreNSSI.bpmn | 418 ++++++++++++++++----- .../resources/subprocess/DoModifyCoreNSSI.bpmn | 417 +++++++++++++------- 2 files changed, 606 insertions(+), 229 deletions(-) (limited to 'bpmn/so-bpmn-infrastructure-flows/src/main') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateCoreNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateCoreNSSI.bpmn index 81ed921a5f..b55b7c41f0 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateCoreNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateCoreNSSI.bpmn @@ -1,5 +1,5 @@ - + Flow_0xxq2h8 @@ -83,11 +83,11 @@ def dcnssi= new DoDeallocateCoreNSSI() Flow_009x8vn - Flow_1r39237 Flow_12nxpx6 + Flow_1r39237 - Flow_15rk73d + Flow_095vvrk Flow_1r39237 @@ -96,18 +96,15 @@ def dcnssi= new DoDeallocateCoreNSSI() def dcnssi= new DoDeallocateCoreNSSI() dcnssi.deleteNSSIServiceInstance(execution) - - #{(execution.getVariable("isTerminateNSSI" ) == true)} - - - Flow_12nxpx6 + Flow_04hswb4 + Flow_12nxpx6 Flow_15rk73d import org.onap.so.bpmn.infrastructure.scripts.* def dcnssi= new DoDeallocateCoreNSSI() - dcnssi.updateServiceOperationStatus(execution) + dcnssi.prepareUpdateResourceOperationStatus(execution) - + Flow_0e3yvck @@ -125,12 +122,12 @@ def dcnssi= new DoDeallocateCoreNSSI() - Flow_178myd8 - Flow_1b14can + Flow_1mrr969 + Flow_1gxcve5 - - + + Flow_16j7pjk @@ -139,8 +136,7 @@ def dcnssi= new DoDeallocateCoreNSSI() - - + Flow_0g84uy5 Flow_189j30m @@ -150,46 +146,180 @@ def dcnssi= new DoDeallocateCoreNSSI() + + + Flow_0z51qfz + + + + Flow_139pcs3 + + + Flow_1vq4jz8 + Flow_139pcs3 + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_0z51qfz + Flow_1cl22g1 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi = new DoDeallocateCoreNSSI() +dcnssi.prepareFailedOperationStatusUpdate(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_1cl22g1 + Flow_1vq4jz8 + + + + + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_15rk73d + Flow_095vvrk + + + + Flow_1b14can + Flow_1qej57v + Flow_1h8q1h1 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi= new DoDeallocateCoreNSSI() +dcnssi.getDeleteServiceOrderProgress(execution) + + + + Flow_1h8q1h1 + Flow_1mrr969 + Flow_1j1en2h + + + + Flow_1j1en2h + Flow_1qej57v + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi= new DoDeallocateCoreNSSI() +dcnssi.timeDelay(execution) + + + #{(execution.getVariable("deleteStatus" ) == "processing" )} + + + + Flow_178myd8 + Flow_0att74c + Flow_0pvh1x9 + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi= new DoDeallocateCoreNSSI() +dcnssi.getPUTServiceInstanceProgress(execution) + + + + + #{(execution.getVariable("isTerminateNSSI" ) == true)} + + + Flow_0pvh1x9 + Flow_1gxcve5 + Flow_0afgah7 + + + + Flow_0afgah7 + Flow_0att74c + import org.onap.so.bpmn.infrastructure.scripts.* +def dcnssi= new DoDeallocateCoreNSSI() +dcnssi.timeDelay(execution) + + + #{(execution.getVariable("putStatus" ) == "processing" )} + + + + + + + + + + - - + + - - + + + - - - - + + - - + + - - + + - - + + - - + - - + + @@ -199,20 +329,20 @@ def dcnssi= new DoDeallocateCoreNSSI() - - + + - - + + - - + + - - + + @@ -222,14 +352,15 @@ def dcnssi= new DoDeallocateCoreNSSI() - - + + - - + + + - + @@ -240,13 +371,55 @@ def dcnssi= new DoDeallocateCoreNSSI() - - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -257,83 +430,144 @@ def dcnssi= new DoDeallocateCoreNSSI() + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + + + + + + + + + + + + + + - + - + - + - + - - - - - - - + - + - + - - + + + + + - + - + - + - - + + - + - - - - - - - - + + - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyCoreNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyCoreNSSI.bpmn index 1f1fe4e735..e0c0b9a994 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyCoreNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyCoreNSSI.bpmn @@ -1,5 +1,5 @@ - + Flow_0e007rx @@ -28,11 +28,11 @@ def mcnssi= new DoModifyCoreNSSI() - Flow_0s31teg + Flow_1hm2xps Flow_1pls2hu Flow_03gf14v - + Flow_1pls2hu @@ -45,87 +45,54 @@ def mcnssi= new DoModifyCoreNSSI() - + Flow_0l7hcnf Flow_0lrenyo Flow_0yq24um import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new DoDeallocateCoreNSSI() - mcnssi.updateServiceOperationStatus(execution) +def mcnssi= new DoModifyCoreNSSI() + mcnssi.prepareUpdateResourceOperationStatus(execution) - Flow_0yq24um + Flow_1yphs5r - + - Flow_1xysykm + Flow_1twqfsc Flow_11vf6ik - - Flow_1xysykm - Flow_1nxaeez - import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new DoModifyCoreNSSI() - mcnssi.calculateSNSSAI(execution) - - - - Flow_1nxaeez - Flow_0ccqmju - import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() - mcnssi.invokePUTServiceInstance(execution) - - - Flow_0ccqmju + Flow_1twqfsc Flow_1fdpbsx import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() +def mcnssi= new DoModifyCoreNSSI() mcnssi.createSliceProfileInstance(execution) - Flow_1fdpbsx Flow_0l7hcnf import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() +def mcnssi= new DoModifyCoreNSSI() mcnssi.associateSliceProfileInstanceWithNSSI(execution) - - Flow_11vf6ik - Flow_1oeokwy - import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new DoModifyCoreNSSI() - mcnssi.calculateSNSSAI(execution) - - - - Flow_1oeokwy - Flow_15fi92t - import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() - mcnssi.invokePUTServiceInstance(execution) - - + - Flow_15fi92t + Flow_11vf6ik Flow_1wtv1zj import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() +def mcnssi= new DoModifyCoreNSSI() mcnssi.removeSPAssociationWithNSSI(execution) - Flow_1wtv1zj Flow_0lrenyo import org.onap.so.bpmn.infrastructure.scripts.* -def mcnssi= new ModifyCoreNSSI() +def mcnssi= new DoModifyCoreNSSI() mcnssi.deleteSliceProfileInstance(execution) @@ -140,90 +107,223 @@ def mcnssi= new ModifyCoreNSSI() + + + Flow_1i9kph3 + + + + Flow_00tfsrn + + + Flow_07ftouz + Flow_00tfsrn + import org.onap.so.bpmn.common.scripts.* +ExceptionUtil ex = new ExceptionUtil() +ex.processJavaException(execution) + + + Flow_1i9kph3 + Flow_14kgrjc + import org.onap.so.bpmn.infrastructure.scripts.* +def mcnssi = new DoModifyCoreNSSI() +mcnssi.prepareFailedOperationStatusUpdate(execution) + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_14kgrjc + Flow_07ftouz + + + + + + + + + + + ${dbAdapterEndpoint} + + + application/soap+xml + Basic YnBlbDpwYXNzd29yZDEk + + + ${updateResourceOperationStatus} + POST + ${statusCode} + ${response} + + http-connector + + + Flow_0yq24um + Flow_1yphs5r + + + + Flow_0s31teg + Flow_0fj4doc + import org.onap.so.bpmn.infrastructure.scripts.* +def mcnssi= new DoModifyCoreNSSI() + mcnssi.calculateSNSSAI(execution) + + + + Flow_0fj4doc + Flow_1y0m22h + import org.onap.so.bpmn.infrastructure.scripts.* +def mcnssi= new DoModifyCoreNSSI() + mcnssi.invokePUTServiceInstance(execution) + + + + Flow_1y0m22h + Flow_1jm7045 + Flow_0nxwq7b + import org.onap.so.bpmn.infrastructure.scripts.* +def mcnssi= new DoModifyCoreNSSI() +mcnssi.getPUTServiceInstanceProgress(execution) + + + Flow_0nxwq7b + Flow_1hm2xps + Flow_06or8oz + + + + + Flow_06or8oz + Flow_1jm7045 + import org.onap.so.bpmn.infrastructure.scripts.* +def mcnssi= new DoModifyCoreNSSI() +mcnssi.timeDelay(execution) + + + + #{(execution.getVariable("putStatus" ) == "processing" )} + + - - + + - + - - - - + + + - - - - + + + - - - - - - - - - - + + - - + + - - - - - - - - - - - - - - + + - - + + - - + + - + - - + + - + - - + + - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -231,80 +331,123 @@ def mcnssi= new ModifyCoreNSSI() + + + - + - + + + + - - + + + + + + + + - + - + - + - - + + - + - - - - - + + - + + + + + + + - + - + + + + + + + - + - + - - + + - - + + - - + + - - + + + + + + + + - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + -- cgit 1.2.3-korg