1 package org.onap.so.adapters.requestsdb.application;
4 import org.onap.so.logging.spring.interceptor.LoggingInterceptor;
5 import org.springframework.beans.factory.annotation.Autowired;
6 import org.springframework.context.annotation.Bean;
7 import org.springframework.context.annotation.Configuration;
8 import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
9 import org.springframework.web.servlet.handler.MappedInterceptor;
12 public class WebMvcConfig extends WebMvcConfigurerAdapter {
15 LoggingInterceptor loggingInterceptor;
18 public MappedInterceptor mappedLoggingInterceptor() {
19 return new MappedInterceptor(new String[]{"/**"}, loggingInterceptor);