From cb35d8306a90e50355bbdb662a26dbd836ef7e62 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 4 Mar 2020 15:02:45 -0500 Subject: SDNC Actor doesn't use full URL Issue-ID: POLICY-1625 Signed-off-by: Jim Hahn Change-Id: Ib9e6e4d988013966317df5b7c15867e3691b5748 --- .../java/org/onap/policy/controlloop/actor/sdnc/SdncOperation.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'models-interactions/model-actors/actor.sdnc/src/main') diff --git a/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncOperation.java b/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncOperation.java index a83faa724..018578829 100644 --- a/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncOperation.java +++ b/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncOperation.java @@ -67,13 +67,14 @@ public abstract class SdncOperation extends HttpOperation { Map headers = makeHeaders(); headers.put("Accept", MediaType.APPLICATION_JSON); - String url = makeUrl(); + String path = getPath() + request.getUrl(); + String url = getClient().getBaseUrl() + path; logMessage(EventType.OUT, CommInfrastructure.REST, url, request); // @formatter:off return handleResponse(outcome, url, - callback -> getClient().post(callback, makePath(), entity, headers)); + callback -> getClient().post(callback, path, entity, headers)); // @formatter:on } -- cgit 1.2.3-korg