[SO-BPMN-INFRA] Remove trailing slash from SDNC calls 43/134743/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Thu, 1 Jun 2023 13:52:10 +0000 (15:52 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Thu, 1 Jun 2023 13:55:09 +0000 (15:55 +0200)
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

so-sdn-clients/src/main/java/org/onap/so/client/sdnc/SDNCClient.java

index 7d2fc10..e29d658 100644 (file)
@@ -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);