Merge "Reorder modifiers"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / DoCreateE2EServiceInstanceRollback.groovy
index 743eb1a..84dd0e4 100644 (file)
@@ -37,7 +37,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
@@ -66,7 +66,7 @@ public class DoCreateE2EServiceInstanceRollback extends AbstractServiceTaskProce
 \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
@@ -136,7 +136,7 @@ public class DoCreateE2EServiceInstanceRollback extends AbstractServiceTaskProce
                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
@@ -169,7 +169,7 @@ public class DoCreateE2EServiceInstanceRollback extends AbstractServiceTaskProce
                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
@@ -203,7 +203,7 @@ public class DoCreateE2EServiceInstanceRollback extends AbstractServiceTaskProce
 \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
@@ -221,7 +221,7 @@ public class DoCreateE2EServiceInstanceRollback extends AbstractServiceTaskProce
                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