From b23c87a20a2e240d84d19fb4ab4848a3bf921fbf Mon Sep 17 00:00:00 2001 From: "Brittany Plummer (bp896r)" Date: Thu, 12 Sep 2019 12:24:38 -0400 Subject: Updated setTargetEntity to accept ONAPComponentsList interface Issue-ID: LOG-1130 Change-Id: I8e69d64bef18589c9eabb785ab4671c265f517b9 Signed-off-by: Brittany Plummer (bp896r) --- .../src/main/java/org/onap/logging/filter/base/MDCSetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java index cc31c4f..93c16a8 100644 --- a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java +++ b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java @@ -177,7 +177,7 @@ public class MDCSetup { MDC.put(ONAPLogConstants.MDCs.RESPONSE_STATUS_CODE, statusCode); } - public void setTargetEntity(ONAPComponents targetEntity) { + public void setTargetEntity(ONAPComponentsList targetEntity) { MDC.put(ONAPLogConstants.MDCs.TARGET_ENTITY, targetEntity.toString()); } -- cgit 1.2.3-korg