Commit Graph

2845 Commits

Author SHA1 Message Date
Jakub Narloch
966e03ba64 Feign OkHttp client configuration 2015-10-22 12:04:09 -06:00
Dave Syer
22f4b82efa Revert profile and add comment 2015-10-20 09:34:47 -04:00
Dave Syer
eb475769ca Remove confusing profile from settings.xml 2015-10-20 09:27:59 -04:00
Dave Syer
d3000a23e9 Fix ordering problem with Zuul tests 2015-10-20 07:18:29 -04:00
Dave Syer
1fe28af3f0 Fix issue with forward:... routes
We have to ensure that the ZuulController is not mapped on a
forward otherwise we just go back through the same code
path and render nothing.
2015-10-20 06:46:31 -04:00
Spencer Gibb
6d5591020d Upgrade feign to 8.11.0
Adds support for feign-hystrix

fixes gh-606
2015-10-19 10:17:10 -06:00
Spencer Gibb
9e4cad750a Upgrade hystrix to 1.4.18
fixes gh-600
2015-10-19 09:27:33 -06:00
Spencer Gibb
248732e6ff Force isCircuitBreakerOpen to String (if it's a Boolean for example)
see https://github.com/Netflix/Hystrix/pull/927
2015-10-19 09:27:33 -06:00
Dave Syer
cd30bea0c8 Add smarts for local route handling in Zuul proxy
User can provide a url in the route that starts with "forward:"
(instead of "http:" etc.) to handle the request locally.

Also properly ignores ignored routes, so they can be handled locally
(rather than giving up and sending 404).

Fixes gh-536
2015-10-18 09:59:06 -04:00
Dave Syer
43cab5f9b5 Clarify secure application discovery a bit 2015-10-18 09:22:12 -04:00
Spencer Gibb
fa75ddf452 polish 2015-10-14 11:33:57 -06:00
Spencer Gibb
ce4076621a Merge pull request #588 from alexVengrovsk/master
* pull588:
  Add isDebugEnabled() check
2015-10-13 11:07:37 -06:00
alexVengrovsk
914fee9ae4 Add isDebugEnabled() check
It is good thing to make this checks because of expensive concatenation of String objects (debug messages).
2015-10-13 10:43:43 -06:00
Spencer Gibb
a3a7c60925 exclude commons-logging from ribbon
fixes gh-596
2015-10-13 09:57:38 -06:00
Spencer Gibb
8103bdbff8 revert zuul 1.1.0-rc.2 as it isn't published to maven central. 2015-10-12 12:43:26 -06:00
Spencer Gibb
fc20cc7135 Upgrade zuul to v1.1.0-rc.2
fixes gh-591
2015-10-12 12:32:44 -06:00
Spencer Gibb
7fcc559edb Remove blitz4j
fixes gh-527
2015-10-12 12:08:34 -06:00
Spencer Gibb
f878cfcf67 Polish 2015-10-12 11:25:27 -06:00
Spencer Gibb
3e0e47612c Do not require eurekaConfig.
Helps when eureka is on the classpath, but is explicitly disabled.

fixes gh-521
2015-10-12 11:16:08 -06:00
Spencer Gibb
a96666b902 Move DiscoveryClient creation so it is guarded.
Move it back to EurekaDiscoveryClientConfiguration.

fixes gh-578
2015-10-12 10:26:09 -06:00
Spencer Gibb
5b3a9f8f31 Align feign logging.
Since all feign clients now have access to the type, logging can apply a type regardless.

Fixes gh-431
2015-10-09 17:07:01 -06:00
Spencer Gibb
ef67fa328c Add local service to zuul ignoredServices by default.
fixes gh-447
2015-10-09 16:14:34 -06:00
Spencer Gibb
8058ced90d Remove dependency on governator.
Eureka now only directly depends on java.inject.

Fixes gh-529
2015-10-09 14:42:17 -06:00
Spencer Gibb
5f41de87d2 Polish 2015-10-09 14:00:24 -06:00
Spencer Gibb
c051cb83d2 Merge pull request #585 from mbenson/master
* pull585:
  Fix feign scanning that fails if clients attr is not use
2015-10-09 12:21:40 -06:00
Matt Benson
568bc47b3e Fix feign scanning that fails if clients attr is not use
fixes gh-584
2015-10-09 12:21:17 -06:00
Spencer Gibb
fe989530e3 remove reflection to set InstanceInfo.port 2015-10-09 12:00:40 -06:00
Spencer Gibb
51ea8afb24 Set port on InstanceInfo to support random server.port.
fixes gh-570
2015-10-09 11:47:56 -06:00
Spencer Gibb
5065e47565 Upgrade Hystrix to v1.4.17
fixes gh-576
2015-10-09 10:52:21 -06:00
Spencer Gibb
0cbfc20293 updated README 2015-10-08 17:08:00 -06:00
Spencer Gibb
2d595e86f3 remove extra punctuation 2015-10-08 16:21:52 -06:00
Spencer Gibb
82b21f34f5 Merge pull request #581 from jmnarloch/feign-compression-docs
* feign-compression-docs:
  Feign compression documentation
2015-10-08 16:12:24 -06:00
Jakub Narloch
68fa6afa17 Feign compression documentation 2015-10-08 16:12:05 -06:00
Spencer Gibb
c5950df6e4 polish 2015-10-08 15:41:09 -06:00
Spencer Gibb
d433096779 Merge pull request #577 from alexVengrovsk/master
* pull577:
  Use instanceof for better readability
2015-10-08 14:50:50 -06:00
alexVengrovsk
e4b63a5b51 Use instanceof for better readability 2015-10-08 12:01:44 +03:00
Spencer Gibb
8147b7de51 Merge pull request #575 from alexVengrovsk/master
* pull575:
  Use "<>" and use isInfoEnabled
2015-10-07 13:01:38 -06:00
alexVengrovsk
4510f657b9 Use "<>" and use isInfoEnabled 2015-10-07 12:54:23 -06:00
Spencer Gibb
810502c1f3 Allow overriding default feign beans.
Similar to @RibbonClient

fixes gh-288
2015-10-05 14:57:27 -06:00
Spencer Gibb
0df6f0c0ae fix(title-xss): escaping text acquired from parameters to avoid any xss attacks
https://github.com/Netflix/Hystrix/pull/921
2015-10-05 09:29:12 -06:00
Dave Syer
a7abfd4242 Upgrade to Zuul 1.1
Still a release candidate (not yet GA), but seems to work, so we'll
try and update before Spring Cloud is released again.

Fixes gh-546, fixes gh-567, fixes gh-553 (probably)
2015-10-03 08:26:57 +01:00
Dave Syer
5f84bcddd6 Align with package changes in Spring Cloud Config 2015-10-01 11:53:35 +01:00
Spencer Gibb
0c2c564be5 Merge pull request #490 from jmnarloch/feign-content-encoding-snapshot
* feign-content-encoding-snapshot:
  Feign request/response gzip compression
2015-09-30 12:17:41 -06:00
Jakub Narloch
8bdfaf2c3d Feign request/response gzip compression 2015-09-30 12:13:41 -06:00
Dave Syer
3ef58cdc39 Change DiscoveryClient->EurekaClient in docs 2015-09-30 11:34:34 +01:00
Dave Syer
17dc4f6f55 Update some dependencies 2015-09-30 11:34:34 +01:00
Spencer Gibb
65bf36ecf9 Upgrade hystrix to 1.4.16
fixes gh-561
2015-09-29 20:09:30 -06:00
Spencer Gibb
187af71535 move refs to EurekaInstanceConfigBean to interface.
Specifically CloudEurekaInstanceConfig where needed.

see gh-302
2015-09-29 11:32:04 -06:00
Dave Syer
4877de4916 Remove unused dependencies 2015-09-29 17:49:59 +01:00
Dave Syer
c6fda88fed Support for ServerIntrospector in Feign client
Other Ribbon clients in Spring Cloud use a ServerIntrospector
to check if the Server wanted to be secure. This change levels things
up (and makes the Spring Feign Client a lit easier to customize).

See gh-414
2015-09-29 15:57:11 +01:00