diff options
author | 2019-09-11 13:38:45 +0000 | |
---|---|---|
committer | 2019-09-11 14:36:27 +0000 | |
commit | 66930a9199640842054baa070ed4c7d3b5b6adc0 (patch) | |
tree | 9d246a31bf8b0e43eebfb39ccd5385c972ed2c42 /reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter | |
parent | af7b98db7774e3232a9fe3b988a0c7f86a1af4ea (diff) |
Update StatusLoggingInterceptor
StatusLoggingInterceptor should not extend PayloadLoggingServletFilter
Issue-ID: LOG-1127
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: Ic66ee14445efd57c92b4fcc894ec0b4c5470a441
Diffstat (limited to 'reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter')
-rw-r--r-- | reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java b/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java index 887e621..3401efa 100644 --- a/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java +++ b/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java @@ -26,16 +26,15 @@ import javax.servlet.http.HttpServletResponse; import javax.ws.rs.core.Context; import javax.ws.rs.core.Response; import javax.ws.rs.ext.Providers; -import org.onap.logging.filter.base.PayloadLoggingServletFilter; +import org.onap.logging.filter.base.AbstractServletFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; -// TODO do we want this class to log message payloads? In the previous implementation it did not @Component -public class StatusLoggingInterceptor extends PayloadLoggingServletFilter implements HandlerInterceptor { +public class StatusLoggingInterceptor extends AbstractServletFilter implements HandlerInterceptor { private static final Logger logger = LoggerFactory.getLogger(StatusLoggingInterceptor.class); |