Commit Graph

68 Commits

Author SHA1 Message Date
Dave Syer
edc8fffe5e Move adoc to asciidoc 2014-09-29 12:09:19 +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
Dave Syer
f41edfd483 Add conditional config guard for MBeanServer 2014-09-24 15:18:58 +01:00
Dave Syer
b935027637 Ensure commons-logging is on compile classpath 2014-09-17 16:18:20 +01:00
Dave Syer
5eaa2db1a7 Update to gh-6 (cleaner implementation, but not much) 2014-09-17 10:26:09 +01:00
Dave Syer
191bad05ec Ensure Eureka server gets iniialized with non-zero count
The problem is pretty deep here so I hope I did something sane. Basically if
PeerAwareInstanceRegistry.openForTraffic(int) ever gets called with a 0 argument
it resets the threshold for numberOfRenewsPerMinThreshold to 0 from which
it only ever recovers if the same method is called again with a non-zero argument.
For a standalone server this means that it will never automatically expire
any leases (only when it chats to its neighbours and finds out they have
registered services will it ever switch the threshold back on).

Another problem (unsolved) is that the reset mechanism will kick back in
occasionally (resetting to 1 with this change, but that's probably also
a bad thing). And when there *are* actually peers to talk to unless they are
in AWS they will never communicate correctly about the actual number of local
services (the criteria for that are deeply connected with AWS and EIP).

Fixes gh-6
2014-09-16 18:12:03 +01:00
Dave Syer
91c9ab1d5f Fix ftl templates a bit (fixes gh-7) 2014-09-16 18:11:11 +01:00
Dave Syer
9c2679d4e5 Add metrics from Eureka client discovery 2014-09-08 06:00:10 -05:00
Dave Syer
fcf2811e4c Add Hystrix data to /metrics 2014-09-07 10:36:42 +01:00
Dave Syer
6425862477 Make @EnableZuulProxy switch on Hystrix 2014-09-05 12:39:57 +01:00
Spencer Gibb
8005712be2 add s-c-n-turbine to dependency management 2014-09-03 14:42:00 -06: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
630aeb0547 Add missing templates 2014-09-03 18:05:24 +01:00
Dave Syer
f9692daf36 Add missing wro files 2014-09-03 17:18:50 +01:00
Dave Syer
ba5ed3c409 Move wro resources to src/main/wro 2014-09-03 17:03:28 +01:00
Dave Syer
6550308b6e Remove unnecessary plugin 2014-09-03 16:50:08 +01:00
Dave Syer
98548ba34b Fix generated resources for IDE 2014-09-03 16:37:52 +01:00
Dave Syer
9ec59899d3 Make wro4j work in reactor build 2014-09-03 16:30:16 +01:00
Dave Syer
0afd572141 Make Eureka server embeddable 2014-09-03 10:10:21 +01:00
Dave Syer
3c280403d7 Make hystrix dashboard embeddable finally 2014-09-02 19:38:05 +01:00
Dave Syer
34cbf7a64b Make Hystrix dash embeddable 2014-09-02 12:32:08 +01:00
Dave Syer
4ca9d5f772 Break up hystrix dashboard 2014-09-02 10:11:12 +01:00
Dave Syer
cf96d6ddb8 Update packages 2014-08-29 13:53:20 +01:00
Dave Syer
8106314a6a Update package names 2014-08-29 13:34:37 +01:00
Dave Syer
d23149a493 Rename platform->cloud 2014-08-29 12:52:52 +01:00
Dave Syer
b0a44dba06 Add support for OAuth relay in zuul proxy 2014-08-27 18:55:30 +01:00
Dave Syer
78a428ec00 Fix names and ports 2014-08-23 06:55:55 +01:00
Dave Syer
4ab3db9c20 Use String type for HTTP status 2014-08-22 15:01:33 +01:00
Dave Syer
bdf5c60c86 Fix typo in trace log 2014-08-22 15:00:10 +01:00
Dave Syer
403bd8d7a2 Move debug logging to TRaceRepository 2014-08-22 14:46:28 +01:00
Dave Syer
ea80ac1700 Fix issue with Host header in proxied requests 2014-08-22 07:54:55 +01:00
Dave Syer
4b4a8a5b3e Fix warnings 2014-08-19 11:17:20 +01:00
Spencer Gibb
afdb5a3109 Merge branch 'publish-eureka-events' 2014-08-18 14:55:00 -06:00
Spencer Gibb
f8c0282feb publish instance info 2014-08-18 14:53:11 -06:00
Dave Syer
1f63ea919c Update build and fix race in eureka 2014-08-14 21:45:28 -07:00
Spencer Gibb
c8be52b025 publish eureka instance events 2014-08-12 00:56:27 -06:00
Dave Syer
11d9ddbf85 Add TODO 2014-08-09 09:38:11 -07:00
Dave Syer
c09127d13a Update to Boot 1.1.5 2014-08-08 09:36:36 -07:00
Dave Syer
d4f3caca02 Exclude groovy-all 2014-08-07 16:15:15 -07:00
Dave Syer
f9fb23d472 Move piggy back stuff from cloudfoundry 2014-08-07 11:32:19 -07:00
Spencer Gibb
f85e3d137b fixed parameter mapping in RibbonRoutingFilter 2014-08-06 13:45:54 -06:00
Spencer Gibb
8fbba2b093 @EnableZuulProxy initial implementation 2014-08-06 01:47:53 -06:00
Dave Syer
a2e8245e93 Add jersey stuff to dependency management 2014-08-04 09:00:23 -07:00
Dave Syer
345cc9b6a3 Convert Eureka client autoconfig to @EnableEurekaClient 2014-07-31 16:23:22 -07:00
Spencer Gibb
10d1ed38dc rename CircuitBreaker* to Hystrix* 2014-07-29 13:55:08 -06:00
Dave Syer
88f79507e3 Fix race condition in server 2014-07-27 19:38:51 -07:00
Dave Syer
98d0da973e Clarify serviceUrls 2014-07-25 06:17:05 -07:00
Dave Syer
bd7ffe99db Unset quiet flag for Maven 2014-07-20 17:15:16 +01:00
Dave Syer
1a6bc1197b Add travis build 2014-07-20 17:10:08 +01:00
Dave Syer
543adca971 Add build config for snapshot deploys 2014-07-20 17:10:08 +01:00