Commit Graph

11 Commits

Author SHA1 Message Date
Spencer Gibb
3a06632301 added @EnableCircuitBreaker deprecated @EnableHystrix.
removed classes now in spring-cloud-commons
2014-12-02 15:28:45 -07:00
Spencer Gibb
75addf04d3 change zuul implementation to be controller/handler mapping based.
This allows mappings to be at the root and not have to be prefixed.  It also allows mappings to fall through to other handler mappings.  Patterns are now Ant-style via AntPathMatcher.

fixes gh-72
2014-11-25 15:48:30 -07:00
Dave Syer
dde3055b6c Exclude event-bus (optional dependency) 2014-11-21 11:56:11 +00:00
Dave Syer
d2988b2179 Add metadata to Eureka entry for config server
If the prefix is set we also set configPath=<prefix> in the
instance metadata, so config clients can pick it up and add it
to the home page URL.

Fixes gh-64, fixes gh-65
2014-11-17 14:46:56 +00:00
Spencer Gibb
33aec89b58 remove unneeded deps 2014-10-30 18:13:24 -06:00
Dave Syer
8ff3462ad8 Add bootstrap configuration for eureka-first
See gh-42
2014-10-26 14:40:48 +00:00
Spencer Gibb
f38ccc352b updated to ribbon 2.0-RC9 2014-10-17 17:54:47 -06:00
Dave Syer
997f531094 Make load balancer prefer the current zone if there is one
A EurekaInstanceConfig can declare a "zone" in its metadataMap, and then
it will be matched by the RibbonLoadBalancerClient. The zone of a server
is derived from the hostname - it is the whole host name or the host name
excluding the least significant subdomain (period separated identifier).

Fixes gh-29
2014-10-16 16:29:07 +01:00
Dave Syer
21eb52fa27 Ensure server port is registered late enough with Eureka server
Because we were using Lifecycle to kick off the eureka registration the
local server port wasn't available yet. The change is to use an
ApplicationListener and listen for the event that contains the container
with its port instead.

Fixes gh-15
2014-09-29 10:52:37 +01:00
Spencer Gibb
7fd83dc842 add @EnableTurbine to allow boot apps to embed the turbine server 2014-09-03 12:37:56 -06:00
Dave Syer
d23149a493 Rename platform->cloud 2014-08-29 12:52:52 +01:00