diff options
author | Elena Kuleshov <ek1439@att.com> | 2018-05-29 11:19:30 -0400 |
---|---|---|
committer | Elena Kuleshov <ek1439@att.com> | 2018-05-29 11:19:30 -0400 |
commit | 405c04ccc51c087c267baeef764997755160ec73 (patch) | |
tree | dfaea1b59ad4718ae9dc96fcd1bcd5177148bbf6 /bpmn/MSOInfrastructureBPMN/src | |
parent | 8250deb396c4c7a9e7b29d98dda8115c4912e8de (diff) |
Use actual vfModuleId in APP-C payload.
Change-Id: I6d0d30b10615fd7b411ab723cf27fbeea2fec21e
Issue-ID: SO-602
Signed-off-by: Elena Kuleshov <ek1439@att.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN/src')
-rw-r--r-- | bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
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);
}
|