AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / groovy / org / openecomp / mso / bpmn / infrastructure / scripts / HealchCheckActivate.groovy
index a2d192f..3ab1b17 100644 (file)
@@ -21,7 +21,7 @@
 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
@@ -32,7 +32,7 @@ public class HealthCheckActivate extends AbstractServiceTaskProcessor {
         * 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
@@ -41,7 +41,7 @@ public class HealthCheckActivate extends AbstractServiceTaskProcessor {
         * 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