diff options
author | Brittany Plummer (bp896r) <bp896r@att.com> | 2020-04-06 20:57:25 -0400 |
---|---|---|
committer | Brittany Plummer <bp896r@att.com> | 2020-04-07 13:56:15 +0000 |
commit | b2258907121b5d692907ea087826e3fc1bc62708 (patch) | |
tree | 86b0ac91d2a7f1a6a308138a528f65e0b4556858 /reference | |
parent | 979dcad46b17bf071fbcfc71419795304e555e6e (diff) |
Added PreMatching annotation to AuditLogContainerFilter
Issue-ID: LOG-1209
Change-Id: I88a9ee744a55dd8baea632fab08cdabc7aa25ab1
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
Diffstat (limited to 'reference')
-rw-r--r-- | reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java | 2 |
1 files changed, 2 insertions, 0 deletions
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<ContainerRequestContext, ContainerResponseContext> implements ContainerRequestFilter, ContainerResponseFilter { |