diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-12-11 04:21:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-11 04:21:33 +0000 |
commit | 5cfd3b7066e6a6305e140fa59b1fccb8e3c5f81b (patch) | |
tree | fff192566312a14dab3331f55b396f2615dec815 /controlloop/common/actors/actor.appclcm/src | |
parent | 379e02e7e500b4c022771e5a1f4bdd1566069a9b (diff) | |
parent | c3619a82215b2277087f73741d57d3a3b75325f6 (diff) |
Merge "Technical Debt in AAI."
Diffstat (limited to 'controlloop/common/actors/actor.appclcm/src')
-rw-r--r-- | controlloop/common/actors/actor.appclcm/src/main/java/org/onap/policy/controlloop/actor/appclcm/AppcLcmActorServiceProvider.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/controlloop/common/actors/actor.appclcm/src/main/java/org/onap/policy/controlloop/actor/appclcm/AppcLcmActorServiceProvider.java b/controlloop/common/actors/actor.appclcm/src/main/java/org/onap/policy/controlloop/actor/appclcm/AppcLcmActorServiceProvider.java index ed59aafc5..936dd0243 100644 --- a/controlloop/common/actors/actor.appclcm/src/main/java/org/onap/policy/controlloop/actor/appclcm/AppcLcmActorServiceProvider.java +++ b/controlloop/common/actors/actor.appclcm/src/main/java/org/onap/policy/controlloop/actor/appclcm/AppcLcmActorServiceProvider.java @@ -117,8 +117,8 @@ public class AppcLcmActorServiceProvider implements Actor { break; } else { - if((item.items != null) && (item.items.inventoryResponseItems != null)) { - vnfId = parseAAIResponse(item.items.inventoryResponseItems, resourceId); + if((item.items != null) && (item.items.getInventoryResponseItems() != null)) { + vnfId = parseAAIResponse(item.items.getInventoryResponseItems(), resourceId); } } } @@ -155,7 +155,7 @@ public class AppcLcmActorServiceProvider implements Actor { filter.put("generic-vnf", filterItem); aaiRequest.instanceFilters = new AAINQInstanceFilters(); - aaiRequest.instanceFilters.instanceFilter.add(filter); + aaiRequest.instanceFilters.getInstanceFilter().add(filter); /* * Obtain A&AI credentials from properties.environment file @@ -174,7 +174,7 @@ public class AppcLcmActorServiceProvider implements Actor { throw new AAIException("The named query response was null"); } - String targetVnfId = parseAAIResponse(aaiResponse.inventoryResponseItems, resourceId); + String targetVnfId = parseAAIResponse(aaiResponse.getInventoryResponseItems(), resourceId); if (targetVnfId == null) { throw new AAIException("Target vnf-id could not be found"); } |