Michael Hartle
8bb223f6e3
Added a minimal test for FormBodyWrapperFilter handling multiple part names with multiple parts
8 years ago
Ryan Baxter
10a3d1df69
Changed version and group id to use latest OpenFeign release. Fixes #1189 .
8 years ago
Michael Hartle
0095ba8984
Fixed an issue where the pre FormBodyWrapperFilter adds multiples of every multipart part to a request
8 years ago
Daniel Lavoie
6f32aa95a7
Migrate tests to Spring Boot Test 1.4
...
Fixes gh-1205
8 years ago
Dave Syer
afb43c5883
Actually fix the feign client validation issue
...
We need to still assert that the FeignClient is valid (no name and
value specified together for instance). Added missing tests.
8 years ago
Dave Syer
85ef54a9a1
Fix Feign validation for Spring 4.2 and 4.3
...
There is a utility method in Spring that we can use to merge all
the aliases. That way 4.2 and 4.3 behave the same way.
Fixes gh-1192
8 years ago
Dave Syer
2f581a1181
Use JUnit assertions
8 years ago
Dave Syer
110f872779
Fix generic type signature (otherwise breaks with Spring 4.3)
8 years ago
Spencer Gibb
54931afa8b
Remove assertion that fails in spring 4.3.x
...
Need to make this class 4.2.x compatible.
see gh-1192
8 years ago
Spencer Gibb
2908323702
Add debug logging that code is setting spring.aop.proxyTargetClass=true
...
See gh-1105
8 years ago
Denys Kurylenko
5d664cd00d
Disable cookie management for RibbonLoadBalancingHttpClient Fixes gh-301
8 years ago
Spencer Gibb
7835c4047b
temporarily comment out FormZuulProxyApplicationTests.postWithMultipartForm
8 years ago
Spencer Gibb
ab0af4554c
Update to s-c-build 1.2.0
8 years ago
Bertrand Renuart
926414a014
GH1155: remove Guava ImmutableMap in favour of Collections.unmodifiableMap()
...
Make sanitizeUrlTemplate() protected for easy sub-classing
8 years ago
Spencer Gibb
3991c8c5f7
Allow custom feign clients when not using ribbon.
...
fixes gh-1143
9 years ago
Spencer Gibb
cb4d60ca8d
fix typo
9 years ago
Patrick Cornelißen
723287b305
Adds ability to disable hostname validation.
...
Adds property zuul.sslHostnameValidationEnabled to be able to disable the hostname validation in the simpleHostRoutingFilter
fixes gh-1057
9 years ago
Spencer Gibb
46b2e45fd5
Adds a RibbonRequestCustomizer.
...
This allows developers to customize the request builders for zuul requests to inject headers or modify the request in general. Each zuul request type (RestClient, Apache HttpClient and OkHttp) is supported.
fixes gh-1141
9 years ago
Spencer Gibb
390999e042
Add default `zuul.ribbon.httpclient.enabled=true`
9 years ago
Spencer Gibb
8a7e165214
Split ProxyRequestHelper to function without Actuator.
...
Previously ProxyRequestHelper contained a TraceRepository field. This caused zuul apps to fail with a class not found exception if they excluded actuator. This splits TraceRepository functionality into a new TraceProxyRequestHelper that extends ProxyRequestHelper. Auto configuration creates the appropriate ProxyRequestHelper based on the existence or not of actuator classes.
fixes gh-1135
9 years ago
Spencer Gibb
52b6578fcf
polish
9 years ago
Spencer Gibb
2f205f20c5
Skip tests that only fail in travis for now.
9 years ago
Spencer Gibb
e1df7c3b4d
Add back RestClientRibbonCommand api's.
9 years ago
Spencer Gibb
6877f0898f
Move RestClientRibbonCommand back to original place.
...
Made it public and undid other refactorings.
9 years ago
Marcin Grzejszczak
74ac6eae8f
Made RestClientRibbonCommand public
9 years ago
Spencer Gibb
7dc8b86001
Load ribbon classes if defined via properties.
...
Allows ribbon class name properties to be used to define beans.
This seems like boilerplate, but works, though not easily extensible.
fixes gh-927
9 years ago
Will Tran
dfbfcfecc7
Without explicit client config of IsSecure, lookup from registration
...
instead of defaulting to false.
Fixes gh-1126
9 years ago
Spencer Gibb
7ac81f8fd5
Adds zuul okhttp support & zuul refactor.
...
Adds a OkHttpRibbonCommand and accomanying classes. They should be
considered beta.
Refactors zuul ribbon command classes and tests.
fixes gh-1125
9 years ago
Spencer Gibb
fd36a0cc72
Default to HttpClientRibbonCommandFactory
9 years ago
Spencer Gibb
398c5aa009
upgrade feign to v8.17.0
...
fixes gh-1081
9 years ago
Spencer Gibb
7a90c0cd88
Set entity contentLength to 0 for GET requests.
...
Zuul sets an empty entity for GET requests. The apache http client either sets transfer encoding to chunked or a content length header. This change sets the apache entity contentLength to 0 (not the header), to that in RequestContent the "content-length" header is set to 0 rathern than transfer encoding.
See gh-1042
9 years ago
Spencer Gibb
cfcca5f881
Set entity contentLength for HttpClientRibbonCommand.
...
If the content length isn't set on the entity, when http client determines which header to set, it sets transfer-encoding to chunked rather than content-length.
This fixes a missing content-length issue when using `HttpClientRibbonCommandFactory`.
See gh-1042
9 years ago
Dave Syer
9e479481cc
Exempt @RequestParams of type Collection from feign expander
...
It isn't very helpful to have a Collection converted to a String
anyway. We need to implement something new in Feign to apply
the converter (expander) to individual elements in the collection
but this change should get back to the old behaviour with
List<String> at least.
Fixes gh-1115
9 years ago
Spencer Gibb
aa23660d0c
Upgrade to zuul 1.2.2
...
fixes gh-1091
closes gh-958
9 years ago
Spencer Gibb
20db868592
Don't send 4xx errors to /error
...
fixes gh-1110
9 years ago
Spencer Gibb
02948657a4
Don't send 4xx errors to /error
...
fixes gh-1110
9 years ago
Spencer Gibb
dd220458f8
polish
9 years ago
Spencer Gibb
d4163dde8e
Polish
9 years ago
Spencer Gibb
3bd563e495
remove h2 test dep
9 years ago
Dave Syer
6906c7ba55
Update to 1.1.3 snapshots
9 years ago
Spencer Gibb
09cc1f2db0
polish
9 years ago
Spencer Gibb
7d295bdc8b
Update to SNAPSHOT
9 years ago
Spencer Gibb
b6807fc264
Update SNAPSHOT to 1.1.2.RELEASE
9 years ago
Jacques-Etienne Beaudet
726f355e9c
Support path parms in Class @RequestMapping for feign
...
This commit adds the support to SpringMvcContract for path parameters
defined in the class' @RequestMapping Annotation that is applied to all
methods of a feign interface.
fixes gh-1023
9 years ago
Dave Syer
02d935dbaa
Add @ConditionalOnEnabledEndpoint to archaius endpoint
...
Fixes gh-936
9 years ago
Dave Syer
4507d1d46d
Add listener for HeartbeatEvent to refresh zuul routes
...
Fixes gh-1084
9 years ago
Marcin Grzejszczak
2566707256
Zuul filters missing error status code ( #1088 )
...
* Added missing error code for SimpleHostRoutingFilter
* Added missing error code for RibbonRoutingFilter
9 years ago
Spencer Gibb
332b5605d6
Update to SNAPSHOT
9 years ago
Spencer Gibb
c3d16ddb30
Update SNAPSHOT to 1.1.1.RELEASE
9 years ago
Dave Syer
b6fa67c49f
Use Servlet 3.0 Part instead of Spring MultipartFile
...
So that it can handle multi-part requests that do not have a
file name.
Fixes gh-1067
9 years ago