AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOCommonBPMN / src / main / groovy / org / openecomp / mso / bpmn / common / scripts / GenericPutVnf.groovy
index 04f0ab7..e814950 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
@@ -68,7 +68,7 @@ class GenericPutVnf  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 GenericPutVnf PreProcessRequest Process*** ", isDebugEnabled)\r
@@ -113,7 +113,7 @@ class GenericPutVnf  extends AbstractServiceTaskProcessor{
         *\r
         * @param - execution\r
         */\r
-       public void putVnf(Execution execution){\r
+       public void putVnf(DelegateExecution execution){\r
                def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
                execution.setVariable("prefix",Prefix)\r
                utils.log("DEBUG", " *** STARTED GenericPutVnf PutVnf Process*** ", isDebugEnabled)\r