From 405c04ccc51c087c267baeef764997755160ec73 Mon Sep 17 00:00:00 2001 From: Elena Kuleshov Date: Tue, 29 May 2018 11:19:30 -0400 Subject: Use actual vfModuleId in APP-C payload. Change-Id: I6d0d30b10615fd7b411ab723cf27fbeea2fec21e Issue-ID: SO-602 Signed-off-by: Elena Kuleshov --- .../mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn/MSOInfrastructureBPMN/src/main/groovy') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy index ca0bb53dc1..6637d3c667 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy @@ -330,7 +330,7 @@ public class CreateVfModuleInfra extends AbstractServiceTaskProcessor { public void retreiveConfigScaleOutData(DelegateExecution execution){ def isDebugEnabled = execution.getVariable("isDebugLogEnabled") - def vfModuleName = execution.getVariable("CVFMI_vfModuleName") + def vfModuleId = execution.getVariable("CVFMI_vfModuleId") String ipAddress = ""; String oamIpAddress = ""; String vnfHostIpAddress = ""; @@ -364,7 +364,7 @@ public class CreateVfModuleInfra extends AbstractServiceTaskProcessor { } } - String payload = "{\"request-parameters\":{\"vnf-host-ip-address\":" + vnfHostIpAddress + ",\"vf-module-id\":" + vfModuleName + "},\"configuration-parameters\":{\"ip-addr\":" + ipAddress +", \"oam-ip-addr\":"+ oamIpAddress +",\"enabled\":\"true\"}}" + String payload = "{\"request-parameters\":{\"vnf-host-ip-address\":" + vnfHostIpAddress + ",\"vf-module-id\":" + vfModuleId + "},\"configuration-parameters\":{\"ip-addr\":" + ipAddress +", \"oam-ip-addr\":"+ oamIpAddress +",\"enabled\":\"true\"}}" execution.setVariable("payload", payload); } -- cgit 1.2.3-korg