From b2258907121b5d692907ea087826e3fc1bc62708 Mon Sep 17 00:00:00 2001 From: "Brittany Plummer (bp896r)" Date: Mon, 6 Apr 2020 20:57:25 -0400 Subject: Added PreMatching annotation to AuditLogContainerFilter Issue-ID: LOG-1209 Change-Id: I88a9ee744a55dd8baea632fab08cdabc7aa25ab1 Signed-off-by: Brittany Plummer (bp896r) --- .../main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'reference') diff --git a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java index 4783e7b..30f6d62 100644 --- a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java +++ b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java @@ -27,6 +27,7 @@ import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; +import javax.ws.rs.container.PreMatching; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import javax.ws.rs.ext.Providers; @@ -36,6 +37,7 @@ import org.slf4j.LoggerFactory; import org.slf4j.MDC; @Priority(1) +@PreMatching @Provider public class AuditLogContainerFilter extends AbstractAuditLogFilter implements ContainerRequestFilter, ContainerResponseFilter { -- cgit 1.2.3-korg