diff options
author | Jim Hahn <jrh3@att.com> | 2020-11-20 16:44:12 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-02-17 13:17:50 -0500 |
commit | b2e63077887295b402a327692b2ab91cdecd3ef6 (patch) | |
tree | 345df6492b1341d1939d4ff92e404d88527126d4 /models-interactions/model-impl/aai/src/main/java | |
parent | 9f0fbd02f184071c2de30c944bec311741e6180e (diff) |
Use new version of A&AI APIs
Just changed the version numbers; the APIs appear to be the same
otherwise.
Also removed unused APIs from the A&AI simulator.
Issue-ID: POLICY-2788
Change-Id: I8c0ae11c1e42f487b34286d5dfd4ca536bb2c07b
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-impl/aai/src/main/java')
-rw-r--r-- | models-interactions/model-impl/aai/src/main/java/org/onap/policy/aai/AaiManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models-interactions/model-impl/aai/src/main/java/org/onap/policy/aai/AaiManager.java b/models-interactions/model-impl/aai/src/main/java/org/onap/policy/aai/AaiManager.java index 76817dfc6..16ee887af 100644 --- a/models-interactions/model-impl/aai/src/main/java/org/onap/policy/aai/AaiManager.java +++ b/models-interactions/model-impl/aai/src/main/java/org/onap/policy/aai/AaiManager.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * aai * ================================================================================ - * Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019-2020 Nordix Foundation. * Modifications Copyright (C) 2019 Samsung Electronics Co., Ltd. * ================================================================================ @@ -59,10 +59,10 @@ public final class AaiManager { private final RestManager restManager; /** custom query and other AAI resource URLs. */ - private static final String CQ_URL = "/aai/v16/query?format=resource"; - private static final String TENANT_URL = "/aai/v16/search/nodes-query?" + private static final String CQ_URL = "/aai/v21/query?format=resource"; + private static final String TENANT_URL = "/aai/v21/search/nodes-query?" + "search-node-type=vserver&filter=vserver-name:EQUALS:"; - private static final String PREFIX = "/aai/v16"; + private static final String PREFIX = "/aai/v21"; private static final String PNF_URL = PREFIX + "/network/pnfs/pnf/"; private static final String AAI_DEPTH_SUFFIX = "?depth=0"; |