From 9d6eb9890869e87d1beb45cae64a262733b1c4f5 Mon Sep 17 00:00:00 2001 From: Yulian Han Date: Wed, 28 Mar 2018 15:21:52 +0800 Subject: modify DoCompareModelVersions bugs Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641f4 Issue-ID: SO-419 Signed-off-by: Yulian Han --- .../infrastructure/scripts/DoCompareModelVersions.groovy | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bpmn') 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 6d5249e4d6..a49a0664e8 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 @@ -136,7 +136,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { utils.log("INFO"," ***** Exit preProcessRequest *****", isDebugEnabled) } - public void prepareDecomposeService_Target(Execution execution) { + public void prepareDecomposeService_Target(DelegateExecution execution) { def isDebugEnabled=execution.getVariable("isDebugLogEnabled") try { @@ -160,7 +160,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { } } - public void processDecomposition_Target(Execution execution) { + public void processDecomposition_Target(DelegateExecution execution) { def isDebugEnabled=execution.getVariable("isDebugLogEnabled") utils.log("DEBUG", " ***** Inside processDecomposition_Target() of update generic e2e service flow ***** ", isDebugEnabled) @@ -174,7 +174,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { } } - public void prepareDecomposeService_Original(Execution execution) { + public void prepareDecomposeService_Original(DelegateExecution execution) { def isDebugEnabled=execution.getVariable("isDebugLogEnabled") try { @@ -198,7 +198,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { } } - public void processDecomposition_Original(Execution execution) { + public void processDecomposition_Original(DelegateExecution execution) { def isDebugEnabled=execution.getVariable("isDebugLogEnabled") utils.log("DEBUG", " ***** Inside processDecomposition_Original() of update generic e2e service flow ***** ", isDebugEnabled) @@ -212,7 +212,7 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { } } - public void doCompareModelVersions(execution){ + public void doCompareModelVersions(DelegateExecution execution){ def isDebugEnabled=execution.getVariable("isDebugLogEnabled") utils.log("INFO", "======== Start doCompareModelVersions Process ======== ", isDebugEnabled) @@ -222,8 +222,8 @@ public class DoCompareModelVersions extends AbstractServiceTaskProcessor { List allSR_target = serviceDecomposition_Target.getServiceResources(); List allSR_original = serviceDecomposition_Original.getServiceResources(); - List addedResource = new ArrayList() - List delResource = new ArrayList() + List addResourceList = new ArrayList() + List delResourceList = new ArrayList() addResourceList.addAll(allSR_target) delResourceList.addAll(allSR_original) -- cgit 1.2.3-korg