aboutsummaryrefslogtreecommitdiffstats
path: root/so-sdn-clients
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-02-15 15:14:39 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-02-15 15:43:42 +0100
commit951c9443a60809b014f4c02d4d9f003c6ff729c5 (patch)
treed33a248df8f914852c262e7a441f74194538000f /so-sdn-clients
parenta5a9ffc9a61aad67f8b30c24cd8f5049f43b87f4 (diff)
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 <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'so-sdn-clients')
-rw-r--r--so-sdn-clients/pom.xml5
-rw-r--r--so-sdn-clients/src/test/java/org/onap/so/client/sdnc/SDNCClientIT.java8
2 files changed, 9 insertions, 4 deletions
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
@@ -97,6 +97,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.onap.sdnc.northbound</groupId>
<artifactId>generic-resource-api-client</artifactId>
<version>${sdnc.northbound.version}</version>
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)));