From: Skip Wonnell Date: Wed, 24 Jan 2018 19:00:16 +0000 (-0600) Subject: Bugfix in AAIResourceNode.java X-Git-Tag: v1.3.0~375 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F29061%2F2;p=appc.git 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 --- 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);