diff options
author | Marcin Migdal <marcin.migdal@nokia.com> | 2019-06-19 15:06:43 +0200 |
---|---|---|
committer | Marcin Migdal <marcin.migdal@nokia.com> | 2019-06-19 15:06:55 +0200 |
commit | 5579c05cae48b5cd50d1d47c250020e60295877f (patch) | |
tree | 86214ebb824728f526c337ce9e9edee57c67462d /rest-services/aai-client/src/main/java | |
parent | 46a7af8789a80455efb13a4dd0180e0a39f7eb64 (diff) |
Remove slash from endpoint builder
Change-Id: Icfd2e0e5c2fd7e5eacefbddf7e21f51b856925ae
Issue-ID: DCAEGEN2-1636
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'rest-services/aai-client/src/main/java')
-rw-r--r-- | rest-services/aai-client/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/aai/client/service/http/get/AaiGetServiceInstanceClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest-services/aai-client/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/aai/client/service/http/get/AaiGetServiceInstanceClient.java b/rest-services/aai-client/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/aai/client/service/http/get/AaiGetServiceInstanceClient.java index 9b497293..6a1aaf91 100644 --- a/rest-services/aai-client/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/aai/client/service/http/get/AaiGetServiceInstanceClient.java +++ b/rest-services/aai-client/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/aai/client/service/http/get/AaiGetServiceInstanceClient.java @@ -69,6 +69,6 @@ public class AaiGetServiceInstanceClient implements } private String getUri(final String endpoint) { - return new URI.URIBuilder().path(configuration.pnfUrl() + "/" + endpoint).build().toString(); + return new URI.URIBuilder().path(configuration.pnfUrl() + endpoint).build().toString(); } } |