summaryrefslogtreecommitdiffstats
path: root/bpmn
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2018-03-14 16:25:31 +0530
committerseshukm <seshu.kumar.m@huawei.com>2018-03-14 16:25:31 +0530
commitbffe79b757ded95ee53c021f4681195a2f6cd26c (patch)
treebb73039b989a256781e383c296c9ce111b3bc3b4 /bpmn
parentd86780d2709c79a6b25e7ca39e1e95ae0f3b67dc (diff)
change execution to DelegateExecution in groovy
Issue-ID: SO-480 Change-Id: I0ec8da1f907e485f45f46778720738394e773ef9 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'bpmn')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCompareModelVersions.groovy3
1 files changed, 2 insertions, 1 deletions
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)