From b2e63077887295b402a327692b2ab91cdecd3ef6 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 20 Nov 2020 16:44:12 -0500 Subject: 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 --- .../src/test/java/org/onap/policy/models/simulators/MainTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models-sim') diff --git a/models-sim/policy-models-simulators/src/test/java/org/onap/policy/models/simulators/MainTest.java b/models-sim/policy-models-simulators/src/test/java/org/onap/policy/models/simulators/MainTest.java index 1f52ed124..bb4fa7c5a 100644 --- a/models-sim/policy-models-simulators/src/test/java/org/onap/policy/models/simulators/MainTest.java +++ b/models-sim/policy-models-simulators/src/test/java/org/onap/policy/models/simulators/MainTest.java @@ -145,11 +145,11 @@ public class MainTest { .allowSelfSignedCerts(true).basePath("aai").build(); HttpClient client = HttpClientFactoryInstance.getClientFactory().build(params); - Response response = client.get("/v8/network/generic-vnfs/generic-vnf/my-vnf"); + Response response = client.get("/v21/network/pnfs/pnf/demo-pnf"); assertEquals(200, response.getStatus()); String result = response.readEntity(String.class); - assertThat(result).contains("USUCP0PCOIL0110UJZZ01-vsrx"); + assertThat(result).contains("model-123456"); } /** -- cgit 1.2.3-korg