Spencer Gibb
5d0b2fae86
Ignore misbehaving test
2017-01-20 13:42:04 -07:00
Spencer Gibb
f8a8b3cf31
Fix broken test logic, rather than >= should be <=
2017-01-20 13:41:49 -07:00
Jin Zhang
88396411f7
improve efficiency of SendResponseFilter#addResponseHeaders() ( #1622 )
2017-01-20 15:08:38 -05:00
Ryan Baxter
a5bd17c0c0
Remove check that does not apply Formatters to Collection in Feign Client parameters. Fixes #1526
2017-01-17 11:16:25 -05:00
Spencer Gibb
a5e5f81d88
Changes equals assertion to greaterThanOrEquals.
...
Hopefully this fixes flaky tests.
2017-01-16 11:41:45 -07:00
Ondřej Božek
b619ee00bf
Adds composed @RequestMapping annotations support
...
Fixed short circuit condition to correctly detect @RequestMapping shortcuts (@GetMapping, @PostMaping etc.)
Fixes gh-1201
2017-01-13 14:03:37 -07:00
Johannes Edmeier
899d8bc24d
Add CompositeRouteLocator ( #1448 )
...
Configure a CompositeRouteLocator by default so it is easier to compose
multiple RouteLocators.
2017-01-12 16:38:01 -05:00
Spencer Gibb
bf586ba2cb
polish
2017-01-12 14:32:57 -07:00
Hung Tran
6dfc7a815b
Disables httpclient auto decompression of encoded data
...
Applies only to SimpleHostRoutingFilter.
fixes gh-1480
2017-01-12 14:31:22 -07:00
Arnaud Brunet
b27ba0434a
More robust instantiation in SpringClientFactory
...
SpringClientFactory returns null if the class is not aware of IClientConfig.
This change catches the exception when trying the constructor with IClientConfig so classes that aren't aware of IClientConfig can be created.
Fixes gh-1608
2017-01-12 16:15:31 -05:00
Ryan Baxter
8029deb1e4
Merging PR #1457 into master.
2017-01-10 12:52:36 -05:00
Spencer Gibb
8a9c5fe4a1
Update fixes for hystrix stream test
2017-01-09 21:11:31 -07:00
Abhijit Sarkar
45d769b05b
Support header map and query map ( #1361 )
...
Adds support for Map types in feign for `@RequestHeader` and `@RequestParam`.
Fixes gh-1360
2017-01-09 22:45:03 -05:00
Rob Worsnop
af032476a8
Modified RibbonAutoConfiguration to support AsyncLoadBalancerInterceptor ( #1507 )
2017-01-09 22:02:10 -05:00
Julien Hoarau
7f4a6fd94c
#1341 SingleDeferredResult should uses RESULT_NONE from DeferredResult instead of having its own empty result.
2017-01-09 16:43:40 -07:00
Bertrand Renuart
fa45a9f3a4
Use a fixed size buffer for the copy operation ( #1538 )
...
Set the default buffer size to 8192 to match Tomcat and Jetty defaults
Use a buffer per worker thread and use it for subsequent requests
2017-01-09 14:38:45 -05:00
Spencer Gibb
64b81ff5a4
Update hystrix to 1.5.9
...
fixes gh-1600
2017-01-09 10:11:39 -07:00
Ryan Baxter
f3deb04521
Pass along client config in RibbonCommand.run ( #1573 )
...
Pass along client config in RibbonCommand.run.
Fixes gh-1530
2017-01-09 11:55:05 -05:00
Ryan Baxter
ab454f1e1b
Make FeignClientRegistrar implement EnvironmentAware ( #1569 )
...
Make FeignClientRegistrar implement EnvironmentAware to inject the environment.
Fixes gh-1568
2017-01-09 11:06:51 -05:00
Jacques-Etienne Beaudet
bd6d732fc7
Fix potential decoding and reencoding issues in query params when using SimpleHostRoutingFilter ( #1464 )
...
Some webserver are picky with the encoding (uWSGI for example) and the current code behavior of decoding and reencoding the query string can lead to valid requests
rejected by the backend after the modifications in Zuul. This commit adds an optional parameter to force the original encoding of the query string in SimpleHostRoutingFilter.
Fixes gh-971
2017-01-09 10:53:16 -05:00
Spencer Gibb
08fe5a89e9
Move SendErrorFilter to type error.
...
This will clear up empty 200 responses.
fixes gh-1123
2016-12-12 15:01:32 -07:00
Ryan Baxter
2e46bdf9d2
Porting #1450 for Dalston release
2016-12-12 15:09:16 -05:00
Spencer Gibb
8b089222bd
make external configurations optional
2016-12-08 13:47:19 -07:00
Spencer Gibb
ec80797694
avoid potential NPE
2016-12-08 12:27:10 -07:00
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
2016-12-05 13:26:05 -05:00
Ryan Baxter
6a82644153
Don’t add URL protocol when url is set using EL. Fixes #1522 .
2016-12-05 12:48:01 -05:00
Ryan Baxter
ac3401bc4f
Fixed import ordering
2016-12-01 20:28:29 -05:00
Ryan Baxter
9da71b1655
Removed unnecessary null check and fixed imports
2016-12-01 20:28:28 -05:00
Ryan Baxter
ed31004aa8
Uses configuration from IConfigClient reference to always use the most up to date configuration. Fixes #1481 .
2016-12-01 20:28:28 -05:00
Bertrand Renuart
2d748bf63c
use different bean names for Hystrix and HystrixStream features ( #1470 )
...
Fixes gh-1462
2016-11-16 09:39:48 -07:00
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.
2016-11-03 10:27:15 -04:00
Spencer Gibb
428ed6c88c
Bump to 1.3.0.BUILD-SNAPSHOT
2016-10-27 15:37:59 -06:00
Ryan Baxter
c3a84f1b73
Merge remote-tracking branch 'Upstream/master' into simplify-retry-logic
2016-10-26 15:05:12 -04:00
Ryan Baxter
5a5a1aaa7f
-Made spring-retry optional
...
-additional refactoring from changes in s-c-commons
2016-10-26 15:04:51 -04:00
Venil Noronha
aef753a3a0
Adds Feign Logger factory interface ( #1411 )
...
Fixes gh-1363
2016-10-25 17:39:22 -04:00
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.
2016-10-25 14:33:53 +01:00
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.
2016-10-25 12:56:49 +01:00
Dave Syer
139ab95438
Make configuration imports deterministic
2016-10-25 12:20:31 +01:00
Dave Syer
71ac67f9f1
Suppress some warnings
2016-10-25 12:20:21 +01:00
Dave Syer
0e1b856fc5
Extract proxy header manipulation into method
2016-10-25 07:50:38 +01:00
Ryan Baxter
0235d77932
Zuul Route Hystrix Fallback
...
Hystrix fallback support for Zuul routes.
Fixes gh-250.
2016-10-24 15:24:31 -04:00
Ryan Baxter
6e1ca54edc
increased max retried to help with failures
2016-10-24 13:42:21 -04:00
Ryan Baxter
5a42cb1b2b
Updates based on latest version from commons
2016-10-20 15:09:52 -04:00
Ryan Baxter
ee99efba36
Merge remote-tracking branch 'Upstream/master' into simplify-retry-logic
2016-10-20 14:38:37 -04:00
Spencer Gibb
8e6b643829
Use new ServletRegistrationBean package.
...
Breaks Spring Boot 1.3 compatibility, enables 1.5
2016-10-20 11:19:54 -06:00
Ryan Baxter
c9704d3c97
Updating versions for next release
2016-10-18 10:16:01 -04:00
Ryan Baxter
34775eb8db
Revert "Version changes for the release"
...
This reverts commit 90d6490fea .
2016-10-18 10:11:03 -04:00
Ryan Baxter
90d6490fea
Version changes for the release
2016-10-18 09:44:57 -04:00
Alena
acb12ea7d4
Support DELETE method body for SimpleHostRoutingFilter
...
fixes gh-1329
2016-10-13 09:34:08 -06:00
Ryan Baxter
18c4bc060b
Upgrade hystrix 1.5.6 ( #1388 )
...
Fixes gh-1374
2016-10-11 13:41:31 -04:00