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 --- .../main/resources/subprocess/FalloutHandler.bpmn | 486 ++------------------- 1 file changed, 47 insertions(+), 439 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/resources/subprocess/FalloutHandler.bpmn') diff --git a/bpmn/MSOCommonBPMN/src/main/resources/subprocess/FalloutHandler.bpmn b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/FalloutHandler.bpmn index 6914e7575f..0c7a8ac063 100644 --- a/bpmn/MSOCommonBPMN/src/main/resources/subprocess/FalloutHandler.bpmn +++ b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/FalloutHandler.bpmn @@ -1,178 +1,37 @@ - + - - SequenceFlow_12 - SequenceFlow_2 - SequenceFlow_24 - - - - - SequenceFlow_2 - SequenceFlow_3 - SequenceFlow_23 - - - - - SequenceFlow_10 - SequenceFlow_12 + SequenceFlow_1kx7ea5 - - + SequenceFlow_10 - - SequenceFlow_37 - SequenceFlow_38 - SequenceFlow_8 - - - SequenceFlow_8 + SequenceFlow_1u8shdz SequenceFlow_9 - - SequenceFlow_23 - SequenceFlow_0m7gwor - SequenceFlow_38 - - - - SequenceFlow_24 - SequenceFlow_25 - SequenceFlow_26 - - - - - - - - - - - POST - - - application/soap+xml - #{BasicAuthHeaderValueDB} - #{FH_request_id} - - - - update Request Gamma" -import org.onap.so.bpmn.common.scripts.* -def updateRequestGamma= new FalloutHandler() -return updateRequestGamma.updateRequestGammaPayload(execution)]]> - - - ${statusCode} - - soap-http-connector - - - SequenceFlow_25 - SequenceFlow_29 - - - - SequenceFlow_72 - - - - SequenceFlow_35 - SequenceFlow_36 - SequenceFlow_37 - - - + SequenceFlow_9 - - - SequenceFlow_72 - SequenceFlow_31 - SequenceFlow_79 + + SequenceFlow_1kx7ea5 + SequenceFlow_1u8shdz +falloutHandler.updateInfraRequestDB(execution)]]> - - - SequenceFlow_29 - SequenceFlow_31 - SequenceFlow_35 - - - - - - - SequenceFlow_32 - SequenceFlow_80 - SequenceFlow_73 - - - - - - - - - POST - - - application/soap+xml - #{BasicAuthHeaderValueDB} - #{FH_request_id} - - - - update Request Infra" -import org.onap.so.bpmn.common.scripts.* -def updateRequestInfra= new FalloutHandler() -return updateRequestInfra.updateRequestInfraPayload(execution)]]> - - - ${statusCode} - - soap-http-connector - - - SequenceFlow_26 - SequenceFlow_30 - - - - SequenceFlow_30 - SequenceFlow_32 - SequenceFlow_36 - - - - - - - SequenceFlow_80 - - - SequenceFlow_1ko8ggw @@ -200,345 +59,94 @@ execution.setVariable("FH_WorkflowException", wfe)]]> - - SequenceFlow_73 - - - - SequenceFlow_79 - - - - - - - - - - - SequenceFlow_3 - SequenceFlow_0m7gwor - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - + - - - - + - - - - - - - - - - - - - - - - + - + - - - - - - - - + + + - + - - - - - + + + + - + - - - + + + - + - - - + + + - + - - - -- cgit 1.2.3-korg