Commit Graph

71 Commits

Author SHA1 Message Date
Dave Syer
ded968ad58 Ensure changes to eureka metadata are relected on refresh
And also when using eureka-first for discovering config server.
The EurekaClient is very rigid and initializes itself, registering
with the remote service on instantiation. Hance it needs to be
in @RefreshScope for it to be properly refreshable. Doing that
leads to a sequence of other changes (e.g. to account for the
fact that there is no @RefreshScope in bootstrap context).

Fixes gh-551
2015-09-24 13:37:17 +01:00
Spencer Gibb
4037f4ca80 Add initialization of JsonXStream back.
fixes gh-535
2015-09-10 12:59:24 -06:00
Dave Syer
ee5b9c6382 Revert back to snapshot 2015-09-08 16:39:58 +01:00
Dave Syer
a11a7709bf Bump to M1 2015-09-08 16:39:15 +01:00
Spencer Gibb
62129c72c2 fix condition for selfPreservationMode 2015-08-25 16:32:02 -06:00
Gunnar Hillert
b1dffe00e7 Replace XD logo with a Eureka logo
* Fixes gh-310
2015-08-24 14:41:32 -04:00
Adrian Cole
54607135b6 Consolidates references to parent pom
Some projects were failing on `./mvnw install` due to a non-existent
local path. This makes all poms use the same approach.
2015-08-18 17:49:07 -07:00
Spencer Gibb
246830c9d3 Upgrade to Eureka 1.2.0
Implements forwarding of eureka CacheRefreshedEvent as HeartbeatEvent,
rather thank serialization hack.  Uses new Eureka DI functionality
(mostly there, some issues). Updates EurekaJacksonCodec to be
"DataCenterAware". Reference EurekaClient interface rather than
DiscoveryClient class.

fixes gh-349
2015-08-05 13:37:36 -06:00
Dave Syer
91d288d781 Update to Spring Boot 1.3, stage I (make it compile) 2015-07-03 09:54:16 +01:00
Dave Syer
9a45beec1d Update to Brixton 2015-06-26 12:57:06 +01:00
Dave Syer
3519ecf224 Prepare master for next snapshot 2015-06-26 10:57:19 +01:00
Dave Syer
a903b5d58c Fix guava imports 2015-06-24 17:31:06 +01:00
Bertrand Renuart
58284a4508 Change Jersey init to avoid classpath scanning issues
Scan classpath for Jersey resources with Spring and initialize the
Jersey filter with a jaxrs Application instead. (Fixes gh-399,
fixes gh-400)
2015-06-23 13:00:38 +01:00
Spencer Gibb
aa002b56c4 fixed canceled leases template var referencec
fixes gh-375
2015-06-05 09:00:54 -06:00
Dave Syer
fde4741333 Update to 1.0.3 snapshots 2015-05-01 11:22:13 +02:00
Dave Syer
b28fd07cdb Update to 1.0.2 snapshots 2015-04-23 11:11:21 +01:00
Dave Syer
1c54e6b937 Add annotation processor 2015-03-20 11:47:27 +00:00
Dave Syer
e3a20d5d6b Update to next snapshot 2015-03-03 14:56:26 +00:00
Dave Syer
069afb2a73 Use logback by default in Eureka server
Now that blitz4j 1.36.0 is out, with a bit of hackery we can prevent
it from barfing on startup. Seems worth it (and certainly makes
it easier to embed Eureka server).

Fixes gh-3
2015-02-05 12:01:12 +01:00
Dave Syer
4f39b64f26 Make test Eureka run on port 8761 2015-02-03 10:38:39 +01:00
Dave Syer
63e6c813a3 Remove guava usages (fixes gh-154) 2015-01-30 14:10:38 +00:00
Dave Syer
b5bd371d8c Be defiensive about errors getting remote status 2015-01-27 07:29:27 +00:00
Spencer Gibb
32a9033661 upgrade to netflix eureka to 1.1.147
fixes gh-180
2015-01-26 15:30:06 -07:00
Spencer Gibb
a0b73fe7c7 migrate from slf4j to commons logging
fixes gh-147
2015-01-15 14:31:20 -07:00
Spencer Gibb
e7331098fa change protected and package scope fields to private
fixes gh-149
2015-01-15 12:02:19 -07:00
Phillip Webb
3ea0f8d283 Polish 2015-01-14 14:49:23 -08:00
Phillip Webb
9d823513c3 Add copyright headers 2015-01-14 13:24:18 -08:00
Phillip Webb
6a7676a93f Apply eclipse formatting and cleanup 2015-01-14 13:10:41 -08:00
Phillip Webb
911627c09d Add eclipse formatting and cleanup configuration 2015-01-14 13:09:14 -08:00
Phillip Webb
be436279cf Polish POM files 2015-01-14 13:04:26 -08:00
Dave Syer
a5d2d2abe5 Add configuration properties for Eureka dashboard
Not used by the app itself, but will show up in metadata reports
and in tooling, so useful for documentation purposes.

See gh-125
2015-01-03 16:30:38 +00:00
Dave Syer
e6c7422c00 Use <@spring.url/> for all relative paths in FTL
Fixes gh-125
2015-01-02 16:06:48 +00:00
Julien Roy
11201762a7 Eureka dashboard controller path mapping can be configured or disabled 2015-01-02 15:49:37 +00:00
Dave Syer
34785b6bdd Make actuator dependency optional in netflix-core
Fixes gh-117
2014-12-26 14:03:12 +00:00
Dave Syer
4a77b86d08 Minify Javascript so it isn't needed in jars at runtime 2014-12-26 09:39:22 +00:00
Spencer Gibb
4d9281c2af reset zuul routes when eureka sends catalog delta.
fixes gh-76
2014-12-15 16:23:28 -07:00
Spencer Gibb
7765c721ca basePath should always be /contextPath/servletPath/ (the last slash being the location of the eureka dashboard)
fixes gh-101
2014-12-11 16:52:17 -07:00
Spencer Gibb
ba6a414d1d fix double slashes in eureka server
fixes gh-100
2014-12-11 16:10:55 -07:00
Dave Syer
7ba9998646 Add optional/runtime to lombok 2014-12-11 15:32:48 +00:00
Dave Syer
29eea6d9b6 Call postInit() aggressively on InstanceRegistry
To avoid possible NPE when the registry is used before it is initialized.

Fixes gh-97
2014-12-09 15:11:27 +00:00
Dave Syer
e155601c40 Add log at info when Eureka starts 2014-12-09 10:55:45 +00:00
Spencer Gibb
5964d160a1 remove deprecated @EnableEurekaClient and replace with @EnableDiscoveryClient
fixes gh-85
2014-12-04 11:51:18 -07:00
Dave Syer
0f281bc9e1 Initialize log4j to prevent blitz4j from freaking out 2014-12-04 18:00:38 +00:00
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