Discard requests in APPC legacy actor 23/104523/1
authorJim Hahn <jrh3@att.com>
Thu, 26 Mar 2020 15:51:52 +0000 (11:51 -0400)
committerJim Hahn <jrh3@att.com>
Thu, 26 Mar 2020 15:57:54 +0000 (11:57 -0400)
commit67d13b7e11677e3f2678e137471923222ec9b329
tree33e593477680612418e53130a2adac03c9707a49
parent81c5709370fe2cb60872f704c69a98e1f6cabfd0
Discard requests in APPC legacy actor

The new actor for legacy APPC attempts to discard request
messages received on the response topic by discarding those
that have a null response.  Unfortunately, when it decodes them,
the Response object creates a status object, even if there isn't
one in the json message, thus the test fails and the actor treats
it as a failed response.

Issue-ID: POLICY-2434
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I26cfb25443ff2ed394781d309f9097d50b8f160b
Signed-off-by: Jim Hahn <jrh3@att.com>
models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java
models-interactions/model-impl/appc/src/main/java/org/onap/policy/appc/Response.java