aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-01-20 21:46:47 +0200
committerIttay Stern <ittay.stern@att.com>2020-01-23 16:25:10 +0200
commit68803a2495d66262d7e49f4c77957decbeda5ff0 (patch)
treef66238c428327083412fec0437d98d46f53986a8 /vid-app-common
parent29a97a7fe7fa9c3c50fba299a7b1cf121be05b07 (diff)
Upgrade epsdk version to 2.6.0 (but keep overlay 2.5.0) (fix)
Issue-ID: VID-471 Issue-ID: VID-718 Complements commit 9c131c1f Change-Id: I26a87acf828b9f557724de26e00ef1bb6739a67b Signed-off-by: Ittay Stern <ittay.stern@att.com>
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) + ")");
}
/**