aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2020-01-23 16:12:58 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-23 16:12:58 +0000
commit667fbe07aae6f9669127e9e0212f6f83c87b0d0a (patch)
treeb7db94147fc57d5a5f27b708f09ebcfb8098ff5c /vid-app-common
parent3ed40f1a7fe37e61e92ee9d47c157805ce3ea7a5 (diff)
parent68803a2495d66262d7e49f4c77957decbeda5ff0 (diff)
Merge "Upgrade epsdk version to 2.6.0 (but keep overlay 2.5.0) (fix)"6.0.2
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/ExceptionResponse.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/ExceptionResponse.java b/vid-app-common/src/main/java/org/onap/vid/model/ExceptionResponse.java
index d2e5d637e..f8d5918db 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/ExceptionResponse.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/ExceptionResponse.java
@@ -20,10 +20,9 @@
package org.onap.vid.model;
+import org.onap.logging.ref.slf4j.ONAPLogConstants.MDCs;
import org.slf4j.MDC;
-import static com.att.eelf.configuration.Configuration.MDC_KEY_REQUEST_ID;
-
/**
* The Class ExceptionResponse.
*/
@@ -67,7 +66,7 @@ public class ExceptionResponse {
public void setException(Exception exception) {
setException(exception.getClass().toString().replaceFirst("^.*[\\.$]", ""));
- setMessage(exception.getMessage() + " (Request id: " + MDC.get(MDC_KEY_REQUEST_ID) + ")");
+ setMessage(exception.getMessage() + " (Request id: " + MDC.get(MDCs.REQUEST_ID) + ")");
}
/**