1710 Rebase - Second Attempt
[so.git] / bpmn / MSOCommonBPMN / src / main / groovy / org / openecomp / mso / bpmn / common / scripts / SDNCAdapter.groovy
index 0f05a6b..d37e889 100644 (file)
@@ -50,7 +50,8 @@ public class SDNCAdapter extends AbstractServiceTaskProcessor {
                        execution.setVariable("asynchronousResponseTimeout", false)\r
                        execution.setVariable("continueListening", false)\r
                        execution.setVariable("SDNCA_SuccessIndicator", false)\r
-\r
+                       execution.setVariable("SDNCA_InterimNotify", false)\r
+                       \r
                        // Authorization Info\r
                        String basicAuthValue = execution.getVariable("URN_mso_adapters_po_auth")\r
                        utils.log("DEBUG", "Obtained BasicAuth userid password for sdnc adapter:" + basicAuthValue, isDebugEnabled)\r
@@ -145,8 +146,8 @@ public class SDNCAdapter extends AbstractServiceTaskProcessor {
                        utils.logAudit("Outgoing SDNCAdapterRequest:\n" + sdncAdapterRequest)\r
                        execution.setVariable("sdncAdapterRequest", sdncAdapterRequest)\r
 \r
-                       utils.log("DEBUG", execution.getVariable("sdncAdapterRequest"), isDebugEnabled)
-                       utils.log("DEBUG", execution.getVariable("URN_mso_adapters_sdnc_endpoint"), isDebugEnabled)
+                       utils.log("DEBUG", execution.getVariable("sdncAdapterRequest"), isDebugEnabled)\r
+                       utils.log("DEBUG", execution.getVariable("URN_mso_adapters_sdnc_endpoint"), isDebugEnabled)\r
                }catch(Exception e){\r
                        utils.log("DEBUG", 'Internal Error occured during PreProcess Method: ' + e, isDebugEnabled)\r
                        exceptionUtil.buildAndThrowWorkflowException(execution, 9999, 'Internal Error occured during PreProcess Method') // TODO: what message and error code?\r
@@ -178,7 +179,7 @@ public class SDNCAdapter extends AbstractServiceTaskProcessor {
                                utils.log("DEBUG","DECODED SDNCCallback RequestData is:\n" + callbackRequestData, isDebugEnabled)\r
 \r
                                String sdncAdapterWorkflowResponse ="""\r
-                                               <sdncadapterworkflow:SDNCAdapterWorkflowResponse xmlns:sdncadapterworkflow="http://org.openecomp/mso/workflow/schema/v1">
+                                               <sdncadapterworkflow:SDNCAdapterWorkflowResponse xmlns:sdncadapterworkflow="http://org.openecomp/mso/workflow/schema/v1">\r
                                                <sdncadapterworkflow:response-data>\r
                                                ${callbackHeader}\r
                                                ${callbackRequestData}\r