Commit Graph

342 Commits

Author SHA1 Message Date
Spencer Gibb
d9d3b5f74a Update SNAPSHOT to 1.2.0.M1 2017-01-26 10:39:31 -07:00
Spencer Gibb
f60dbeb5e6 Install FeaturesEndpoint even if discovery disabled.
FeaturesEndpoint does not at all require discovery.

 fixes gh-167
2017-01-26 10:29:35 -07:00
Matt Benson
941275ded2 consider spring.profiles.include values from bootstrap PropertySources (#123) 2017-01-26 12:14:43 -05:00
Spencer Gibb
625b906e53 deprecate specific methods AbstractDiscoveryLifecycle 2017-01-11 22:44:23 -07:00
Spencer Gibb
b8ba517178 remove travis 2017-01-09 20:18:50 -07:00
Spencer Gibb
2227a6e3a5 add circle 2017-01-09 20:09:40 -07:00
Spencer Gibb
724032b4e6 tweak AsyncRestTemplate bean names and loading 2017-01-09 19:28:06 -07:00
Spencer Gibb
210c7b9017 Update spring-cloud-build to 1.3.1.BUILD-SNAPSHOT 2017-01-09 18:25:48 -07:00
Spencer Gibb
8f087f2ee9 remove unused @EnableConfigurationProperties 2017-01-09 17:47:13 -07:00
Rob Worsnop
a883a4b852 Added classes for async load balancer interceptor (#149)
* Added classes for async load balancer interceptor

Fixes #36
2017-01-09 19:23:36 -05:00
Andreas Schöneck
373ef85079 Close verbatim block properly (#146)
Add missing backtick after RestTemplate in order to not have this blocker huger as intended.
2017-01-09 18:12:48 -05:00
Matthew Reid
63e4e3b8d6 Allow lifecycle endpoints to be globally disabled using endpoints.enabled property (#148)
fixes gh-158
2017-01-09 14:37:48 -05:00
Ryan Baxter
10cbe7e447 Merge pull request #160 from ryanjbaxter/error-handle-invalid-hostnames-159
Provide better error handling for invalid hostnames
2017-01-09 14:15:50 -05:00
Ryan Baxter
538ede0544 Merge remote-tracking branch 'Upstream/master' into error-handle-invalid-hostnames-159
# Conflicts:
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerInterceptor.java
2017-01-09 14:10:19 -05:00
程序猿DD
e1460f9534 fixed : Retrying Failed Requests' property is wrong (#155) 2017-01-09 11:29:52 -05:00
Ryan Baxter
d70cc62714 Merge pull request #164 from william-tran/feature/customize-load-balanced-requests
Customize load balanced requests according to the chosen ServiceInstance
2017-01-06 12:29:06 -05:00
Will Tran
c87b8b33fd Customize load balanced requests according to the chosen ServiceInstance
Applications can define their own LoadBalancerRequestTransformer beans
which can modify the HttpRequest to be executed. These beans can be
@Ordered in case of multiple transformers.

Fixes #162
2017-01-05 14:22:40 -05:00
Ryan Baxter
04f7164d75 Merge pull request #161 from anderius/feature/expose-context-names
Exposing context names
2017-01-04 12:41:59 -05:00
Anders Båtstrand
69192f6f67 Exposing context names, fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/1585. 2017-01-04 11:00:51 +01:00
Ryan Baxter
43f7810080 Provide better error handling for invalid hostnames. Fixes #159. 2017-01-03 12:06:49 -05:00
Ryan Baxter
1762a6a59f Fixed typo in 'enabled' 2016-12-29 19:44:31 -05:00
Ryan Baxter
82175d1cac Fixed retry policy
see spring-cloud/spring-cloud-netflx#1577
2016-12-29 19:43:24 -05:00
Vitalii
c5d73294c4 Fixed typo in event class name (#152) 2016-12-20 13:12:08 -05:00
Spencer Gibb
f7e59a4bfe Change auto-registration intitialization.
The import-selected AutoServiceRegistrationConfiguration now creates the configuration properties bean, which is used as a marker bean for AutoServiceRegistrationAutoConfiguration. This gives auto registration implementations a chance to create an AutoServiceRegistration impl bean.
2016-12-08 10:05:01 -07:00
Spencer Gibb
35b5d53841 Move endpoint config to nested class 2016-12-08 10:05:01 -07:00
Spencer Gibb
1e447eb9d1 More deprecation in Discovery.
These functions will be taken over by ServiceRegistry
2016-12-08 10:05:01 -07:00
Ryan Baxter
8d3d07bde6 We no longer need InfoEndpointRebinderConfiguration since we will not be supporting Boot 1.3.x in Dalston. See #145. 2016-11-21 12:07:01 -05:00
Ryan Baxter
dde952982e Revert "Make sure we copy variables to new InfoEndpoint. Fixes #143."
This reverts commit 30f34cf3bc.
2016-11-21 12:01:31 -05:00
Ryan Baxter
0a6466d9c0 Revert "Added TODO to remove InfoEndpointRebinderConfiguration"
This reverts commit 2266cc9c1a.
2016-11-21 12:01:21 -05:00
Ryan Baxter
2266cc9c1a Added TODO to remove InfoEndpointRebinderConfiguration 2016-11-21 11:47:12 -05:00
Ryan Baxter
30f34cf3bc Make sure we copy variables to new InfoEndpoint. Fixes #143. 2016-11-21 11:47:12 -05:00
Spencer Gibb
7fcd385d46 Update ServiceRegistryAutoConfiguration to be skipped if actuator not on classpath. 2016-11-07 11:51:39 -07:00
Spencer Gibb
bf4b6e3293 Create a ServiceRegistry interface.
Allow service discovery systems to register more than one instance.

Automatic registration will still take place.

Add boolean autoRegister() to EnableDiscoveryClient, defaults to true.

Add ServiceRegistryEndpoint.

fixes gh-9
2016-11-07 10:30:54 -07:00
Spencer Gibb
d850aad13f Bump to 1.2.0.BUILD-SNAPSHOT 2016-10-27 15:58:59 -06:00
Ryan Baxter
a4cc3afb94 Merge pull request #137 from ryanjbaxter/ribbon-retry-logic
Retry implementation for LoadBalanced RestTemplates
2016-10-26 15:11:38 -04:00
Ryan Baxter
620ab88240 Added test-jar packaging to reuse helper classes downstream 2016-10-26 14:30:35 -04:00
Ryan Baxter
d6f306e1af Merge remote-tracking branch 'Upstream/master' into ribbon-retry-logic 2016-10-25 15:45:19 -04:00
Ryan Baxter
b0dca4ee76 Rename LoadBalanceChooser to ServiceInstanceChoose 2016-10-25 15:44:49 -04:00
Dave Syer
6250a68f52 Add aggregate javadocs to build 2016-10-24 16:26:39 +01:00
Ryan Baxter
c5b7e87077 Updated SC build version 2016-10-20 15:21:07 -04:00
Ryan Baxter
39045ee20e Making spring-retry optional by conditional loading config 2016-10-20 14:36:39 -04:00
Ryan Baxter
19a7562c7c Retry implementation for LoadBalanced RestTemplates 2016-10-17 06:52:12 -04:00
Dave Syer
65c00ecb93 Revert to snapshots 2016-10-17 09:15:38 +01:00
Dave Syer
5d2d2908db Update for 1.1.4 2016-10-17 09:08:50 +01:00
Pavel Baranchikov
329c67fa36 Make InetUtils.executorService an instance variable.
Fixes gh-132
2016-10-06 11:33:29 -04:00
Spencer Gibb
a2c1fe6909 Only create composite health indicator if needed.
Only if there is at least one DiscoveryHealthIndicator.

fixes gh-135
2016-10-04 19:00:36 -06:00
Dave Syer
8089c0d411 Revert to snapshots 2016-09-21 09:39:11 +01:00
Dave Syer
897555a57a Update to 1.1.3 2016-09-21 09:38:16 +01:00
Dave Syer
4afa7488cf Ensure version is scraped from parent pom 2016-09-20 13:48:13 +01:00
Marcin Grzejszczak
78b7a65e56 Updating mvnw for all projects 2016-09-19 19:30:22 +02:00