Commit Graph

28 Commits

Author SHA1 Message Date
Dave Syer
aed4369502 Add ignored test to show that blitz4j is not responding
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.

Fixes gh-48
2014-12-04 15:23:10 +00:00
Dave Syer
a1ae9673bf Add ignored test to show that blitz4j is not responding
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.

Fixes gh-48
2014-12-04 15:15:48 +00:00
Spencer Gibb
3a06632301 added @EnableCircuitBreaker deprecated @EnableHystrix.
removed classes now in spring-cloud-commons
2014-12-02 15:28:45 -07:00
Dave Syer
7b325044c1 Update wro4j to run in Eclipse 2014-11-21 09:32:12 +00:00
Dave Syer
af1278a472 Ensure static resources load from relative paths
Most browsers support <base href="..."> these days and there
was one already in statut.ftl (but not in navbar). Added a test
that asserts the css is loadable as well.

Fixes gh-55
2014-11-05 14:47:24 +00:00
Dave Syer
83ed396939 Add back trace filter 2014-10-23 11:57:41 -07:00
Dave Syer
35d02f75ae Switch eureka endpoint to /eureka
All static content is excluded in the Jersey config, so we can use
/eureka for the prefix to the Eureka API (i.e. /apps etc.)

Fixes gh-44
2014-10-23 11:16:39 -07:00
Dave Syer
f99b9935fb Remove unecessary Boot 1.1.5 artifacts
See gh-39
2014-10-23 07:36:28 -07:00
Dave Syer
df0d44d153 Update docs and tests for /eureka path 2014-10-23 06:56:53 -07:00
Dave Syer
5055b46e24 Change default eureka path
/v2/* -> /eureka/api/*

The prefix can't be /eureka because we use that for static
resources. Note that the "api" prefix gets passed to the
Jersey resources as a "version" (and defaults to "v2" when
it can't be parsed).

Fixes gh-41
2014-10-23 06:47:08 -07:00
Dave Syer
8db14f042d Extract ID from instance info 2014-10-22 08:18:14 -07:00
Dave Syer
859c96d31b Switch to using EurekaClientConfig to determine client zone
This makes perfect sense since there is already support in the API.
Unfortunately Eureka also uses that information to set the Server
zones by default (duh?!) - see DiscoveryClient.getZone(InstanceInfo),
so unless you aggressively update them, the zones will all be the same
in all servers.

I fixed that problem by unconditionally applying the "domain as zone"
guess algorithm, which is fine unless you actually want to use
the Amazon metadata. So that's an outstanding problem

See gh-30
2014-10-17 09:54:18 +01:00
Dave Syer
e52949e592 Move eureka events to server project 2014-10-14 17:49:11 +01:00
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