Updated setTargetEntity to accept ONAPComponentsList interface 96/95596/1
authorBrittany Plummer (bp896r) <bp896r@att.com>
Thu, 12 Sep 2019 16:24:38 +0000 (12:24 -0400)
committerBrittany Plummer (bp896r) <bp896r@att.com>
Thu, 12 Sep 2019 16:26:02 +0000 (12:26 -0400)
Issue-ID: LOG-1130
Change-Id: I8e69d64bef18589c9eabb785ab4671c265f517b9
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java

index cc31c4f..93c16a8 100644 (file)
@@ -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());
     }