diff options
author | 2018-08-27 09:22:56 +0200 | |
---|---|---|
committer | 2018-08-27 10:11:37 +0200 | |
commit | dda8ed0393f3fc096a44e84b48c821d33ad99177 (patch) | |
tree | d9b2992c3fd7a09462616da73ff9920f8a8226be /vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java | |
parent | ba59d129d90f4a0b97f06d8da1594f29819c01fe (diff) |
Change url to AAI
Change-Id: I7dbaee5df1233362cc6d60aeb80037446771e9e0
Issue-ID: VID-295
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java b/vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java index 6b17c932..f5625ce2 100644 --- a/vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java +++ b/vid-app-common/src/main/java/org/onap/vid/aai/util/AAIRestInterface.java @@ -309,7 +309,7 @@ public class AAIRestInterface { */ public Response RestPost(String fromAppId, String path, String payload, boolean xml) { String methodName = "RestPost"; - String url=systemPropertyHelper.getFullServicePath(path); + String url=systemPropertyHelper.getServiceBasePath(path); String transId = UUID.randomUUID().toString(); logger.debug(EELFLoggerDelegate.debugLogger, methodName + START_STRING); @@ -317,7 +317,7 @@ public class AAIRestInterface { try { initRestClient(); Logging.logRequest(outgoingRequestsLogger, HttpMethod.POST, url, payload); - response = authenticateRequest(client.target(systemPropertyHelper.getFullServicePath(path)) + response = authenticateRequest(client.target(systemPropertyHelper.getServiceBasePath(path)) .request() .accept(xml ? MediaType.APPLICATION_XML : MediaType.APPLICATION_JSON) .header(TRANSACTION_ID_HEADER, transId) |