aboutsummaryrefslogtreecommitdiffstats
path: root/appc-outbound/appc-aai-client
diff options
context:
space:
mode:
authorSkip Wonnell <skip@att.com>2018-01-24 13:00:16 -0600
committerPatrick Brady <pb071s@att.com>2018-01-25 19:05:50 +0000
commit88a45de9a71f44cf6845e51ff6da7df69ca17481 (patch)
tree17faf0e82ebfe426e2eefe7e2eab2be6cf51495d /appc-outbound/appc-aai-client
parentd03675e2e8d4d9be0284921135cf49e8c05e16ef (diff)
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 <skip@att.com>
Diffstat (limited to 'appc-outbound/appc-aai-client')
-rw-r--r--appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java4
1 files changed, 2 insertions, 2 deletions
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);