Spencer Gibb
a7d425deba
Upgrade to feign 8.12.1
...
fixes gh-623
2015-11-17 17:03:26 -07:00
Spencer Gibb
06a4e0996b
added ribbon.http.client.enabled conditional
2015-11-17 09:22:01 -07:00
Dave Syer
06b50c9fe0
Revert to snapshots
2015-11-17 12:27:43 +00:00
Dave Syer
05f75e70da
Update to 1.1.0.M3
2015-11-17 12:27:01 +00:00
Dave Syer
db2e87f1b6
Switch log to debug from info
...
Logging each request in the proxy is too verbose and inconsistent
with other Spring MVC logging.
2015-11-13 11:51:32 +00:00
Dave Syer
db4c82c39c
Add @deprecated Javadocs
2015-11-13 11:51:32 +00:00
Jon Schneider
be14074817
RestTemplate metrics collection join point now returns a value
2015-11-12 10:34:07 -07:00
Dave Syer
024d9946dc
Whitespace
2015-11-12 16:23:26 +00:00
Dave Syer
36e4c7cf93
Make metrics aspect conditional on Spring AOP
...
Also changes pointcut to use the interface so you don't need
proxyTargetClass=true.
Fixes gh-636
2015-11-12 13:53:50 +00:00
Jakub Narloch
cff20c5a6d
Feign handling unparameterized ResponseEntity
...
fixes gh-612
2015-11-11 14:00:04 -07:00
Dave Syer
b001fea325
Re-order configs and add refresh scope for lazy loading
...
so that Eureka InstanceInfo (which is designed to be immutable)
can effectively be mutated (by using a different instance) after the
dynamic port is available.
2015-11-11 11:09:28 +00:00
Spencer Gibb
3dfb8b5dc1
fix support for registering random ports with eureka.
...
fixes gh-570 ... again
2015-11-11 11:09:28 +00:00
Spencer Gibb
1e716ff2c2
Upgrade eureka to v1.3.4
...
fixes gh-589
2015-11-10 12:25:05 -07:00
Jon Schneider
7bf6a85bd3
Fix flaky Servo tests by avoiding DefaultMonitorRegistry
2015-11-10 09:20:37 -07:00
Spencer Gibb
4d7f40f6e8
ignore failing test for now.
2015-11-09 15:01:58 -07:00
Spencer Gibb
dfec99780a
fix failing test on travis.
2015-11-09 14:54:05 -07:00
Jon Schneider
c61a48735d
Expanded metrics support to include Servo, Spectator, and Atlas
...
* For Java 8 users, Spectator is the recommended metrics library as Servo is now deprecated in favor of Spectator
* Servo support now needs to be specifically enabled via @EnableServo, even if servo-core is included on the classpath
* Added starter modules for both Spectator and Atlas support
* ServoMetricReader defines a convention for mapping tag-based metrics to hiearchical names for rendering by the Actuator /metrics endpoint
2015-11-09 14:10:44 -07:00
Spencer Gibb
d954a5c525
Merge pull request #621 from ametiste-oss/health-check-without-circuit-fails-fixed
...
Health check fails on commands without circuit breaker.
2015-11-04 15:26:01 -07:00
Spencer Gibb
509c8e9f13
polish
2015-11-04 14:54:51 -07:00
Jakub Narloch
31d2f65528
Feign annotated parameter processors
2015-11-04 14:12:12 -07:00
Spencer Gibb
50efa8536d
add optional DiscoveryClientOptionalArgs
...
For extensibility by connectors
2015-11-04 13:49:52 -07:00
Konstantin A. Zolotukhin
5d3a0da50e
null check for command bound circuit breaker
2015-10-31 13:36:17 +02:00
Jakub Narloch
966e03ba64
Feign OkHttp client configuration
2015-10-22 12:04:09 -06: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
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
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
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
c5950df6e4
polish
2015-10-08 15:41:09 -06:00
alexVengrovsk
e4b63a5b51
Use instanceof for better readability
2015-10-08 12:01:44 +03: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
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
Jakub Narloch
8bdfaf2c3d
Feign request/response gzip compression
2015-09-30 12:13:41 -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
Dave Syer
422bc42cf6
Be less greedy with logging request bodies in Zuul traces
...
Most clients send "Transfer-Encoding: chunked" so this isn't often
an issue, but if they don't (e.g. if you use "-H Expect:" with
curl) then it's not a great idea to slurp it all into memory.
Fixes gh-563
2015-09-29 09:43:16 +01:00
Dave Syer
f1f239d774
Change hystrix command key to be the service ID in Zuul proxy
...
When using Ribbon the hystrix config and metrics are namespaced
as "RibbonCommand" (via the group key). the command key can then be
serviceId, making it easier to remember how to configure
Ribbon and Hystrix.
Fixes gh-329
2015-09-29 09:14:50 +01:00
Spencer Gibb
0141a13c92
Merge pull request #557 from boostrack-cloud/boostrack-patch-1
...
DRY
2015-09-28 15:58:59 -06:00
Spencer Gibb
aa8626739e
Introduce Ribbon ServerIntrospector.
...
Allows ribbon load balancer implementations to answer questions like isSecure(Server).
2015-09-28 15:10:38 -06:00