Fix HttpClient change which broke multicloud 54/73754/1
authorEric Multanen <eric.w.multanen@intel.com>
Wed, 28 Nov 2018 09:00:00 +0000 (01:00 -0800)
committerEric Multanen <eric.w.multanen@intel.com>
Wed, 28 Nov 2018 09:38:39 +0000 (01:38 -0800)
commit5ff8f49c6b72f03e49961fcb771af2454d8a5321
tree57ce4e8883019cae6e640a70e031c9df1be04d41
parent372446b29e9ca614948dc5d95de3b2582ff3491d
Fix HttpClient change which broke multicloud

The lines added to HttpClient in https://gerrit.onap.org/r/#/c/72771/
broke the usage of HttpClient by the multicloud adapter.

The 'content-type' line seems redundant - content type is specified
in the HttpClient constructor.

The 'Authorization' line (which broke multicloud usage) seems
inappropriate here.  The Authorization string shouldn't be
hard coded into a generic client.  There are other methods
available for adding the authentication header.

Change-Id: I19ac1a382778fe50bc7e98e1e9b9a4d84897b2a6
Issue-ID: SO-1257
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
common/src/main/java/org/onap/so/client/HttpClient.java