diff options
author | Steve Smokowski <ss835w@att.com> | 2020-02-24 14:11:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-24 14:11:28 +0000 |
commit | c93b56fc1c4e8dc8d3e39c63caf5d17b3ce28b1e (patch) | |
tree | dce8b46cf4f45fdf4a7b164910f7592654c99890 /common | |
parent | 4692ea4644c465310e8304fd6153c2f4af319b02 (diff) | |
parent | 46112301ef34490de3eb0e74a52fda14af961589 (diff) |
Merge "Added prematching to audit filter"
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/org/onap/so/logging/jaxrs/filter/SOAuditLogContainerFilter.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOAuditLogContainerFilter.java b/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOAuditLogContainerFilter.java index 5ae1082464..3e85cc5ec6 100644 --- a/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOAuditLogContainerFilter.java +++ b/common/src/main/java/org/onap/so/logging/jaxrs/filter/SOAuditLogContainerFilter.java @@ -3,6 +3,7 @@ package org.onap.so.logging.jaxrs.filter; import javax.annotation.Priority; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; +import javax.ws.rs.container.PreMatching; import org.onap.logging.ref.slf4j.ONAPLogConstants; import org.onap.so.logger.HttpHeadersConstants; import org.onap.so.logger.LogConstants; @@ -11,6 +12,7 @@ import org.springframework.stereotype.Component; import org.onap.logging.filter.base.AuditLogContainerFilter; @Priority(1) +@PreMatching @Component public class SOAuditLogContainerFilter extends AuditLogContainerFilter { @@ -26,9 +28,4 @@ public class SOAuditLogContainerFilter extends AuditLogContainerFilter { } MDC.put(LogConstants.URI_BASE, request.getUriInfo().getBaseUri().toString()); } - - @Override - protected void additionalPostHandling(ContainerResponseContext response) { - // override to add additional post handling - } } |