From: seshukm Date: Wed, 14 Mar 2018 10:55:31 +0000 (+0530) Subject: change execution to DelegateExecution in groovy X-Git-Tag: v1.2.1~430^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bffe79b757ded95ee53c021f4681195a2f6cd26c;p=so.git change execution to DelegateExecution in groovy Issue-ID: SO-480 Change-Id: I0ec8da1f907e485f45f46778720738394e773ef9 Signed-off-by: seshukm --- diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCompareModelVersions.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCompareModelVersions.groovy index a8af52a8f1..291df4608d 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCompareModelVersions.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCompareModelVersions.groovy @@ -51,6 +51,7 @@ import javax.mail.Quota.Resource; import org.camunda.bpm.engine.delegate.BpmnError import org.camunda.bpm.engine.runtime.Execution +import org.camunda.bpm.engine.delegate.DelegateExecution import org.json.JSONObject; import org.json.JSONArray; import org.apache.commons.lang3.* @@ -78,7 +79,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { JsonUtils jsonUtil = new JsonUtils() CatalogDbUtils cutils = new CatalogDbUtils() - public void preProcessRequest (Execution execution) { + public void preProcessRequest (DelegateExecution execution) { def isDebugEnabled = execution.getVariable("isDebugLogEnabled") String msg = "" utils.log("INFO"," ***** preProcessRequest *****", isDebugEnabled)