Commit Graph

2845 Commits

Author SHA1 Message Date
Dave Syer
66e0c6436d Add scm element to POM 2014-10-07 11:18:04 +01:00
Dave Syer
8eae5fb52a Add docs for Eureka server as executable JAR 2014-10-07 10:50:04 +01:00
Dave Syer
3dd15621dc Move docs to submodule for multi-module projects 2014-10-06 15:02:28 +01:00
Dave Syer
862f19beba Extract repositories to .settings.xml 2014-10-06 13:02:33 +01:00
Dave Syer
5ce8cb547e Add CI creds to secure travis vars 2014-10-06 12:09:51 +01:00
Dave Syer
5c73e41675 Add snapshot repos (yawn) 2014-10-06 11:45:39 +01:00
Dave Syer
89a571258f Automate docs build with shared parent pom 2014-10-06 11:22:20 +01:00
Dave Syer
3668e2ad2b Update travis build for docs sync 2014-10-06 09:15:55 +01:00
Dave Syer
094abc6f41 Update gitignore 2014-10-03 16:03:28 +01:00
Dave Syer
c52dea33f0 Add stuff from article to docs 2014-10-03 11:09:45 +01:00
Dave Syer
6bfa468ace Tweak UI a bit 2014-10-02 11:57:39 +01:00
Spencer Gibb
99d43ba3a7 fix EurekaRibbonAutoConfiguration 2014-10-02 01:18:32 -06:00
Spencer Gibb
03e6308335 remove the list of serviceIds and add ServiceListInitializer 2014-10-02 00:42:40 -06:00
Spencer Gibb
2daeed6c00 added some examples to docs 2014-10-01 22:26:56 -06:00
Spencer Gibb
23b8c96b11 Create a LoadBalancerClient abstraction and a Ribbon implementation 2014-10-01 20:08:15 -06:00
Dave Syer
31bc482a90 Fix Guardfile 2014-10-01 15:00:37 +01:00
Dave Syer
74828ab89f Fix Guardfile 2014-10-01 14:56:30 +01:00
Dave Syer
e157eb6fba Add _site/ to .gitignore 2014-09-30 11:08:33 +01: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
Spencer Gibb
45143bed73 Add support for Ribbon loadbalancing in RestTemplate via an HttpRequestInterceptor that when supplied a uri such as http://myservice/my/endpoint (where myservice is a service as defined in a service registry, such as Eureka), it replaces 'myservice' with the actual host and port as returned from the configured ribbon loadbalancer.
closes gh-12
2014-09-29 17:32:58 -06:00
Dave Syer
39356928a1 Add maven processor for docs 2014-09-29 18:09:44 +01:00
Dave Syer
0d68f7429c Extract Eureka*Config beans into auto configuration
Without extracting to autoconfig the @ConditionalOnMissingBean won't
always work because it is dependent on the order of the configuration
classes being processed (and autoconfig always somes last).
2014-09-29 17:32:52 +01:00
Dave Syer
9f8b56d3d5 Make readme generator more flexible 2014-09-29 16:44:15 +01:00
Dave Syer
1cea38f312 Fix comment pre-amble in README 2014-09-29 14:46:59 +01:00
Dave Syer
344c7b2c75 Finish moving README to adoc 2014-09-29 14:30:10 +01:00
Dave Syer
563df2a975 Move README to src/main/asciidoc 2014-09-29 14:12:56 +01:00
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
Spencer Gibb
277ada8b88 don't strip proxy prefix by default (for spring data rest) 2014-09-25 15:21:41 -06: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