summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-05-29 17:29:32 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-29 17:29:32 +0000
commit97c02aa6319b112ba45b55f16d2de96b783eac2b (patch)
tree084f36a9cb2c60cae1265bdd871200f9460b9910 /bpmn/MSOInfrastructureBPMN
parent5c12ab068ae6c32b9e4e087c8323dd9170559ceb (diff)
parent405c04ccc51c087c267baeef764997755160ec73 (diff)
Merge "Use actual vfModuleId in APP-C payload."
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVfModuleInfra.groovy4
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);
}