aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-impl/aai/src/test
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-11-20 16:44:12 -0500
committerJim Hahn <jrh3@att.com>2021-02-17 13:17:50 -0500
commitb2e63077887295b402a327692b2ab91cdecd3ef6 (patch)
tree345df6492b1341d1939d4ff92e404d88527126d4 /models-interactions/model-impl/aai/src/test
parent9f0fbd02f184071c2de30c944bec311741e6180e (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/test')
-rw-r--r--models-interactions/model-impl/aai/src/test/java/org/onap/policy/aai/AaiManagerTest.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/models-interactions/model-impl/aai/src/test/java/org/onap/policy/aai/AaiManagerTest.java b/models-interactions/model-impl/aai/src/test/java/org/onap/policy/aai/AaiManagerTest.java
index 33934d937..9b20fe92a 100644
--- a/models-interactions/model-impl/aai/src/test/java/org/onap/policy/aai/AaiManagerTest.java
+++ b/models-interactions/model-impl/aai/src/test/java/org/onap/policy/aai/AaiManagerTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* aai
* ================================================================================
- * Copyright (C) 2017-2019 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.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -94,9 +94,6 @@ public class AaiManagerTest {
when(restManagerMock.put(eq(""), eq("Foo"), eq("Bar"), anyMap(), anyString(), anyString()))
.thenReturn(httpResponseErr0);
- when(restManagerMock.get(eq("/aai/v11/query?format=resource"), eq("Foo"), eq("Bar"), anyMap()))
- .thenReturn(httpResponseErr0);
-
AaiCqResponse aaiCqResponseNull =
aaiManager.getCustomQueryResponse("", "Foo", "Bar", vserverNameRequestId, "Foo");
assertNull(aaiCqResponseNull);
@@ -105,9 +102,6 @@ public class AaiManagerTest {
when(restManagerMock.put(eq("Error"), eq("Foo"), eq("Bar"), anyMap(), anyString(), anyString()))
.thenReturn(httpResponseErr1);
- when(restManagerMock.get(eq("Error/aai/v11/query?format=resource"), eq("Foo"), eq("Bar"), anyMap()))
- .thenReturn(httpResponseErr1);
-
AaiCqResponse aaiCqResponseErr =
aaiManager.getCustomQueryResponse("Error", "Foo", "Bar", vserverNameRequestId, "Foo");
assertNull(aaiCqResponseErr);