AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOCommonBPMN / src / main / groovy / org / openecomp / mso / bpmn / common / scripts / GenericDeleteVnf.groovy
index ea7365c..d6a49d9 100644 (file)
@@ -24,7 +24,7 @@ import static org.apache.commons.lang3.StringUtils.*
 \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.rest.APIResponse\r
 import org.springframework.web.util.UriUtils\r
 \r
@@ -84,7 +84,7 @@ class GenericDeleteVnf extends AbstractServiceTaskProcessor{
         *\r
         * @param - execution\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 GenericDeleteVnf PreProcessRequest Process*** ", isDebugEnabled)\r
@@ -130,7 +130,7 @@ class GenericDeleteVnf extends AbstractServiceTaskProcessor{
         *\r
         * @param - execution\r
         */\r
-       public void getVnfResourceVersion(Execution execution){\r
+       public void getVnfResourceVersion(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix",Prefix)\r
                utils.log("DEBUG", " *** STARTED GenericDeleteVnf GetVnfResourceVersion Process*** ", isDebugEnabled)\r
@@ -208,7 +208,7 @@ class GenericDeleteVnf extends AbstractServiceTaskProcessor{
         *\r
         * @param - execution\r
         */\r
-       public void deleteVnf(Execution execution){\r
+       public void deleteVnf(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix",Prefix)\r
                utils.log("DEBUG", " *** STARTED GenericDeleteVnf DeleteVnf Process*** ", isDebugEnabled)\r