AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / DoCreateVfModuleVolumeRollback.groovy
index 0cbcfab..e903a54 100644 (file)
@@ -26,7 +26,7 @@ import groovy.json.*
 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.apache.commons.lang3.*\r
 import org.apache.commons.codec.binary.Base64;\r
 import org.openecomp.mso.bpmn.common.scripts.AaiUtil\r
@@ -52,7 +52,7 @@ public class DoCreateVfModuleVolumeRollback extends AbstractServiceTaskProcessor
         * This method is executed during the preProcessRequest task of the <class>DoCreateVfModuleVolumeRollback.bpmn</class> process.\r
         * @param execution\r
         */\r
-       public InitializeProcessVariables(Execution execution){\r
+       public InitializeProcessVariables(DelegateExecution execution){\r
                /* Initialize all the process variables in this block */\r
 \r
                execution.setVariable(Prefix + "volumeGroupName", null)\r
@@ -68,7 +68,7 @@ public class DoCreateVfModuleVolumeRollback extends AbstractServiceTaskProcessor
         * This method is executed during the preProcessRequest task of the <class>DoCreateVfModuleVolumeRollback.bpmn</class> process.\r
         * @param execution\r
         */\r
-       public void preProcessRequest (Execution execution) {\r
+       public void preProcessRequest (DelegateExecution execution) {\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
 \r
                InitializeProcessVariables(execution)\r
@@ -120,7 +120,7 @@ public class DoCreateVfModuleVolumeRollback extends AbstractServiceTaskProcessor
         * @param execution\r
         * @param isDebugEnabled\r
         */\r
-       public void callRESTQueryAAIVolGrpName(Execution execution, isDebugEnabled) {\r
+       public void callRESTQueryAAIVolGrpName(DelegateExecution execution, isDebugEnabled) {\r
                \r
                def volumeGroupName = execution.getVariable('DCVFMODVOLRBK_volumeGroupName')\r
                def cloudRegion = execution.getVariable('DCVFMODVOLRBK_lcpCloudRegionId')\r
@@ -169,7 +169,7 @@ public class DoCreateVfModuleVolumeRollback extends AbstractServiceTaskProcessor
        \r
        \r
        \r
-       public void callRESTDeleteAAIVolumeGroup(Execution execution, isDebugEnabled) {\r
+       public void callRESTDeleteAAIVolumeGroup(DelegateExecution execution, isDebugEnabled) {\r
 \r
                callRESTQueryAAIVolGrpName(execution, isDebugEnabled)\r
                \r
@@ -216,7 +216,7 @@ public class DoCreateVfModuleVolumeRollback extends AbstractServiceTaskProcessor
 \r
 \r
        \r
-       public void processJavaException(Execution execution){\r
+       public void processJavaException(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix",Prefix)\r
                \r