AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOCommonBPMN / src / main / groovy / org / openecomp / mso / bpmn / common / scripts / ConfirmVolumeGroupTenant.groovy
index b9fba52..ecb1804 100644 (file)
@@ -25,7 +25,7 @@ import javax.xml.parsers.DocumentBuilderFactory
 \r
 import org.apache.commons.lang3.*\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.openecomp.mso.bpmn.core.WorkflowException\r
 import org.openecomp.mso.rest.APIResponse\r
 import org.w3c.dom.Document\r
@@ -48,7 +48,7 @@ class ConfirmVolumeGroupTenant extends AbstractServiceTaskProcessor{
        String Prefix="CVGT_"\r
        ExceptionUtil exceptionUtil = new ExceptionUtil()\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
                utils.log("DEBUG", " ======== STARTED Confirm Volume Group Tenant Subflow ======== ", isDebugEnabled)\r
@@ -148,7 +148,7 @@ class ConfirmVolumeGroupTenant extends AbstractServiceTaskProcessor{
                utils.log("DEBUG", "=== COMPLETED queryAAIForVolumeGroup Process === ", isDebugEnabled)\r
        }\r
 \r
-       public void assignVolumeHeatId(Execution execution){\r
+       public void assignVolumeHeatId(DelegateExecution execution){\r
                def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix", Prefix)\r
                try{\r
@@ -170,7 +170,7 @@ class ConfirmVolumeGroupTenant extends AbstractServiceTaskProcessor{
        utils.log("DEBUG", "======== COMPLETED Confirm Volume Group Tenant Subflow ======== ", isDebugEnabled)\r
 }\r
 \r
-       public void assignWorkflowException(Execution execution, String message){\r
+       public void assignWorkflowException(DelegateExecution execution, String message){\r
                def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix", Prefix)\r
                String processKey = getProcessKey(execution);\r