diff options
author | Jim Hahn <jrh3@att.com> | 2020-03-06 14:00:58 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-03-06 15:13:52 -0500 |
commit | 3c1fb89886d7ebf2efe1183e92b4ed8191f506b4 (patch) | |
tree | 6515fccb8b937630aaf8fff6490c483177a414ed /models-interactions/model-actors/actor.aai | |
parent | 8021fe6aa24b4a4c586cda78255c143eca3e3520 (diff) |
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 <jrh3@att.com>
Change-Id: I0c9a2d139258ef23bc363a873b56f5cb4680247d
Diffstat (limited to 'models-interactions/model-actors/actor.aai')
2 files changed, 0 insertions, 10 deletions
diff --git a/models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiGetOperation.java b/models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiGetOperation.java index 4c4124189..b527abc36 100644 --- a/models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiGetOperation.java +++ b/models-interactions/model-actors/actor.aai/src/main/java/org/onap/policy/controlloop/actor/aai/AaiGetOperation.java @@ -131,11 +131,6 @@ public class AaiGetOperation extends HttpOperation<StandardCoderObject> { return AaiUtil.makeHeaders(params); } - @Override - public String makePath() { - return (getPath() + params.getTargetEntity()); - } - /** * Injects the response into the context. */ diff --git a/models-interactions/model-actors/actor.aai/src/test/java/org/onap/policy/controlloop/actor/aai/AaiGetOperationTest.java b/models-interactions/model-actors/actor.aai/src/test/java/org/onap/policy/controlloop/actor/aai/AaiGetOperationTest.java index 13560ccf3..8e2633141 100644 --- a/models-interactions/model-actors/actor.aai/src/test/java/org/onap/policy/controlloop/actor/aai/AaiGetOperationTest.java +++ b/models-interactions/model-actors/actor.aai/src/test/java/org/onap/policy/controlloop/actor/aai/AaiGetOperationTest.java @@ -123,11 +123,6 @@ public class AaiGetOperationTest extends BasicAaiOperation<Void> { } @Test - public void testMakePath() { - assertEquals(PATH + TARGET_ENTITY, oper.makePath()); - } - - @Test public void testAaiGetOperator() { assertEquals(AaiConstants.ACTOR_NAME, oper.getActorName()); assertEquals(AaiGetOperation.TENANT, oper.getName()); |