package org.openecomp.mso.bpmn.infrastructure.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.common.scripts.AbstractServiceTaskProcessor;\r
import org.apache.commons.lang3.*\r
\r
* Validates the request message and sets up the workflow.\r
* @param execution the execution\r
*/\r
- public void preProcessRequest(Execution execution) {\r
+ public void preProcessRequest(DelegateExecution execution) {\r
\r
}\r
\r
* Sends the synchronous response back to the API Handler.\r
* @param execution the execution\r
*/\r
- public void sendResponse(Execution execution) {\r
+ public void sendResponse(DelegateExecution execution) {\r
def status = execution.getVariable("healthyStatus")\r
def healthcheckmessage = execution.getVariable("healthcheckmessage")\r
if (status == "true") {\r