aboutsummaryrefslogtreecommitdiffstats
path: root/so-sdn-clients/src
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-06-01 15:52:10 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-06-01 15:55:09 +0200
commit2d87bee4d6b1ce0407180415e0a883ffde1903e7 (patch)
treef0f8a7b952a012a2d4845c693492f4f4ee8f37df /so-sdn-clients/src
parentb7758fdaf210c2d3044151c5d2684771b7156bcb (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
Diffstat (limited to 'so-sdn-clients/src')
-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);