Fix bug with Apex rejecting HTTP 2xx responses 93/77893/1
authorliamfallon <liam.fallon@est.tech>
Tue, 5 Feb 2019 17:37:24 +0000 (17:37 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 5 Feb 2019 17:37:24 +0000 (17:37 +0000)
commit05df038e0b09bfd5f0c9bfc1e8aa10f9c97f39a4
tree05779d28246969ee2b87ebbd9868be954dded78a
parentaacfb4ca7da6a76282c5703049fb7b52f65a36a8
Fix bug with Apex rejecting HTTP 2xx responses

APEX rejects all HTTP responses except 200. This change accepts
any HTTP 2xx response code as a valid response.

Issue-ID: POLICY-1289
Change-Id: Ief681ba4dac1ef3ff5f257dd931569bd2274d017
Signed-off-by: liamfallon <liam.fallon@est.tech>
examples/examples-decisionmaker/src/main/resources/examples/config/DecisionMaker/ApexConfigHealthCheckRESTClient.json
plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restclient/src/main/java/org/onap/policy/apex/plugins/event/carrier/restclient/ApexRestClientConsumer.java
plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restrequestor/src/main/java/org/onap/policy/apex/plugins/event/carrier/restrequestor/ApexRestRequestorConsumer.java