Spencer Gibb
a0b73fe7c7
migrate from slf4j to commons logging
...
fixes gh-147
10 years ago
Spencer Gibb
e7331098fa
change protected and package scope fields to private
...
fixes gh-149
10 years ago
Dave Syer
0e4eb9ef1f
Use @ConditionalOnProperty where possible
10 years ago
Dave Syer
90d7e5df7a
Correct Javadocs in *FeignClient
...
Fixes gh-151
10 years ago
Dave Syer
17484fad3a
Use Enum.valueOf() instead of case switch
...
Fixes gh-156
10 years ago
Phillip Webb
8b6307e703
Use BDD Mockito
10 years ago
Phillip Webb
3ea0f8d283
Polish
10 years ago
Phillip Webb
9d823513c3
Add copyright headers
10 years ago
Phillip Webb
6a7676a93f
Apply eclipse formatting and cleanup
10 years ago
Phillip Webb
911627c09d
Add eclipse formatting and cleanup configuration
10 years ago
Phillip Webb
be436279cf
Polish POM files
10 years ago
Spencer Gibb
6e078a88e8
make messageConverters lazy in SpringDecoder and SpringEncoder
...
fixes gh-129
10 years ago
Spencer Gibb
8fb85f26ea
add a test to make sure that proxy paths with /another/level/** works
10 years ago
Spencer Gibb
3d91dae0c4
only forward if response is not committed.
10 years ago
Spencer Gibb
95541e0102
only run SendErrorFilter once (fixes recursive forwarding if /error fails)
10 years ago
Spencer Gibb
64e5a2e0ba
protect against a null RequestDispatcher
10 years ago
Spencer Gibb
c992066ac0
only create the /routes endpoint if actuator is on the classpath
10 years ago
Dave Syer
da6da6d76c
Re-organise headers in the /trace of Zuul requests
...
Now they match better what the vanilla /trace data does in terms of
object and field names.
10 years ago
Dave Syer
242886916f
Fix test in build server VM
10 years ago
Dave Syer
a9213f2416
Allow @RibbonClient("foo") as a short cut
10 years ago
Dave Syer
ec2d732bb4
Add back EnableHystrix as a courtesy
10 years ago
Dave Syer
52c9310bb0
Add back EnableEurekaClient as a courtesy
...
It's nice to have an annotation to say "I want Eureka discovery".
At the moment it is a pass thru for @EnableDiscoveryClient , but
in principle it could be used to select Eureka over another provider
even if both were on the classpath.
10 years ago
Julien Roy
9266785134
Fix Zuul proxy POST on content-type with charset
...
Fixes gh-113
10 years ago
Dave Syer
9c416bf627
Use getHostname() instead of field in DatacenterInfo
...
Fixes gh-122
10 years ago
Dave Syer
3bbe4ae249
Ensure SpringClientFactory gets used for Feign clients
...
If the ClientFactory from netflix is used directly it bypasses
all the goodness in SpringClientFactory, so clients created
in Feign before this change were getting the default native
configuration instead of that provided by
RibbonClientConfiguration.
There are no remaining references to the raw ClientFactory in
Spring Cloud, so we probably have seen the last of this.
Fixes gh-118
10 years ago
Dave Syer
34785b6bdd
Make actuator dependency optional in netflix-core
...
Fixes gh-117
10 years ago
Dave Syer
4a77b86d08
Minify Javascript so it isn't needed in jars at runtime
10 years ago
Spencer Gibb
7b0824fb78
add some hystrix tests, specifically check there is no discovery health indicator if it is not turned on
...
fixes gh-112
10 years ago
Dave Syer
9939e0ecd9
Convert form-encoded request to byte[] for proxy
...
With just a bit more hackery on the Zuul request wrapper we can mask
off the input stream and content lengths, and fix them so they contain
the expected content. Doesn't work (yet) for multipart content.
Fixes gh-109
10 years ago
Spencer Gibb
4dc7972fa5
moved spring-cloud-bus-{hystrix,turbine} to spring-cloud-netflix-{hystrix,turbine}-amqp
...
fixes gh-108
10 years ago
Spencer Gibb
71d0a474f7
cleanup threads in DiscoveryClient.jerseyClient and ServoMetricCollector
10 years ago
Spencer Gibb
d4d1fe7f63
cleanup timer thread in zuul filter
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
7ba9998646
Add optional/runtime to lombok
10 years ago
Dave Syer
27da0bc12e
Simplify implementation of servo metrics
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
67878cfebd
Rename @EnableRibbonClient to just @RibbonClients
10 years ago
Spencer Gibb
2545a0151b
Only approximate zone if ribbon.eureka.approximateZoneFromHostname = true
10 years ago
Spencer Gibb
c1e6832dee
add @DirtiesContext to tests
10 years ago