AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOCommonBPMN / src / main / groovy / org / openecomp / mso / bpmn / common / scripts / UpdateAAIGenericVnf.groovy
index f137d8d..84d9ffd 100644 (file)
@@ -21,7 +21,7 @@
 package org.openecomp.mso.bpmn.common.scripts\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.openecomp.mso.bpmn.core.WorkflowException\r
 import org.openecomp.mso.rest.APIResponse\r
 import org.springframework.web.util.UriUtils\r
@@ -37,7 +37,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void initProcessVariables(Execution execution) {\r
+       public void initProcessVariables(DelegateExecution execution) {\r
                execution.setVariable('prefix', 'UAAIGenVnf_')\r
                execution.setVariable('UAAIGenVnf_vnfId', null)\r
                execution.setVariable('UAAIGenVnf_personaModelId', null)\r
@@ -56,7 +56,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void preProcessRequest(Execution execution) {\r
+       public void preProcessRequest(DelegateExecution execution) {\r
                def method = getClass().getSimpleName() + '.preProcessRequest(' +\r
                        'execution=' + execution.getId() +\r
                        ')'\r
@@ -112,7 +112,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void getGenericVnf(Execution execution) {\r
+       public void getGenericVnf(DelegateExecution execution) {\r
                def method = getClass().getSimpleName() + '.getGenericVnf(' +\r
                        'execution=' + execution.getId() +\r
                        ')'\r
@@ -159,7 +159,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void updateGenericVnf(Execution execution) {\r
+       public void updateGenericVnf(DelegateExecution execution) {\r
                def method = getClass().getSimpleName() + '.updateGenericVnf(' +\r
                        'execution=' + execution.getId() +\r
                        ')'\r
@@ -301,7 +301,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void handleAAIQueryFailure(Execution execution) {\r
+       public void handleAAIQueryFailure(DelegateExecution execution) {\r
                def method = getClass().getSimpleName() + '.handleAAIQueryFailure(' +\r
                        'execution=' + execution.getId() +\r
                        ')'\r
@@ -325,7 +325,7 @@ public class UpdateAAIGenericVnf extends AbstractServiceTaskProcessor {
         *\r
         * @param execution The flow's execution instance.\r
         */\r
-       public void handleUpdateGenericVnfFailure(Execution execution) {\r
+       public void handleUpdateGenericVnfFailure(DelegateExecution execution) {\r
                def method = getClass().getSimpleName() + '.handleUpdateGenericVnfFailure(' +\r
                        'execution=' + execution.getId() +\r
                        ')'\r