From b1e5734ef566af5d49ba17d05ca0ab7b56d6666d Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Tue, 9 May 2017 03:55:30 -0700 Subject: [MSO-8] Additional fixes for the second rebase DB fixes + BPMN flows and groovy fixes + Fix issue with CloudConfig file not reloaded properly when it's wrong (JSON error or model hierarchy mistake) at MSO startup Change-Id: I2853030b78499e2a761706b643ea210955e72de3 Signed-off-by: Determe, Sebastien (sd378r) [MSO-8] Restore files removed in patch set 2 Those groovy files must be there Change-Id: I9a47ac3d9c8fc06774a1b8f518491b1b0b00af04 Signed-off-by: Determe, Sebastien (sd378r) --- .../src/main/resources/subprocess/DoCreateVnf.bpmn | 312 ++++++++++++++++----- 1 file changed, 239 insertions(+), 73 deletions(-) (limited to 'bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateVnf.bpmn') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateVnf.bpmn b/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateVnf.bpmn index 5e88527676..8411c56bef 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateVnf.bpmn +++ b/bpmn/MSOInfrastructureBPMN/src/main/resources/subprocess/DoCreateVnf.bpmn @@ -9,7 +9,7 @@ SequenceFlow_1 SequenceFlow_2 @@ -42,7 +42,7 @@ exceptionUtil.buildWorkflowException(execution, 404, "Service Instance Not Found found - + @@ -64,7 +64,7 @@ exceptionUtil.buildWorkflowException(execution, 404, "Service Instance Not Found - found + VnfNameSpecified1 SequenceFlow_7 @@ -86,9 +86,10 @@ exceptionUtil.buildWorkflowException(execution, 5000, "Generic Vnf Already Exist vnfExistNo + VnfNameNotSpecified1 SequenceFlow_11 @@ -123,21 +124,20 @@ exceptionUtil.processJavaException(execution)]]> - SequenceFlow_15z3gpq - SequenceFlow_0ay5l4b + SdncInteractionNotEnabled + SequenceFlow_0bj7c4s - - + - SequenceFlow_0ttqcwx + SdncInteractionEnabled SequenceFlow_1q6udwm @@ -155,19 +155,20 @@ createVnf.preProcessSDNCAssignRequest(execution)]]> SequenceFlow_15knw0q - SequenceFlow_0c5h00o SequenceFlow_0lnh79j + +String response = execution.getVariable("DoCVNF_assignSDNCAdapterResponse") + +def createVnfInfra = new DoCreateVnf() createVnfInfra.validateSDNCResponse(execution, response, "assign")]]> - SequenceFlow_0c5h00o + SequenceFlow_1q1poly + VnfNameSpecified2 SequenceFlow_1lalmvp @@ -187,30 +188,102 @@ createVnf.preProcessSDNCActivateRequest(execution)]]> SequenceFlow_0eb41vb SequenceFlow_15z3gpq - + SequenceFlow_1gc18ih - SequenceFlow_0ttqcwx - SequenceFlow_0ay5l4b + SdncInteractionEnabled + SdncInteractionNotEnabled - - + + - + SequenceFlow_0seif8n SequenceFlow_1gc18ih + + found + VnfNameNotSpecified1 + VnfNameSpecified1 + + + + + + + + + + SequenceFlow_0lnh79j + VnfNameNotSpecified2 + VnfNameSpecified2 + + + + + + + + VnfNameNotSpecified2 + SequenceFlow_1h9jdgr + + + + + + + + + + + + + SequenceFlow_1h9jdgr + SequenceFlow_14xac2y + + + SequenceFlow_14xac2y + SequenceFlow_1q1poly + + + + + + + + + + + + SequenceFlow_0nhsdmj + SequenceFlow_0bj7c4s + + + + SequenceFlow_15z3gpq + SequenceFlow_0nhsdmj + + @@ -243,27 +316,27 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - + - + - + - + - - + + - + @@ -280,11 +353,10 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - - - + + - + @@ -339,9 +411,9 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - + - + @@ -400,32 +472,25 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - - - - - - - - - + + - + - - + + - + - - + + - + @@ -438,36 +503,37 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - + - + - + - + - + - - - + + + - + - - - - + + + + + - + @@ -479,14 +545,114 @@ createVnf.postProcessCreateGenericVnf(execution)]]> - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg