diff options
author | Jim Hahn <jrh3@att.com> | 2020-05-29 16:32:57 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-05-29 16:51:29 -0400 |
commit | 45e3d3ae1cc5a4c29526da4f4cb6096e1b6d7d4f (patch) | |
tree | 02b5f1fa7f150ef86846d37143b008e292ce9eaa /models-interactions/model-actors/actor.test | |
parent | 6d5459569af6a9c70abf5a8bbb54917decd37b38 (diff) |
Use "coder" to serialize Actor requests
Modified the Actors to use the "coder" to serialize requests
instead of defaulting to the HttpClient serialization provider.
Decided to just pretty-print the requests since that can be used for
both logging and transmission, which avoids serializing the request twice.
Issue-ID: POLICY-2601
Change-Id: I190ed19dd852a1aa66156b358cbc97c3b121af1f
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-actors/actor.test')
-rw-r--r-- | models-interactions/model-actors/actor.test/src/main/java/org/onap/policy/controlloop/actor/test/BasicHttpOperation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models-interactions/model-actors/actor.test/src/main/java/org/onap/policy/controlloop/actor/test/BasicHttpOperation.java b/models-interactions/model-actors/actor.test/src/main/java/org/onap/policy/controlloop/actor/test/BasicHttpOperation.java index 6786b7da9..4331edb04 100644 --- a/models-interactions/model-actors/actor.test/src/main/java/org/onap/policy/controlloop/actor/test/BasicHttpOperation.java +++ b/models-interactions/model-actors/actor.test/src/main/java/org/onap/policy/controlloop/actor/test/BasicHttpOperation.java @@ -53,7 +53,7 @@ public class BasicHttpOperation<Q> extends BasicOperation { @Captor protected ArgumentCaptor<InvocationCallback<Response>> callbackCaptor; @Captor - protected ArgumentCaptor<Entity<Q>> requestCaptor; + protected ArgumentCaptor<Entity<String>> requestCaptor; @Captor protected ArgumentCaptor<Map<String, Object>> headerCaptor; |