Matt Benson
a71e13ef07
Where a given String conversion is supported, register Feign Param.Expanders
...
backed by a Feign-specific FormattingConversionService.
2016-03-11 17:03:04 -07:00
Spencer Gibb
b8f11e79c6
Atlas no longer requires a RestTemplate bean.
...
fixes gh-881
2016-03-10 18:13:20 -07:00
Spencer Gibb
4f31596e4f
Fallback to server.port if management.port not set.
...
See gh-896
2016-03-10 17:30:46 -07:00
Spencer Gibb
a1857556ed
Put min/max constraints on sidecar.port
2016-03-10 12:54:33 -07:00
Spencer Gibb
802482fff3
Allow CommonsInstanceDiscovery to resolve multiple services on a single host.
...
fixes gh-897
2016-03-10 11:54:03 -07:00
Dave Syer
371edbf827
Prevent possible memory leak with archaius
2016-03-09 16:58:31 +00:00
Jean-Eric Cuendet
f8df337893
Verify that the stream is more than ZERO bytes before un-gzipping
...
Fixes gh-891
2016-03-09 13:47:16 +00:00
Spencer Gibb
3c8a0d0edb
Upgrade feign to 8.15.1
2016-03-08 20:39:10 -07:00
Spencer Gibb
7f9d453afe
Merge pull request #884 from spring-cloud/issues_feign_broken_vnd_content_type
...
8.15 version of Feign breaks VND content types
2016-03-08 20:39:03 -07:00
Marcin Grzejszczak
69a705731b
Added Sonar support
2016-03-08 22:10:26 +01:00
Spencer Gibb
4aa156773c
Upgrade eureka to 1.4.3
...
fixes gh-886
2016-03-08 12:27:32 -07:00
Marcin Grzejszczak
61e9d0723c
Test to prove the issue
2016-03-08 14:36:37 +01:00
Dave Syer
2670890845
Whitespace
2016-03-08 08:18:38 +00:00
Spencer Gibb
48c9d48789
Upgrade Hystrix to 1.5.1
...
fixes gh-882
2016-03-07 23:09:02 -07:00
Spencer Gibb
a913369dd0
Upgrade feign version to 8.15.0
...
fixes gh-880
2016-03-07 14:31:44 -07:00
Spencer Gibb
eed5a6f10b
Test RestTemplate with ribbon when metrics are enabled.
2016-03-07 14:08:27 -07:00
Spencer Gibb
0634c4bc37
Disabling the metrics interceptor fixes the tests.
...
I'm not sure that is a good thing though.
2016-03-07 12:30:39 -07:00
Dave Syer
8375e3b444
Adapt to changes in commons that put onus on user with @LoadBalanced
2016-03-07 18:04:10 +00:00
Spencer Gibb
790ac76a48
Change type of loadBalancerClient back LoadBalancerClient.
2016-03-04 11:21:43 -07:00
Dave Syer
1d1ad75afb
Allow double-encoded JSON (as sent by Angel clients) in turbine
...
Fixes gh-873
2016-03-04 17:42:33 +00:00
Dave Syer
5bd18e4567
Mostly whitespace
2016-03-04 14:30:11 +00:00
Dave Syer
bda11adfd5
Ensure content type is application/json
...
For compatiblity with Angel streams we only need to set the content
type explicitly.
Fixes gh-873
2016-03-04 13:28:40 +00:00
Dave Syer
000fee96aa
Use "=" as separator in @RequestMapping(headers=...)
...
Consistent with Spring MVC (and untested up to now apparently).
Fixes gh-874
2016-03-04 09:38:31 +00:00
Dave Syer
718cafcd04
Add X-Forwarded-Port explicitly for Tomcat (and other servers)
...
Fixes gh-872
2016-03-03 11:29:30 +00:00
Dave Syer
908dcc0ec8
Support for multivalued map of file uploads
...
i.e. user sends multiple files with the same parameter name.
Fixes gh-870
2016-03-03 09:33:07 +00:00
Spencer Gibb
4f6b2bceae
Record load balancer stats in RibbonHttpRequest.
...
fixes gh-731
2016-03-02 21:38:51 -07:00
Spencer Gibb
472b9d1757
Don't run PreDecorationFilter if serviceId already set.
...
fixes gh-695
2016-03-02 18:25:52 -07:00
Spencer Gibb
8a2a608af0
Add zuul.removeSemicolonContent to enable matrix params.
...
fixes gh-542
2016-03-02 15:24:04 -07:00
Spencer Gibb
60f4a5bc13
Move o.s.c.util to o.s.c.commons.util
2016-03-02 11:04:21 -07:00
Dave Syer
a5d839fe44
Fix mvnw script for milestones
2016-03-02 17:34:26 +00:00
Dave Syer
9ea64308cb
Add Authorize to sensitive headers in zuul proxy
2016-03-02 16:17:01 +00:00
Spencer Gibb
b8cbf4e637
Don't debug body if zuul servlet or if disabled.
...
fixes gh-857
2016-03-01 16:20:54 -07:00
Spencer Gibb
2808162037
Upgrade Hystrix to 1.4.24
...
Upgrade RxJava to 1.1.1
fixes gh-866
2016-03-01 15:29:01 -07:00
Spencer Gibb
9e0d8cae17
Support HttpEntity not just ResponseEntity
...
fixes gh-859
2016-02-29 10:55:04 -07:00
Spencer Gibb
b6fef04761
Preserve upstream character encoding. Only default to UTF-8 if not set.
...
fixes gh-530
2016-02-26 14:43:12 -07:00
Spencer Gibb
b1bcf483c9
polish
2016-02-25 17:31:35 -07:00
Dave Syer
d2e004dc68
Add support for "sensitiveHeaders" in zuul.routes
...
By default we now discard all Set-Cookie and Cookie headers. User
can manipulate it per route via zuul.routes.*.sensitiveHeaders, or
globally via zuul.ignoredHeaders.
2016-02-25 16:51:22 +00:00
Dave Syer
40361f1b8e
Add whitelist hosts and sensitive headers
2016-02-25 12:57:33 +00:00
Dave Syer
17eb2f8d91
Refer to correct config props object in docs
2016-02-25 11:53:38 +00:00
Spencer Gibb
727ea4d473
Upgrade eureka to 1.4.2
...
fixes gh-854
2016-02-24 17:20:17 -07:00
Spencer Gibb
46fa2110da
Use default instanceid for sidecar
...
fixes gh-847
2016-02-24 13:48:14 -07:00
Dave Syer
ca81f5671a
Add HTTP basic back to Eureka client
...
Latest Eureka from Netflix uses a different HTTP client, and it
ignores the HTTP basic credentials in a service URL. This change
partially restores the old behaviour by providing an interceptor
(ClientFilter) that has a single, global username/password
taken from the first serviceUrl that contains credentials.
Fixes gh-849
2016-02-24 17:57:52 +00:00
Dave Syer
bc0eef9ae2
Exclude jackson XML from eureka client by default
...
Any client that wants to can include it back again, but generally
it only causes problems (XML returned from apps instead of
JSON by Spring MVC for instance). In general it only causes problems
for services whose clients use "Accept: application/xml,*/*", for
instance (like a browser).
See gh-306
2016-02-24 09:34:12 +00:00
Dave Syer
093354e231
Check if client is in bootstrap and default to not register
...
Eureka now has the option (maybe always there) to not register
and that's a sensible default in the bootstrap phase (when we
might not know the port yet).
2016-02-24 09:14:29 +00:00
Dave Syer
d5f6dbe118
Revert "Add Feign expanders based on Spring conversion service"
...
This reverts commit 3f34ccc8fb . We
need to discuss a bit more (that thread local is probably unavoidable
given the design of Feign, but I don't like it yet).
See gh-841
2016-02-23 17:21:45 +00:00
Dave Syer
41c364002f
Encode query params in Zuul filter
...
Some slightly tricky manipulation involved here, but hopefully
UriTemplate to the rescue.
Fixes gh-682
2016-02-23 15:19:23 +00:00
Matt Benson
3f34ccc8fb
Add Feign expanders based on Spring conversion service
...
Automatically registers Spring conversion-based Feign Expanders
when available
Fixes gh-841
2016-02-23 11:50:23 +00:00
Matt Benson
05305568ff
Parameter name discovery using compiler parameters
...
Spring MVC Feign Contract did not support parameter name fallback
for the #value() attributes of known parameter annotations. Makes
this feature available when the interface has been compiled with
the Java 8 -parameters compiler arg
Fixes gh-835
2016-02-23 11:42:40 +00:00
Matt Benson
c3766720fa
Parameter name discovery for Feign clients
...
Supports Spring REST parameter annotations considered
only #value() members without respecting @AliasFor meta-annotations.
Address by passing a Spring-synthesized annotation to individual
AnnotatedParameterProcessors. This approach has the benefit of impacting
present as well as any future implementations alike.
Fixes gh-828
2016-02-23 11:39:49 +00:00
Dave Syer
c3efcbabb8
Fix links to client code
2016-02-23 10:28:51 +00:00