Commit Graph

152 Commits

Author SHA1 Message Date
Dave Syer
24579f67e2 Revert to snapshots 2016-04-18 14:07:42 +01:00
Dave Syer
d99196aeb1 Update to RC2 2016-04-18 14:02:49 +01:00
Spencer Gibb
1c4db22c28 Angel metadata.instanceId works with Brixton
Fixes gh-642
2016-04-01 13:02:43 -06:00
Marcin Grzejszczak
3f9e76b876 Revert to snapshots 2016-03-23 12:43:41 +01:00
Marcin Grzejszczak
29988b5f58 Bump for 1.1.0.RC1 2016-03-23 12:38:05 +01:00
Dave Syer
bc0eef9ae2 Exclude jackson XML from eureka client by default
Any client that wants to can include it back again, but generally
it only causes problems (XML returned from apps instead of
JSON by Spring MVC for instance). In general it only causes problems
for services whose clients use "Accept: application/xml,*/*", for
instance (like a browser).

See gh-306
2016-02-24 09:34:12 +00:00
Dave Syer
1a96e594f0 Do not override register() method in instance registry
The super class deals with syncing to peers, so we need that
call. It still delegates to the other register method and seems
to work just fine without the override.

Fixes gh-838
2016-02-23 09:49:16 +00:00
Dave Syer
32b3ca4159 Set registration retries to non-zero by default if peered 2016-02-23 09:49:16 +00:00
Dave Syer
443406f75f Revert to snapshots 2016-02-05 07:24:05 +00:00
Dave Syer
61ef6dd511 Update to 1.1.0.M5 2016-02-05 07:23:28 +00:00
Dave Syer
7bdab0f23b Relay eureka.environment to Archaius if it is set
Apparently we already support eureka.datacenter as an alias for
archaius.deployment.datacenter and it looks like when that code
was written we intended to support eureka.environment in a similar way.
But it was never finished off, so this change adds the necessary one
line of code.

Fixes gh-791
2016-01-26 14:05:54 +00:00
Dave Syer
b46dab3099 Put @Bean EurekaServerConfig in nested class to avoid cycle
A new integration test ill be added in spring-cloud-samples/tests.

Fixes gh-759
2016-01-18 17:35:17 +00:00
Spencer Gibb
b894f8dbb3 Upgrade archaius to v 0.7.3
Added spring-cloud-starter-archaius so downstream projects
like consul and zookeeper don't need to maintain the list of
archaius depenencies.

fixes gh-765
2016-01-12 11:19:16 -07:00
Spencer Gibb
c1e567afc7 Move eureka-client code to separate module.
This move should be transparant to users of spring-cloud-starter-eureka.

fixes gh-579
2016-01-11 16:45:30 -07:00
Spencer Gibb
8938aa4621 Revert "Update SNAPSHOT to MILESTONE 1.1.0.M4"
This reverts commit 721fdc5918.
2015-12-22 11:25:47 -07:00
Spencer Gibb
721fdc5918 Update SNAPSHOT to MILESTONE 1.1.0.M4 2015-12-22 11:21:20 -07:00
alexVengrovsk
8957a40328 Update InstanceRegistry.java 2015-11-30 16:23:24 +02:00
Spencer Gibb
d23a57d13b Don't extend EurekaBootStrap.
EurekaBootStrap implements ServletContextListener which causes problems because of early instantiation.

fixes gh-664
2015-11-23 16:32:31 -07:00
Spencer Gibb
4721bee8f2 allow EurekaServerConfig to be overridden.
fixes gh-657
2015-11-20 10:48:51 -07:00
Spencer Gibb
415cd1d83c Remove unneeded hardcoded initializers. 2015-11-19 08:33:39 -07:00
Dave Syer
06b50c9fe0 Revert to snapshots 2015-11-17 12:27:43 +00:00
Dave Syer
05f75e70da Update to 1.1.0.M3 2015-11-17 12:27:01 +00:00
Spencer Gibb
1e716ff2c2 Upgrade eureka to v1.3.4
fixes gh-589
2015-11-10 12:25:05 -07:00
Spencer Gibb
7eb5855815 fix resource filtering so it works with boot 1.3.x
get's eureka branding back.

fixes gh-627
2015-11-04 16:39:04 -07:00
Spencer Gibb
fa75ddf452 polish 2015-10-14 11:33:57 -06:00
alexVengrovsk
914fee9ae4 Add isDebugEnabled() check
It is good thing to make this checks because of expensive concatenation of String objects (debug messages).
2015-10-13 10:43:43 -06:00
Spencer Gibb
7fcc559edb Remove blitz4j
fixes gh-527
2015-10-12 12:08:34 -06:00
Spencer Gibb
f878cfcf67 Polish 2015-10-12 11:25:27 -06:00
Spencer Gibb
7cf0fa4824 add support for HasFeatures 2015-09-25 16:08:37 -06:00
Andrei Sfat
60b437e2c5 Update eureka admin page
When click one of the up and running instances this should open the actual instance in separate tab
2015-09-25 15:42:18 +03:00
Jon Schneider
8f9acab3bd Update Eureka to 1.2.5-rc.1
Remove Servo from EurekaHealthIndicator.
Remove custom DataCenterInfo.
EurekaInstanceConfig.SID is now used as eureka id.
EurekaInstanceConfigBean.getSID falls back to metadataMap.instanceId for
backwards compatibility.
2015-09-24 15:34:17 -06:00
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