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
*\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', 'UAAIVfMod_')\r
execution.setVariable('UAAIVfMod_vnfId', null)\r
execution.setVariable('UAAIVfMod_vfModuleId', null)\r
*\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
*\r
* @param execution The flow's execution instance.\r
*/\r
- public void getVfModule(Execution execution) {\r
+ public void getVfModule(DelegateExecution execution) {\r
def method = getClass().getSimpleName() + '.getVfModule(' +\r
'execution=' + execution.getId() +\r
')'\r
*\r
* @param execution The flow's execution instance.\r
*/\r
- public void updateVfModule(Execution execution) {\r
+ public void updateVfModule(DelegateExecution execution) {\r
def method = getClass().getSimpleName() + '.updateVfModule(' +\r
'execution=' + execution.getId() +\r
')'\r
*\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
*\r
* @param execution The flow's execution instance.\r
*/\r
- public void handleUpdateVfModuleFailure(Execution execution) {\r
+ public void handleUpdateVfModuleFailure(DelegateExecution execution) {\r
def method = getClass().getSimpleName() + '.handleUpdateVfModuleFailure(' +\r
'execution=' + execution.getId() +\r
')'\r