summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-01 15:52:10 +0200
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-06-12 14:17:09 +0000
commit86cd2a899957d50c324c6e4cebfa6c498c8d5f56 (patch)
tree17691c41c6515466938788237b97973ba43102c4
parent6624366c1485f352220216e45666d6083da04d6c (diff)
[SO-BPMN-INFRA] Remove trailing slash from SDNC calls
Correct the rest-call to support new SDNC version for London Issue-ID: SO-4109 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I6a7409ab5ed50396597cc6a179ad491caf1b9910 (cherry picked from commit 2d87bee4d6b1ce0407180415e0a883ffde1903e7)
-rw-r--r--so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java b/so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java
index 7d2fc10d0b..e29d65857c 100644
--- a/so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java
+++ b/so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java
@@ -51,7 +51,7 @@ public class SDNCClient {
*/
public String post(Object request, SDNCTopology topology) throws MapperException, BadResponseException {
String jsonRequest = sdnCommonTasks.buildJsonRequest(request);
- String targetUrl = properties.getHost() + properties.getPath() + ":" + topology.toString() + "/";
+ String targetUrl = properties.getHost() + properties.getPath() + ":" + topology.toString();
BaseClient<String, LinkedHashMap<String, Object>> STOClient = new BaseClient<>();
STOClient.setTargetUrl(targetUrl);