diff options
author | romaingimbert <romain.gimbert@orange.com> | 2018-05-03 10:11:19 +0200 |
---|---|---|
committer | romaingimbert <romain.gimbert@orange.com> | 2018-05-03 14:29:16 +0200 |
commit | a2a452f0539a7e9b50b2db0091481c37cf5c6589 (patch) | |
tree | b731a7e7b3fa13195776e91c1443fe08a553a9d5 /src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java | |
parent | 38bbb437d576643d450bc1fed0a20dfd93e45363 (diff) |
problem with when SO not responding
- fix infinite loop when SO not responding
- fix json with task
- fix infinite loop when no service found in SDC
Change-Id: Iddbf80a6c9bd99d0426c95d729b9f49440f1b945
Issue-ID: EXTAPI-80
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java')
-rw-r--r-- | src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java b/src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java index fed9bb5..e190cf0 100644 --- a/src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java +++ b/src/main/java/org/onap/nbi/apis/servicecatalog/SdcClient.java @@ -140,7 +140,7 @@ public class SdcClient { restTemplate.exchange(callURI, HttpMethod.GET, buildRequestHeader(), byte[].class); LOGGER.info("response status : " + response.getStatusCodeValue()); if (!response.getStatusCode().equals(HttpStatus.OK)) { - LOGGER.warn(HTTP_CALL_SDC_ON + callURI.toString() + " returns " + response.getStatusCodeValue() + ", " + LOGGER.error(HTTP_CALL_SDC_ON + callURI.toString() + " returns " + response.getStatusCodeValue() + ", " + response.getBody().toString()); } return response; |