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/integration/PrhWorkflowIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/PrhWorkflowIntegrationTest.java') diff --git a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/PrhWorkflowIntegrationTest.java b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/PrhWorkflowIntegrationTest.java index 672cfc47..01beb88b 100644 --- a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/PrhWorkflowIntegrationTest.java +++ b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/PrhWorkflowIntegrationTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * PNF-REGISTRATION-HANDLER * ================================================================================ - * 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. @@ -103,8 +103,8 @@ class PrhWorkflowIntegrationTest { stubFor(get(urlEqualTo("/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12")) .willReturn(ok().withBody(new Gson().toJson(singletonList(event))))); - stubFor(get(urlEqualTo("/aai/v12/network/pnfs/pnf/" + pnfName)).willReturn(ok().withBody("{}"))); - stubFor(patch(urlEqualTo("/aai/v12/network/pnfs/pnf/" + pnfName))); + stubFor(get(urlEqualTo("/aai/v23/network/pnfs/pnf/" + pnfName)).willReturn(ok().withBody("{}"))); + stubFor(patch(urlEqualTo("/aai/v23/network/pnfs/pnf/" + pnfName))); stubFor(post(urlEqualTo("/events/unauthenticated.PNF_READY"))); scheduledTasks.scheduleMainPrhEventTask(); -- cgit 1.2.3-korg