From 3c1fb89886d7ebf2efe1183e92b4ed8191f506b4 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 6 Mar 2020 14:00:58 -0500 Subject: Log full URL for REST calls Actors only log the URI, without the host and port info. Modified to log the full URL. Also adjusted URLs for trailing "/". Issue-ID: POLICY-1625 Signed-off-by: Jim Hahn Change-Id: I0c9a2d139258ef23bc363a873b56f5cb4680247d --- .../java/org/onap/policy/controlloop/actor/guard/GuardOperation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models-interactions/model-actors/actor.guard/src/main') diff --git a/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardOperation.java b/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardOperation.java index e35caa06c..dd8b9273a 100644 --- a/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardOperation.java +++ b/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardOperation.java @@ -96,13 +96,13 @@ public class GuardOperation extends HttpOperation { Map headers = makeHeaders(); headers.put("Accept", MediaType.APPLICATION_JSON); - String url = makeUrl(); + String url = getUrl(); logMessage(EventType.OUT, CommInfrastructure.REST, url, request); // @formatter:off return handleResponse(outcome, url, - callback -> getClient().post(callback, makePath(), entity, headers)); + callback -> getClient().post(callback, getPath(), entity, headers)); // @formatter:on } -- cgit 1.2.3-korg