From 4b23ea7fbe55fadd119a3534a578aa86e664ebd9 Mon Sep 17 00:00:00 2001 From: "Boslet, Cory" Date: Mon, 9 Dec 2019 08:49:08 -0500 Subject: refactor fallouthandler Created a new update method to allow accessibility from groovy Ignore test that do not function in groovy. Fixed typo and bug in request db client class Fixed failing junits for falloouthandler Add the request factory to the rest template so that patch works updated check payload keyword to check response Issue-ID: SO-2555 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Iebfea31b659a02069bd6c59c09f025fdc6a99843 --- .../resources/subprocess/CompleteMsoProcess.bpmn | 376 ++------------------- 1 file changed, 34 insertions(+), 342 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/resources/subprocess/CompleteMsoProcess.bpmn') diff --git a/bpmn/MSOCommonBPMN/src/main/resources/subprocess/CompleteMsoProcess.bpmn b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/CompleteMsoProcess.bpmn index 63c867f3c7..72bed98a5f 100644 --- a/bpmn/MSOCommonBPMN/src/main/resources/subprocess/CompleteMsoProcess.bpmn +++ b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/CompleteMsoProcess.bpmn @@ -1,5 +1,5 @@ - + SequenceFlow_18 @@ -10,8 +10,8 @@ preProcessRequestData.preProcessRequest(execution) ]]> - - + + SequenceFlow_18 @@ -34,136 +34,18 @@ preProcessRequestData.preProcessRequest(execution) - - SequenceFlow_9 - - - - SequenceFlow_127i45q - SequenceFlow_10 + + SequenceFlow_2 + SequenceFlow_1oes9qv - - - - - - - - - - - application/soap+xml - #{BasicAuthHeaderValueDB} - #{CMSO_request_id} - - - POST - - ${statusCode} - - soap-http-connector - - - SequenceFlow_10 - SequenceFlow_6 - - - - SequenceFlow_1 - SequenceFlow_0mipf25 - SequenceFlow_9 - Build Error Message @@@@" -//println "CMSO_updateRequestResponse IS --> " + execution.getVariable("CMSO_updateRequestResponse") -import org.onap.so.bpmn.common.scripts.* -def buildDataErrorMessage = new CompleteMsoProcess() -buildDataErrorMessage.buildDataError(execution, "Complete MSO -- Update DB status to SUCCESS -- Failed")]]> +completeMsoProcess.updateInfraRequestDB(execution)]]> - - - SequenceFlow_6 - SequenceFlow_1 - SequenceFlow_03z8rch - - - - SequenceFlow_0mipf25 - - - SequenceFlow_1pzb94j + SequenceFlow_1oes9qv - - - - - - - - - - SequenceFlow_81 - SequenceFlow_13qdn1s - - - - SequenceFlow_067veaf - SequenceFlow_81 - SequenceFlow_1dptl35 - - - SequenceFlow_1dptl35 - SequenceFlow_13qdn1s - SequenceFlow_1hpvwyt - - - - - - - SequenceFlow_2 - SequenceFlow_067veaf - SequenceFlow_0xe5zck - - - SequenceFlow_12he9a1 - SequenceFlow_1hpvwyt - SequenceFlow_1g8ig3h - - - - - SequenceFlow_0xe5zck - SequenceFlow_127i45q - SequenceFlow_1ffkc0n - - - - - - - SequenceFlow_03z8rch - SequenceFlow_1ffkc0n - SequenceFlow_12he9a1 - - - - - - - - - SequenceFlow_1g8ig3h - SequenceFlow_1pzb94j - Complete MSO Process Done SUCCESSFULLY" -import org.onap.so.bpmn.common.scripts.* -def postProcessResponseData = new CompleteMsoProcess() -postProcessResponseData.postProcessResponse(execution) -println "CompleteMsoProcess Response -->" + "\n" + execution.getVariable("CompletionHandlerResponse")]]> - - + @@ -171,254 +53,64 @@ println "CompleteMsoProcess Response -->" + "\n" + execution.getVariable("Comple - + - + - + - - - + + + - + - - + + - + - - - - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + -- cgit 1.2.3-korg