aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN
diff options
context:
space:
mode:
authorBoslet, Cory <cory.boslet@att.com>2020-11-06 18:06:46 -0500
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-11-06 18:07:13 -0500
commitb05a619c89d0e520fddc5bb797b4162ddfb13694 (patch)
tree2a1077e34cbe3d38353e141618619c9d53ad1a95 /bpmn/MSOCommonBPMN
parentea82d794ac51faa699b9b84ea003a9242b8d4ccc (diff)
Updated bean for homing
Updated bean for homing Issue-ID: SO-3371 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77e6a0591c0d80180cd9a807fac76e9b7d214b80
Diffstat (limited to 'bpmn/MSOCommonBPMN')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroHomingV1.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroHomingV1.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroHomingV1.groovy
index 146889351a..522aec7931 100644
--- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroHomingV1.groovy
+++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroHomingV1.groovy
@@ -204,6 +204,7 @@ class SniroHomingV1 extends AbstractServiceTaskProcessor{
if(inventoryType.equalsIgnoreCase("service")){
VnfResource vnf = new VnfResource()
vnf.setVnfHostname(assignmentMap.get("vnfHostName"))
+ vnf.setResourceId(assignmentMap.get("vnfId"))
resource.getHomingSolution().setVnf(vnf)
resource.getHomingSolution().setServiceInstanceId(placement.getString("serviceInstanceId"))
}