From: Fiete Ostkamp Date: Sat, 15 Feb 2025 14:14:39 +0000 (+0100) Subject: Reenable tests for most of the top-level modules X-Git-Tag: 1.15.2~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=951c9443a60809b014f4c02d4d9f003c6ff729c5;p=so.git Reenable tests for most of the top-level modules - mso-requests-db-adapter - aai-client - so-optimization-clients - so-sdn-clients Issue-ID: SO-4141 Change-Id: I59264e394de71eea1a091bd08d32b181a44713d5 Signed-off-by: Fiete Ostkamp --- diff --git a/adapters/mso-requests-db-adapter/pom.xml b/adapters/mso-requests-db-adapter/pom.xml index 066e3e6dc5..0f9582e698 100644 --- a/adapters/mso-requests-db-adapter/pom.xml +++ b/adapters/mso-requests-db-adapter/pom.xml @@ -26,6 +26,11 @@ spring-boot-starter-test test + + org.junit.vintage + junit-vintage-engine + test + org.mariadb.jdbc mariadb-java-client diff --git a/graph-inventory/aai-client/pom.xml b/graph-inventory/aai-client/pom.xml index c47f529ddd..fefefa941c 100644 --- a/graph-inventory/aai-client/pom.xml +++ b/graph-inventory/aai-client/pom.xml @@ -238,5 +238,10 @@ antlr4-runtime 4.7 + + org.junit.vintage + junit-vintage-engine + test + diff --git a/so-optimization-clients/pom.xml b/so-optimization-clients/pom.xml index c51ef8998b..2abcc656d3 100644 --- a/so-optimization-clients/pom.xml +++ b/so-optimization-clients/pom.xml @@ -66,6 +66,11 @@ spring-boot-starter-test test + + org.junit.vintage + junit-vintage-engine + test + org.apache.commons commons-lang3 diff --git a/so-sdn-clients/pom.xml b/so-sdn-clients/pom.xml index 1036de6891..a580233641 100644 --- a/so-sdn-clients/pom.xml +++ b/so-sdn-clients/pom.xml @@ -96,6 +96,11 @@ spring-boot-starter-test test + + org.junit.vintage + junit-vintage-engine + test + org.onap.sdnc.northbound generic-resource-api-client diff --git a/so-sdn-clients/src/test/java/org/onap/so/client/sdnc/SDNCClientIT.java b/so-sdn-clients/src/test/java/org/onap/so/client/sdnc/SDNCClientIT.java index 0b338bde1d..111687fefe 100644 --- a/so-sdn-clients/src/test/java/org/onap/so/client/sdnc/SDNCClientIT.java +++ b/so-sdn-clients/src/test/java/org/onap/so/client/sdnc/SDNCClientIT.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -55,7 +55,7 @@ public class SDNCClientIT extends BaseIntegrationTest { String responseJson = new String(Files.readAllBytes(Paths.get(JSON_FILE_LOCATION + "SDNCClientPut404Response.json"))); - String queryLink = "/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation/"; + String queryLink = "/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation"; wireMockServer.stubFor(post(urlMatching(queryLink)).willReturn( aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(responseJson))); @@ -68,7 +68,7 @@ public class SDNCClientIT extends BaseIntegrationTest { String responseJson = new String(Files.readAllBytes(Paths.get(JSON_FILE_LOCATION + "SDNCClientPut200Response.json"))); - String queryLink = "/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation/"; + String queryLink = "/restconf/operations/GENERIC-RESOURCE-API:network-topology-operation"; wireMockServer.stubFor(post(urlMatching(queryLink)).willReturn( aResponse().withStatus(200).withHeader("Content-Type", "application/json").withBody(responseJson)));