From 7df70a2206af1bcccf61e20e5b5c60dc204f2d30 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Mon, 26 Mar 2018 14:21:38 +0000 Subject: Fix type for Resource array Fix type for resource array. Change-Id: Ic0e01b1495bfc887660a2593a9ab1e16be72c684 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- .../scripts/DoCreateE2EServiceInstance.groovy | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'bpmn') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy index 47ad795e25..a58ab9b756 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy @@ -411,8 +411,8 @@ public class DoCreateE2EServiceInstance extends AbstractServiceTaskProcessor { ServiceDecomposition serviceDecomposition = execution.getVariable("serviceDecomposition") List resourceList = serviceDecomposition.getServiceResources() - for(String resource : resourceList){ - resourceTemplateUUIDs = resourceTemplateUUIDs + resource.getModelInfo().getModelCustomizationUuid() + ":" + for(Resource resource : resourceList){ + resourceTemplateUUIDs = resourceTemplateUUIDs + resource.getModelInfo().getModelCustomizationUuid() + ":" } def dbAdapterEndpoint = "http://mso.mso.testlab.openecomp.org:8080/dbadapters/RequestsDbAdapter" @@ -425,13 +425,13 @@ public class DoCreateE2EServiceInstance extends AbstractServiceTaskProcessor { - ${serviceId} - ${operationId} - ${operationType} - ${resourceTemplateUUIDs} - - - """ + ${serviceId} + ${operationId} + ${operationType} + ${resourceTemplateUUIDs} + + + """ payload = utils.formatXml(payload) execution.setVariable("CVFMI_initResOperStatusRequest", payload) -- cgit 1.2.3-korg