Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
f99b9935
Commit
f99b9935
authored
Oct 23, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unecessary Boot 1.1.5 artifacts
See gh-39
parent
df0d44d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
EurekaServerConfiguration.java
...loud/netflix/eureka/server/EurekaServerConfiguration.java
+0
-21
No files found.
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerConfiguration.java
View file @
f99b9935
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
;
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.boot.context.embedded.FilterRegistrationBean
;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
org.springframework.cloud.netflix.eureka.EurekaServerConfigBean
;
import
org.springframework.cloud.netflix.eureka.EurekaServerConfigBean
;
...
@@ -42,22 +39,4 @@ public class EurekaServerConfiguration extends WebMvcConfigurerAdapter {
...
@@ -42,22 +39,4 @@ public class EurekaServerConfiguration extends WebMvcConfigurerAdapter {
return
bean
;
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
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment