1 package org.onap.sdc.workflow.logging.config;
3 import org.onap.sdc.workflow.logging.LoggingInterceptor;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.context.annotation.Configuration;
6 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
7 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
10 public class InterceptorConfig implements WebMvcConfigurer {
13 LoggingInterceptor loggingInterceptor;
16 public void addInterceptors(InterceptorRegistry registry) {
17 registry.addInterceptor(loggingInterceptor);