RESTapiCallNode make request without content-type 97/40497/1
authorGanesh Chandrasekaran <ganesh.c@samsung.com>
Mon, 2 Apr 2018 08:29:53 +0000 (17:29 +0900)
committerGanesh Chandrasekaran <ganesh.c@samsung.com>
Mon, 2 Apr 2018 08:48:24 +0000 (17:48 +0900)
commit09031e372568052390f514ad37efa919299153a4
tree4523c8a03e0c6af85d838bfdeb3919e3405e635e
parentc6029168cd1b95ef2c4a2b554fd0f3b61df185da
RESTapiCallNode make request without content-type

currently the RESTAPI adaptor doesn't make a REST request with empty Content-type, this change is to help the adaptor to make request with no Content-type, currently defaulting to application/json. This is to avoid, when some servers throw 415 Unsupported Media Type error, when they dont support JSON response.
Issue-ID: CCSDK-232
Change-Id: I19fbb949f0aad4ea7ca91d6afcac06a5b7f8deed
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/Format.java
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java