diff options
Diffstat (limited to 'adapters')
2 files changed, 6 insertions, 0 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java index 684933f3a9..52286fd3ac 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java @@ -82,6 +82,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.createNs(nsInput); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -107,6 +108,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.deleteNs(nsOperationKey, nsInstanceId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -135,6 +137,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.getNsProgress(nsOperationKey, jobId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -161,6 +164,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.instantiateNs(nsInstanceId, nsInput); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -188,6 +192,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.terminateNs(nsOperationKey, nsInstanceId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } diff --git a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java index 7df05f8b43..9afe3bff36 100644 --- a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java +++ b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java @@ -282,6 +282,7 @@ public class BpelRestClient { client.close(); } catch (IOException e) { // ignore + LOGGER.debug("IOException: ", e); } } LOGGER.debug("Response code from BPEL server: "+lastResponseCode); |