From 1b0a5fdc4df59d2b85db840f28fdd79215bff68f Mon Sep 17 00:00:00 2001 From: Remigiusz Janeczek Date: Tue, 10 Aug 2021 13:32:21 +0200 Subject: Update tests and component spec to use AAI v23 API Issue-ID: DCAEGEN2-1531 Signed-off-by: Remigiusz Janeczek Change-Id: I4bf16f64cc4e8a338ee83b846b3fb939a56f5a0f --- .../services/prh/adapter/aai/impl/AaiClientConfigurations.java | 2 +- .../prh/adapter/aai/impl/AaiGetServiceInstanceClientTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'prh-commons') diff --git a/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiClientConfigurations.java b/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiClientConfigurations.java index 2f3dba03..eef76e15 100644 --- a/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiClientConfigurations.java +++ b/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiClientConfigurations.java @@ -43,7 +43,7 @@ public final class AaiClientConfigurations { private static AaiClientConfiguration validConfiguration(Map headers, boolean secure) { return new ImmutableAaiClientConfiguration.Builder() - .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v12") + .baseUrl("https://aai.onap.svc.cluster.local:8443/aai/v23") .aaiUserName("sample-username") .aaiUserPassword("sample-password") .aaiIgnoreSslCertificateErrors(false) diff --git a/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiGetServiceInstanceClientTest.java b/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiGetServiceInstanceClientTest.java index 9c7ce60b..81b0b169 100644 --- a/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiGetServiceInstanceClientTest.java +++ b/prh-commons/src/test/java/org/onap/dcaegen2/services/prh/adapter/aai/impl/AaiGetServiceInstanceClientTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * DCAEGEN2-SERVICES-SDK * ================================================================================ - * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved. + * Copyright (C) 2019-2021 NOKIA Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ import reactor.test.StepVerifier; class AaiGetServiceInstanceClientTest extends AbstractHttpClientTest { public static final String SERVICE_INSTANCE_PATH = - "https://aai.onap.svc.cluster.local:8443/aai/v12/business/customers/customer/Demonstration/" + "https://aai.onap.svc.cluster.local:8443/aai/v23/business/customers/customer/Demonstration/" + "service-subscriptions/service-subscription/VCPE/service-instances/service-instance/df018f76-7fc8-46ab-8444-7d67e1efc284"; @Test -- cgit 1.2.3-korg