Commit Graph

65 Commits

Author SHA1 Message Date
Dave Syer
5bded8aa85 Make Eureka into a CF service broker 2014-10-14 17:03:46 +01:00
Dave Syer
6bfa468ace Tweak UI a bit 2014-10-02 11:57:39 +01:00
Spencer Gibb
03e6308335 remove the list of serviceIds and add ServiceListInitializer 2014-10-02 00:42:40 -06:00
Spencer Gibb
bf43f7dad4 Eureka server is itself a eureka client when discovering eureka peers (it gets DiscoverClient from DiscoveryManager). Make sure DiscoveryManager is initialzed regardless of if the client or server config is invoked first.
fixes gh-18
2014-09-29 19:39:53 -06: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
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