Use self-signed-cert property for HTTP clients 66/119866/2
authorJim Hahn <jrh3@att.com>
Thu, 25 Mar 2021 17:52:02 +0000 (13:52 -0400)
committerJim Hahn <jrh3@att.com>
Thu, 25 Mar 2021 18:00:55 +0000 (14:00 -0400)
commit8ebb34d51adc48d94c2ceb5a32d3341b076b8207
treead31fe3f008904e20e72536bfb7432040ede19cc
parent760d81ae99aa1efce122304047a2e677c0b48074
Use self-signed-cert property for HTTP clients

Currently, the HttpClient code sets self-signed-certs to true whenever
https is specified.  This is insecure.  Modified the code to set the
value based on the property, defaulting to false.

Issue-ID: POLICY-3145
Change-Id: Ie88cf2411ae44a7c53bc8943f615a74c5b87d1aa
Signed-off-by: Jim Hahn <jrh3@att.com>
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/client/IndexedHttpClientFactory.java