Commit f99b9935 by Dave Syer

Remove unecessary Boot 1.1.5 artifacts

See gh-39
parent df0d44d1
package org.springframework.cloud.netflix.eureka.server;
import javax.servlet.Filter;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.embedded.FilterRegistrationBean;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.eureka.EurekaServerConfigBean;
......@@ -42,22 +39,4 @@ public class EurekaServerConfiguration extends WebMvcConfigurerAdapter {
return bean;
}
// TODO: remove this when we upgrade to Boot 1.1.6
@Bean
public FilterRegistrationBean metricFilterRegistration(@Qualifier("metricFilter") Filter filter) {
FilterRegistrationBean bean = new FilterRegistrationBean();
bean.setFilter(filter);
bean.setOrder(Ordered.HIGHEST_PRECEDENCE);
return bean;
}
// TODO: remove this when we upgrade to Boot 1.1.6
@Bean
public FilterRegistrationBean traceFilterRegistration(@Qualifier("webRequestLoggingFilter") Filter filter) {
FilterRegistrationBean bean = new FilterRegistrationBean();
bean.setFilter(filter);
bean.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
return bean;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment