From 88a45de9a71f44cf6845e51ff6da7df69ca17481 Mon Sep 17 00:00:00 2001 From: Skip Wonnell Date: Wed, 24 Jan 2018 13:00:16 -0600 Subject: Bugfix in AAIResourceNode.java fix transposition of cloudOwner and cloudRegionId names when retrieve context attributes Issue-ID: APPC-449 Change-Id: I207c84ea4a38e4da32503efdd99ef864241e9247 Signed-off-by: Skip Wonnell --- .../src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appc-outbound/appc-aai-client') diff --git a/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java b/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java index 92b74dac2..8f5947488 100644 --- a/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java +++ b/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java @@ -573,8 +573,8 @@ public class AAIResourceNode implements SvcLogicJavaPlugin { return null; } String tenantId = ctx.getAttribute("tmp.vnfInfo.vm[" + arrayIndex + "].tenant-id"); - String cloudOwner = ctx.getAttribute("tmp.vnfInfo.vm[" + arrayIndex + "].cloud-region-id"); - String cloudRegionId = ctx.getAttribute("tmp.vnfInfo.vm[" + arrayIndex + "].cloud-owner"); + String cloudOwner = ctx.getAttribute("tmp.vnfInfo.vm[" + arrayIndex + "].cloud-owner"); + String cloudRegionId = ctx.getAttribute("tmp.vnfInfo.vm[" + arrayIndex + "].cloud-region-id"); log.info("setVmParams()::tenantId=" + tenantId + " cloudOwner=" + cloudOwner + " cloudRegiodId= " + cloudRegionId); params.put("vserverId", vServerId); -- cgit 1.2.3-korg