diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-06-01 15:52:10 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-06-01 15:55:09 +0200 |
commit | 2d87bee4d6b1ce0407180415e0a883ffde1903e7 (patch) | |
tree | f0f8a7b952a012a2d4845c693492f4f4ee8f37df | |
parent | b7758fdaf210c2d3044151c5d2684771b7156bcb (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
-rw-r--r-- | so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java | 2 |
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); |