Ryan Baxter
bcb97bce1c
Merging PR #1680 into master
2017-02-09 15:12:19 -05:00
Spencer Gibb
601e220411
implement Registration.getServiceId()
2017-02-01 13:45:05 -07:00
Ryan Baxter
ed6c4b1925
Revert "Version changes for 1.3.0.M1"
...
This reverts commit 46ee0ce161 .
2017-01-27 14:25:34 -05:00
Ryan Baxter
46ee0ce161
Version changes for 1.3.0.M1
2017-01-27 13:02:13 -05:00
Spencer Gibb
f27defbdf4
Make sure service-registry actuator is activated.
2017-01-25 15:15:46 -07:00
Spencer Gibb
41bf8eadfd
Rename RESET_OVERRIDE to CANCEL_OVERRIDE
2017-01-25 14:23:34 -07:00
Spencer Gibb
c380039b3e
Add test to make sure eureka.instance.*virtualHostName can be set properly.
2016-12-16 14:00:31 -07:00
Spencer Gibb
18b9c46a8b
update eureka config first bootstrap for service registry
2016-12-12 10:43:05 -07:00
Spencer Gibb
5b25c9ad1a
Only auto-register if conditions are correct.
...
s-c-commons creates an AutoServiceRegistrationProperties bean if enabled.
This commit only auto registers with eureka if that bean is available.
2016-12-08 12:27:10 -07:00
Spencer Gibb
1fe1ea58f6
Don't override values with defaults.
...
Defaults were set too late and were overriding values set in the environment.
Specifically, spring.application.name took precedence over eureka.instance.appname.
fixes gh-1516
2016-11-30 11:55:57 -07:00
Spencer Gibb
b3f1a30027
Move initalizing appname, etc.. to afterPropertiesSet
2016-11-30 11:55:24 -07:00
Spencer Gibb
111a95d262
Fix Eureka Ribbon Auto Config conditions.
...
Specifically, add `@ConditionalOnBean(EurekaClient.class)`.
Fixes an issue where eureka and ribbon are on the classpath, eureka.client.enabled=false which would cause a bean not found exception.
fixes gh-1511
(cherry picked from commit d1f8c03)
2016-11-29 14:56:55 -07:00
Spencer Gibb
93cd1e7a4a
Upgrade to eureka 1.6.0
...
fixes gh-1345
2016-11-07 10:52:47 -07:00
Spencer Gibb
ea4e5d76e0
Create EurekaServiceRegistry
...
Use the new ServiceRegistry interface
Creates a new EurekaRegistration object that aggregates classes needed
for a single registration.
2016-11-07 10:52:47 -07:00
Spencer Gibb
428ed6c88c
Bump to 1.3.0.BUILD-SNAPSHOT
2016-10-27 15:37:59 -06:00
Ryan Baxter
85b2fe37e2
Added some additional tests
2016-10-25 13:54:29 -04:00
Ryan Baxter
2dfee97563
Resolve spring.application.name value via a property resolver instead of @Value. Fixes #1398
2016-10-25 12:56:08 -04:00
Ryan Baxter
c9704d3c97
Updating versions for next release
2016-10-18 10:16:01 -04:00
Ryan Baxter
34775eb8db
Revert "Version changes for the release"
...
This reverts commit 90d6490fea .
2016-10-18 10:11:03 -04:00
Ryan Baxter
90d6490fea
Version changes for the release
2016-10-18 09:44:57 -04:00
Ryan Baxter
b91fa734d2
Bumping versions for next release
2016-09-22 14:55:08 -04:00
Ryan Baxter
302eae6aeb
Revert "version changes for Camden release"
...
This reverts commit 088afa6d71 .
2016-09-22 14:21:39 -04:00
Ryan Baxter
088afa6d71
version changes for Camden release
2016-09-22 13:15:22 -04:00
Matthew Jenkins
4bf64f7005
Use statusPage/healthCheckUrlPath w/ custom management.port ( #1349 )
...
Use statusPage/healthCheckUrlPath w/ custom management.port
Added RelaxedPropertyResolver to handle multiple valid formats for
eureka properties. Added tests.
Fixes gh-1348
2016-09-15 21:20:35 -04:00
Niklas Herder
62521f38e8
Fix lastFetch status calculation.
...
Was previously milliseconds/seconds when calculating whether to display the message about reporting failures.
2016-09-08 11:24:11 +02:00
Spencer Gibb
43adc84dfd
Make moving to https urls consistent.
...
This fixes a case where the ribbon property is set `ribbon.IsSecure=false`, but because the eureka secure port was enabled, the uri created by ribbon was prefixed with https when it shouldn't have.
All places where isSecure is need have been consolidated into RibbonUtils.
fixes gh-1270
2016-08-22 17:16:13 -06:00
Ryan Baxter
047e25f7f7
Revert "Camden.M1 release"
...
This reverts commit 258e53a402 .
2016-08-22 15:31:32 -04:00
Ryan Baxter
258e53a402
Camden.M1 release
2016-08-22 15:01:16 -04:00
Dave Syer
58cf528463
Remove extra (redundant) condition
...
A problem in Spring Boot means that the extra conditions are combined
with OR not AND, so it's a bug to have more than one until that
gets fixed (in an AnyNestedCondition).
See https://github.com/spring-projects/spring-boot/pull/6672
2016-08-17 14:04:45 +01:00
Daniel Lavoie
6f32aa95a7
Migrate tests to Spring Boot Test 1.4
...
Fixes gh-1205
2016-07-22 00:54:48 +02:00
Spencer Gibb
7dc8b86001
Load ribbon classes if defined via properties.
...
Allows ribbon class name properties to be used to define beans.
This seems like boilerplate, but works, though not easily extensible.
fixes gh-927
2016-06-23 20:20:34 -06:00
Spencer Gibb
856c47138a
Don't use deprecated constructor.
...
Eliminates a legacy use of a static singleton. This will help allow multiple registrations.
2016-06-20 18:27:12 -06:00
Spencer Gibb
7d295bdc8b
Update to SNAPSHOT
2016-06-09 11:30:39 -06:00
Spencer Gibb
b6807fc264
Update SNAPSHOT to 1.1.2.RELEASE
2016-06-09 11:06:25 -06:00
Spencer Gibb
6b1113e355
Remove condition for eureka healthcheck.
...
fixes gh-1051
2016-06-08 17:50:58 -06:00
Spencer Gibb
332b5605d6
Update to SNAPSHOT
2016-06-06 19:11:27 -06:00
Spencer Gibb
c3d16ddb30
Update SNAPSHOT to 1.1.1.RELEASE
2016-06-06 18:54:25 -06:00
Dave Syer
32d481df26
Be defensive about classpath in eureka auto config
...
Before this change we were seeing test failures in
spring-cloud-netflix-eureka-server (but only with Spring Boot 1.4)
caused by annotation processing explosion when
RefreshScopeAutoConfiguration is not on the classpath.
2016-05-16 12:46:03 +01:00
Dave Syer
c399f1117b
Revert to snapshots
2016-05-10 17:09:04 +01:00
Dave Syer
d9327a02a2
Update for 1.1.0.RELEASE
2016-05-10 17:00:17 +01:00
Dave Syer
6087bc755a
Use eureka.instance zone data consistently determining client zone
...
The zone for a remote server comes from its
eureka.instance.metadataMap.zone, but we didn't (until this change)
apply the same logic to the client. If the client is registering
itslef with eureka then it will have a metadataMap itself and
we should be able to just reverse the logic.
Fixes gh-991
2016-04-27 09:10:42 +01:00
Andrei Sfat
1c3de94c42
Add slash to eureka.client.service-url
...
Makes use of StringUtils.commaDelimitedListToStringArray
Fixes gh-980
2016-04-26 12:14:52 +01:00
Andrei Sfat
9bd3a66b16
#920 add slash when eureka.client.service-url.defaultZone does not contain one
2016-04-26 12:14:41 +01:00
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
Tyler Van Gorder
05351b7809
Ribbon retry works & fix Content-Length error.
...
This change requires setting `ribbon.http.client.enabled=true`.
This change addresses issue #648 Getting Retry Working In RestTemplate. There is also a fix in place that addresses the issue #357 RestTemplate Error.
fixes gh-648
2016-04-07 16:15:03 -06:00
Spencer Gibb
c0d767351a
Remove need for http basic auth client filter.
...
https://github.com/Netflix/eureka/releases/tag/v1.4.5
restores http basic auth.
2016-04-04 12:13:24 -06:00
Spencer Gibb
0b9ea25d86
Use config client default service id constant.
2016-04-04 11:53:12 -06: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