AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / DoCreateServiceInstanceRollback.groovy
index 9a84c6b..cb69121 100644 (file)
@@ -36,7 +36,7 @@ import org.openecomp.mso.rest.RESTConfig
 import java.util.UUID;\r
 \r
 import org.camunda.bpm.engine.delegate.BpmnError\r
-import org.camunda.bpm.engine.runtime.Execution\r
+import org.camunda.bpm.engine.delegate.DelegateExecution\r
 import org.json.JSONObject;\r
 import org.apache.commons.lang3.*\r
 import org.apache.commons.codec.binary.Base64;\r
@@ -65,7 +65,7 @@ public class DoCreateServiceInstanceRollback extends AbstractServiceTaskProcesso
 \r
        String Prefix="DCRESIRB_"\r
 \r
-       public void preProcessRequest(Execution execution) {\r
+       public void preProcessRequest(DelegateExecution execution) {\r
                def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix",Prefix)\r
                String msg = ""\r
@@ -135,7 +135,7 @@ public class DoCreateServiceInstanceRollback extends AbstractServiceTaskProcesso
                utils.log("DEBUG"," ***** Exit preProcessRequest *****",  isDebugEnabled)\r
        }\r
 \r
-       public void validateSDNCResponse(Execution execution, String response, String method) {\r
+       public void validateSDNCResponse(DelegateExecution execution, String response, String method) {\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                utils.log("DEBUG"," ***** validateSDNCResponse ***** ", isDebugEnabled)\r
                String msg = ""\r
@@ -168,7 +168,7 @@ public class DoCreateServiceInstanceRollback extends AbstractServiceTaskProcesso
                utils.log("DEBUG"," ***** Exit validateSDNCResponse ***** ", isDebugEnabled)\r
        }\r
 \r
-       public void postProcessRequest(Execution execution) {\r
+       public void postProcessRequest(DelegateExecution execution) {\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                utils.log("DEBUG"," ***** postProcessRequest ***** ", isDebugEnabled)\r
                String msg = ""\r
@@ -202,7 +202,7 @@ public class DoCreateServiceInstanceRollback extends AbstractServiceTaskProcesso
 \r
        }\r
 \r
-       public void processRollbackException(Execution execution){\r
+       public void processRollbackException(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                utils.log("DEBUG"," ***** processRollbackException ***** ", isDebugEnabled)\r
                try{\r
@@ -220,7 +220,7 @@ public class DoCreateServiceInstanceRollback extends AbstractServiceTaskProcesso
                utils.log("DEBUG", " Exit processRollbackException", isDebugEnabled)\r
        }\r
 \r
-       public void processRollbackJavaException(Execution execution){\r
+       public void processRollbackJavaException(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                utils.log("DEBUG"," ***** processRollbackJavaException ***** ", isDebugEnabled)\r
                try{\r