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
581e9bbd58
Upgrade Hystrix to 1.4.15
...
fixes gh-534
2015-09-23 15:40:13 -06:00
Dave Syer
cf3ae735b2
Fix test (exclude commons refresh processing if not available)
2015-09-23 14:43:16 +01:00
Dave Syer
797544e668
Clean up eureka lifecycle
...
When the parent (bootstrap) context registers the app as well as consuming
the registry it causes problems, e.g. when you refresh that context is
re-created and destroyed, which tends to unregister the app and it's hard
to get it back. It is simpler if the parent context use eureka read-only.
To ensure this we have to remove the @EnableDiscoveryClient from the
bootstrap context.
Tested with vanilla config server and eureka with the 'eureka-first'
sample and the 'zuul-proxy-eureka' sample.
Fixes gh-421
2015-09-23 14:15:07 +01:00
Dave Syer
eb8a902056
Ensure eureka client re-registers after config client activity
...
Reverts part of a change made for gh-349 and rationalizes a bit of the
Eureka configuration. The Eureka client cannot be shutdown without
attempting to restart it (but there isn't an obvious public API for
that), so it's better not to shut it down at all.
See gh-421
2015-09-23 13:02:15 +01:00
Dave Syer
61294659bf
Add back (and deprecate) old 'amqp' poms
2015-09-23 09:46:49 +01:00
Spencer Gibb
0d92cb0803
allow defaults for spring-cloud-stream bindings
2015-09-22 16:15:54 -06:00
Spencer Gibb
639a87bfa1
Port *-amqp to spring-cloud-stream.
...
Move turbine/hystrix amqp specific implementations to spring-cloud-stream based implementations and let the user decide which broker to use.
fixes gh-545
2015-09-22 09:42:45 -06:00
Spencer Gibb
9e817a7dce
Downgrade hystrix to 1.4.14
...
1.4.15 isn't in maven central yet
2015-09-14 13:07:25 -06:00
Spencer Gibb
1888a4496a
Upgrade hystrix to 1.4.15
...
fixes gh-534
2015-09-14 12:58:45 -06:00
Spencer Gibb
741908155a
Upgrade feign to 8.10.0
...
fixes gh-540
2015-09-14 12:55:13 -06:00
Spencer Gibb
c15fb33fc2
add ResponseEntity<Void> feign test
...
see gh-539
2015-09-14 12:48:36 -06:00
Spencer Gibb
4037f4ca80
Add initialization of JsonXStream back.
...
fixes gh-535
2015-09-10 12:59:24 -06:00
Spencer Gibb
d72c9f0dc4
make use of 'metadataMap.instanceId' consistent
2015-09-10 12:18:31 -06:00
Spencer Gibb
bea48c5150
Merge pull request #515 from CPGFinanceSystems-master
...
* CPGFinanceSystems-master:
Add X-Forwarded-Proto HTTP header to zuul proxy requests
2015-09-08 12:34:08 -06:00
Forstner Michael
cbc7aa37f4
Add X-Forwarded-Proto HTTP header to zuul proxy requests
...
If the zuul reverse proxy and the destination services are using a different scheme
(for example HTTPS on proxy side and HTTP on service side) an additional HTTP
header is required according to RFC7239 [http://tools.ietf.org/html/rfc7239 ]
2015-09-08 12:20:16 -06:00
Spencer Gibb
46860e5c2c
Merge pull request #519 from spring-cloud/adrian.feign-bump
...
Bumps to Feign 8.8.1
2015-09-08 11:48:15 -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
Adrian Cole
c25e950914
Bumps to Feign 8.8.1
2015-09-08 17:29:33 +02:00
Adrian Cole
12b8e52f70
Merge pull request #513 from spring-cloud/feign-eager-instantiation-problem
...
Change from @Autowired to context.getBean
2015-09-08 14:23:47 +02:00
Spencer Gibb
f60cc6fb42
Change from @Autowired to context.getBean.
...
Solves problems where FeignClientFactoryBean is run before auto-configuration.
fixed gh-441
2015-09-04 15:22:48 -06:00
Spencer Gibb
67f0035885
update README from sources
2015-09-04 09:40:38 -06:00
Spencer Gibb
a92307b060
Merge pull request #512 from geoand/doc-fix
...
Replaced incorrect @PathParameter with @PathVariable
2015-09-04 09:37:44 -06:00
Spencer Gibb
b55832e5ef
removed unused README
2015-09-03 17:41:34 -06:00
Spencer Gibb
304e836980
Merge pull request #509 from jmnarloch/eureka-healthcheck
...
* eureka-healthcheck:
Eureka health check
2015-09-03 17:40:01 -06:00
Jakub Narloch
c9008ea277
Eureka health check
2015-09-03 17:39:22 -06:00
gandrianakis
654ccf2dea
Replaced incorrect @PathParameter with @PathVariable
2015-09-03 12:15:56 +03:00
Dave Syer
72c89c51e6
Fix autoconfig ordering so that health indicators always work
2015-09-02 13:27:49 +01:00
Spencer Gibb
e31f41c2a9
Created StaticServerList and updated tests to use it.
2015-08-31 12:45:30 -06:00
Spencer Gibb
aef6d2a326
Use localhost if non-loopback lookup fails
2015-08-31 12:11:42 -06:00
Spencer Gibb
62129c72c2
fix condition for selfPreservationMode
2015-08-25 16:32:02 -06:00
Dave Syer
80f2735ea5
Merge branch '1.0.x'
...
Conflicts:
.travis.yml
2015-08-25 15:13:20 +01:00
Dave Syer
7fc9811975
Use TRAVIS_BRANCH if available
2015-08-25 14:52:31 +01:00
Dave Syer
b3ca7430b0
Move ghpages to script
2015-08-25 14:15:51 +01:00
Dave Syer
00cc64c6c5
Different special treatment of README
2015-08-25 14:04:43 +01:00
Dave Syer
c905822005
Special treatnment of README
2015-08-25 12:56:15 +01:00
Dave Syer
56fae9330f
Try to debug CI failures
2015-08-25 12:44:08 +01:00
Dave Syer
c1cb0025c1
Use subdirectory for gh pages docs
2015-08-25 12:37:15 +01:00
Dave Syer
89ebf1fa3f
Fix ghpages script to work on branches
2015-08-25 12:29:41 +01:00
Dave Syer
ddd1b35b71
Merge branch '1.0.x'
2015-08-25 11:13:46 +01:00
Dave Syer
ad86d48c6a
Use HttpHeaders for headers (case insensitive)
...
Fixes gh-306
2015-08-25 11:13:29 +01:00
Spencer Gibb
e8b0e613fc
Merge pull request #501 from ghillert/master
...
Replace XD logo with a Eureka logo
2015-08-24 12:52:18 -06:00
Gunnar Hillert
b1dffe00e7
Replace XD logo with a Eureka logo
...
* Fixes gh-310
2015-08-24 14:41:32 -04:00
Spencer Gibb
b494e1d2cc
refactor RibbonCommand to an interface and factory
...
lays the groundworkd to implement an httpclient ribbon command
fixes gh-412
2015-08-21 11:36:24 -06:00
Spencer Gibb
ec22bf21eb
Added LICENSE.txt
2015-08-20 16:11:18 -06:00
Roy Clarkson
56d0570674
Fix whitespace and formatting
2015-08-20 14:32:38 -05:00
Spencer Gibb
913091a716
added test for lists of request parameters
2015-08-19 10:52:01 -06:00
Adrian Cole
b943a94b33
Merge pull request #494 from spring-cloud/adrian.5percent-more-ribbon
...
Updates to Ribbon 2.10
2015-08-19 08:27:45 -07:00
Adrian Cole
691771a13d
Updates to Ribbon 2.10
...
Synchronizes on the version in use by Feign.
Closes #4920
2015-08-18 21:46:28 -07:00