SequenceFlow_15 badSynchronousResponse goodSynchronousResponse #{execution.getVariable("SDNCA_ResponseCode")=='200'} badSynchronousResponse Exception import org.onap.so.bpmn.common.scripts.* int responseCode = execution.getVariable("SDNCA_ResponseCode") ExceptionUtil exceptionUtil = new ExceptionUtil() exceptionUtil.buildWorkflowException(execution, 7000, "Could not communicate with the SDNC Adapter" ) ${execution.getVariable("mso.adapters.sdnc.endpoint")} POST application/soap+xml #{BasicAuthHeaderValue} ${sdncAdapterRequest} ${response} ${statusCode} soap-http-connector SequenceFlow_8 SequenceFlow_15 Exception SequenceFlow_1 massageSDNCRequestScript SequenceFlow_1 SequenceFlow_8 import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.preProcessRequest(execution) SequenceFlow_9 SequenceFlow_11ah5pw SequenceFlow_14 import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.postProcessResponse(execution) SequenceFlow_14 noTimeoutError SequenceFlow_19 #{execution.getVariable("asynchronousResponseTimeout")==true} SequenceFlow_2 SequenceFlow_9 SequenceFlow_1eciucn SequenceFlow_1eciucn SequenceFlow_16 SequenceFlow_16 SequenceFlow_0mzs1ze SequenceFlow_11ah5pw import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.setTimeout(execution) goodSynchronousResponse SequenceFlow_26 SequenceFlow_2 import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.resetCallbackRequest(execution) noTimeoutError Done SequenceFlow_30 #{execution.getVariable("continueListening")==true} SequenceFlow_1w1za5m SequenceFlow_17 import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.toggleSuccessIndicator(execution) ${sdncAdapterWorkflowResponse} SequenceFlow_17 SequenceFlow_30 SequenceFlow_21 SequenceFlow_26 SequenceFlow_22 SequenceFlow_22 SequenceFlow_27 import org.onap.so.bpmn.common.scripts.* def sdnc= new SDNCAdapter() sdnc.assignError(execution) SequenceFlow_27 SequenceFlow_21 SequenceFlow_4 SequenceFlow_23 #{execution.getVariable("serviceConfigActivate")==true} SequenceFlow_23 this is a non interupting time to prevent an Optimistic Locking Exception if timer expires the same time we correlate a message SequenceFlow_0mzs1ze ${sdncTimeoutValue} SequenceFlow_19 SequenceFlow_193cb6p SequenceFlow_1em7gys SequenceFlow_4 SequenceFlow_193cb6p execution.setVariable("SDNCA_InterimNotify", true) SequenceFlow_1em7gys Done SequenceFlow_1w1za5m execution.setVariable("SDNCA_InterimNotify", false)