Spencer Gibb
8b089222bd
make external configurations optional
8 years ago
Spencer Gibb
5b25c9ad1a
Only auto-register if conditions are correct.
...
s-c-commons creates an AutoServiceRegistrationProperties bean if enabled.
This commit only auto registers with eureka if that bean is available.
8 years ago
Spencer Gibb
ec80797694
avoid potential NPE
8 years ago
Bertrand Renuart
8b7d6848b3
use `com.netflix.loadbalancer.DummyPing` instead of `NoopPing`
...
use `com.netflix.loadbalancer.DummyPing` instead of `NoopPing`
This eliminates the startup of another theadpool.
fixes gh-1504
8 years ago
Ryan Baxter
edb14e2a6b
Merge pull request #1528 from ryanjbaxter/feign-url-protocol-1522
...
Don’t add URL protocol when url is set using EL
8 years ago
Ryan Baxter
6a82644153
Don’t add URL protocol when url is set using EL. Fixes #1522 .
8 years ago
Ryan Baxter
ac3401bc4f
Fixed import ordering
8 years ago
Ryan Baxter
9da71b1655
Removed unnecessary null check and fixed imports
8 years ago
Ryan Baxter
ed31004aa8
Uses configuration from IConfigClient reference to always use the most up to date configuration. Fixes #1481 .
8 years ago
Ryan Baxter
fe50674c8e
Merge pull request #1520 from ryanjbaxter/eureka-client-zone-doc-1327
...
Document Eureka client zone config
8 years ago
Spencer Gibb
1fe1ea58f6
Don't override values with defaults.
...
Defaults were set too late and were overriding values set in the environment.
Specifically, spring.application.name took precedence over eureka.instance.appname.
fixes gh-1516
8 years ago
Spencer Gibb
b3f1a30027
Move initalizing appname, etc.. to afterPropertiesSet
8 years ago
Spencer Gibb
111a95d262
Fix Eureka Ribbon Auto Config conditions.
...
Specifically, add `@ConditionalOnBean(EurekaClient.class)`.
Fixes an issue where eureka and ribbon are on the classpath, eureka.client.enabled=false which would cause a bean not found exception.
fixes gh-1511
(cherry picked from commit d1f8c03)
8 years ago
Ryan Baxter
35528a7199
Merge pull request #1496 from ryanjbaxter/upgrade-eureka-to-1.6.1
...
Upgrade Eureka to 1.6.1. Fixes #1495 .
8 years ago
Ryan Baxter
927b753262
Upgrade Eureka to 1.6.1. Fixes #1495 .
8 years ago
Ryan Baxter
8359016981
Updating generated README
8 years ago
Ryan Baxter
5372fe9d6e
Merge pull request #1494 from ryanjbaxter/document-feign-request-headers
...
Document how to use thread isolation with hystrix and feign. Fixes #1191 .
8 years ago
Ryan Baxter
8814da3b78
Document how to use thread isolation with hystrix and feign. Fixes #1191 .
8 years ago
Bertrand Renuart
2d748bf63c
use different bean names for Hystrix and HystrixStream features ( #1470 )
...
Fixes gh-1462
8 years ago
Ryan Baxter
eff1f0d77a
Fixes #1459
8 years ago
Spencer Gibb
aec8ec43ef
Fix broken test.
8 years ago
Spencer Gibb
93cd1e7a4a
Upgrade to eureka 1.6.0
...
fixes gh-1345
8 years ago
Spencer Gibb
ea4e5d76e0
Create EurekaServiceRegistry
...
Use the new ServiceRegistry interface
Creates a new EurekaRegistration object that aggregates classes needed
for a single registration.
8 years ago
Robin Stocker
e6298f8107
Fix NoClassDefFoundError loading RxJavaAutoConfiguration without spring-webmvc ( #1442 )
...
RxJavaReturnValueHandlerConfig can only be loaded when both spring-web
and spring-webmvc are on the classpath, because it contains a reference
to the WebMvcConfigurerAdapter class.
But the ConditionalOnClass annotation only included the class from
spring-web. In our situation, only spring-web was on the classpath,
resulting in a NoClassDefFoundError for WebMvcConfigurerAdapter. Fix it
by adding that class to the condition as well.
8 years ago
Dave Syer
704a874e84
Add example of empty sensitive headers
...
Emphasises that it's a black list, and clarifies that you need to
set it to empty to get authorization and cookie headers.
8 years ago
Spencer Gibb
428ed6c88c
Bump to 1.3.0.BUILD-SNAPSHOT
8 years ago
Ryan Baxter
dd62879b7b
Merge pull request #1430 from ryanjbaxter/zuul-hystrix-fallback-doc
...
Document Hystrix Fallback For Zuul
8 years ago
Ryan Baxter
14a31cd5f8
Switched media type to application/json
8 years ago
Ryan Baxter
8a7df36d88
Added route config
8 years ago
Ryan Baxter
fe56d96295
Fixes #1429
8 years ago
Ryan Baxter
fabf90bed4
Merge pull request #1375 from ryanjbaxter/simplify-retry-logic
...
Provide A Retry Policy For Ribbon Clients
8 years ago
Ryan Baxter
c3a84f1b73
Merge remote-tracking branch 'Upstream/master' into simplify-retry-logic
8 years ago
Ryan Baxter
5a5a1aaa7f
-Made spring-retry optional
...
-additional refactoring from changes in s-c-commons
8 years ago
Venil Noronha
aef753a3a0
Adds Feign Logger factory interface ( #1411 )
...
Fixes gh-1363
8 years ago
Ryan Baxter
08028db982
Merge pull request #1425 from ryanjbaxter/eureka-app-name-default
...
Resolve spring.application.name via property resolver
8 years ago
Ryan Baxter
85b2fe37e2
Added some additional tests
8 years ago
Spencer Gibb
81959b5ef3
Use new FilterRegistrationBean package.
...
Breaks Spring Boot 1.3 compatibility, enables 1.5
8 years ago
Ryan Baxter
657d9bb8e8
Merge remote-tracking branch 'Upstream/master' into eureka-app-name-default
8 years ago
Ryan Baxter
2dfee97563
Resolve spring.application.name value via a property resolver instead of @Value . Fixes #1398
8 years ago
Dave Syer
7f075d11ee
Allow Cors requests through to backend by default
...
Instead of blocking them (which is the default behaviour of a
Spring MVC controller) Cors requests will flow through the Zuul
filters by default. Users can control it by grabbing the
ZuulHandlerMapping in a @PostConstruct and injecting some
CorsConfiguration via its setCorsConfigurations() method.
8 years ago
Dave Syer
a38b7b71ac
Append to X-Forwarded-* headers instead of replacing them
...
This fixes most of the issues people encounter when there are
multiple proxies in the request. The tricky thing is that there
is another header "Forwarded" that we don't recognize, but which
backends probably do, at least some of the time (since it is
from an actual RFC). The problem is that "Forwarded" does not
contain the ports, so Spring UriComponentsBuilder cannot use it
to rewrite links to a specific port. Since we do not support it
already, this change doesn't make things any worse, but the
corner case is there still.
8 years ago
Dave Syer
139ab95438
Make configuration imports deterministic
8 years ago
Dave Syer
71ac67f9f1
Suppress some warnings
8 years ago
Dave Syer
0e1b856fc5
Extract proxy header manipulation into method
8 years ago
Ryan Baxter
0235d77932
Zuul Route Hystrix Fallback
...
Hystrix fallback support for Zuul routes.
Fixes gh-250.
8 years ago
Ryan Baxter
6e1ca54edc
increased max retried to help with failures
8 years ago
Ryan Baxter
274213bc83
Merge pull request #1412 from ryanjbaxter/creating-feign-clients-with-builder
...
Document Manual Feign Client Creation
8 years ago
Ryan Baxter
5a42cb1b2b
Updates based on latest version from commons
8 years ago
Ryan Baxter
ee99efba36
Merge remote-tracking branch 'Upstream/master' into simplify-retry-logic
8 years ago
Ryan Baxter
b16a95d0f2
Fixed typo
8 years ago