Roy Clarkson
75ff9540bb
Fix typos in README
10 years ago
Dave Syer
e623ad1061
Fix ordering problem in tests
...
The Zuul filter registry has to be cleareed (including a cache in
a private field in FilterLoader, yuck).
10 years ago
Dave Syer
311d87885c
Re-instate @EnableZuulServer and simplifiy configuration a bit
...
With this change users can elect not to install the proxy features
but still have a Zuul server with @Beans of type ZuulFilter added
automatically.
Fixes gh-104
10 years ago
Spencer Gibb
789cf6d752
change the default route from / to /**
...
fixes gh-105
10 years ago
Spencer Gibb
4d9281c2af
reset zuul routes when eureka sends catalog delta.
...
fixes gh-76
10 years ago
Spencer Gibb
7423decc54
updated EurekaHealthIndicator to implement the new DiscoveryHealthIndicator
...
fixes gh-98
10 years ago
Dave Syer
70648b0ec0
Tidy compiler warnings
10 years ago
Dave Syer
238c1329c4
Remove dependency on jersey for ProxyRequestHelper
10 years ago
Dave Syer
2a8db73d9b
Extract header manipulation into a helper and add test
...
Ribbon and simple host reverse proxy now share quite a lot of
code (everything to do with headers).
Fixes gh-103
10 years ago
Dave Syer
73e7adbe5b
Extract base class with params and headers for proxy filters
...
Fixes gh-103
10 years ago
Spencer Gibb
096a8fa736
ignore breaking test for a moment
10 years ago
Spencer Gibb
4a6d8a30f0
removed circular dependency between EurekaClientAutoConfiguration and EurekaDiscoveryClientConfiguration that caused DiscoveryClientConfigServiceBootstrapConfiguration to fail.
...
fixes gh-99
10 years ago
Dave Syer
f468160693
Add auth.route.* for controlling OAuth2 token relay
...
If user adds auth.route.<service>.scheme: passthru then instead
of adding the bearer token the filter will not do anything
(and the normal authorization header will be passed through
to the backend)
See gh-19
10 years ago
Dave Syer
16c25a2875
Clarify that path to dashboard doesn't require "index.html"
...
See gh-51
10 years ago
Spencer Gibb
7765c721ca
basePath should always be /contextPath/servletPath/ (the last slash being the location of the eureka dashboard)
...
fixes gh-101
10 years ago
Spencer Gibb
ba6a414d1d
fix double slashes in eureka server
...
fixes gh-100
10 years ago
Dave Syer
a2fade98a5
Change docs path in README
10 years ago
Dave Syer
7ba9998646
Add optional/runtime to lombok
10 years ago
Dave Syer
27da0bc12e
Simplify implementation of servo metrics
10 years ago
Roy Clarkson
64c447f0cb
Fix Travis CI image and link in README
10 years ago
Dave Syer
6d20c63445
Ensure servo metrics contribute to health indicator
...
Without this change the health status is always UNKNOWN because it
never finds the servo metrics for the health indicator. It's also
a general spruce up of the servo and eureka metrics and health
infrastructure which was looking a little more complicated than
it needed to be (no need for a separate MetricReader).
10 years ago
Dave Syer
29eea6d9b6
Call postInit() aggressively on InstanceRegistry
...
To avoid possible NPE when the registry is used before it is initialized.
Fixes gh-97
10 years ago
Dave Syer
67878cfebd
Rename @EnableRibbonClient to just @RibbonClients
10 years ago
Dave Syer
e155601c40
Add log at info when Eureka starts
10 years ago
Spencer Gibb
56f1a365fc
add /hosts/appName and renamed misspelled bootstrapyml
10 years ago
Spencer Gibb
2545a0151b
Only approximate zone if ribbon.eureka.approximateZoneFromHostname = true
10 years ago
Spencer Gibb
f92e0103bb
Merge branch 'master' into feignclient
...
Conflicts:
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/feign/SpringDecoderTests.java
10 years ago
Spencer Gibb
c1e6832dee
add @DirtiesContext to tests
10 years ago
Dave Syer
6417923523
Extract ribbon client factory into ApplicationContext
...
Using Spring as an object factory to control the lifecycle of ribbon clients.
So far we have a single, parameterized configuration class for all clients, but
can be extended to allow user to supply additional configuration. The current
model for user extensions is
@EnableRibbonClient(@RibbonClient(name = "foo", configuration = FooConfiguration.class))
public class MainConfiguration {
...
}
So in this example, MainConfiguration is part of the "main" application context
and FooConfiguration is used to create the Ribbon client and load balancer for
the "foo" service.
10 years ago
Dave Syer
bfb6ca6d8d
Ditch SpringFilter in favour of proper dependency injection
10 years ago
Spencer Gibb
92a3454237
Polish
10 years ago
Spencer Gibb
05e8777fc3
add missing feign objects as not required values.
...
Document FeignClient
10 years ago
Spencer Gibb
7f9642ff38
new @FeignClient annotation
10 years ago
Spencer Gibb
b7db65863f
rename FeignConfigurer to FeignConfiguration
...
fixes gh-91
10 years ago
Spencer Gibb
3b7cc53c27
Merge branch 'jlouns-master'
10 years ago
Spencer Gibb
45e9a6208b
Merge branch 'master' of github.com:jlouns/spring-cloud-netflix into jlouns-master
10 years ago
Jonathan Lounsbury
51f7dbd724
Simplifying readdition of route
10 years ago
Jonathan Lounsbury
d999b802bc
Fixing issue with default routes
10 years ago
Spencer Gibb
5964d160a1
remove deprecated @EnableEurekaClient and replace with @EnableDiscoveryClient
...
fixes gh-85
10 years ago
Spencer Gibb
3333cbeb99
remove deprecated @EnableHystrix
...
fixes gh-87
10 years ago
Spencer Gibb
88a8201693
Polish
10 years ago
Dave Syer
fc0aac3b01
Add paragraph in docs about eureka instance id
...
Fixes gh-63
10 years ago
Dave Syer
0f281bc9e1
Initialize log4j to prevent blitz4j from freaking out
10 years ago
Dave Syer
4e2148d634
Add default value (and log warning) if applicationId is null
...
Fixes gh-86
10 years ago
Dave Syer
aed4369502
Add ignored test to show that blitz4j is not responding
...
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.
Fixes gh-48
10 years ago
Dave Syer
a1ae9673bf
Add ignored test to show that blitz4j is not responding
...
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.
Fixes gh-48
10 years ago
Dave Syer
4a6193e790
Ensure app without Actuator can start
10 years ago
Dave Syer
dfae445499
Strip prefixes from zuul routes by default
...
The default behaviour is now to strip the prefixes (global and
route-specific) by default. E.g.
zuul:
prefix: /api
routes:
customers: /customers/**
Will forward /api/customers/101 to /101 on the customers service
See gh-43
10 years ago
Dave Syer
7b270c4b46
Add support for X-Forwarded-Prefix to Zuul proxy
...
Fixes gh-43
10 years ago
Spencer Gibb
9c6474fba1
Make ZuulHandlerMapping @RefreshScope .
...
Handle InstanceRegisteredEvent and RefreshScopeRefreshedEvent in ZuulHandlerMapping rather than ProxyRouteLocator.
Move /routes endpoint out of ZuulHandlerMapping into RoutesEndpoint (because of a problem when I added @RefreshScope to ZuulHandlerMapping)
10 years ago