From: subhash kumar singh Date: Mon, 26 Mar 2018 14:21:38 +0000 (+0000) Subject: Fix type for Resource array X-Git-Tag: v1.2.1~300^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7df70a2206af1bcccf61e20e5b5c60dc204f2d30;p=so.git Fix type for Resource array Fix type for resource array. Change-Id: Ic0e01b1495bfc887660a2593a9ab1e16be72c684 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- 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)