Commit Graph

446 Commits

Author SHA1 Message Date
Sky Ao
72f9b83041 serviceRegistry should set to final to make code more clear (#241) 2017-08-16 04:45:57 -04:00
Biju Kunjummen
a6b7f70b8e Show better message for missing config keystore props (#232)
* Show better message for missing config keystore props

* Removes unused ExpectedException

Fixes #230
2017-08-04 15:53:35 -04:00
Ryan Baxter
54d55010de Merge pull request #222 from ryanjbaxter/http-client-factories
Implementation of factories to provide Apache HTTP Clients
2017-08-03 11:08:32 -04:00
Ryan Baxter
d00d0dbe7e Merge remote-tracking branch 'Upstream/master' into http-client-factories 2017-08-01 15:26:15 -04:00
Johannes Edmeier
94a42737ec Fix empty keys in EnvironmentChangedEvent on resetting the Environment (#229)
When the Environment is resetted the EnvironmentChangedEvent always
contains an empty keySet, since the live view of the cleared map was
used. This commit fixes this.
2017-07-25 11:58:15 -04:00
Biju Kunjummen
2250c836a4 Remove dependence on lombok (#231) 2017-07-21 14:40:07 -04:00
Ryan Baxter
18a5711fe4 Merge remote-tracking branch 'Upstream/master' into http-client-factories 2017-07-09 14:20:50 -04:00
Ryan Baxter
3d47188334 Added documentation 2017-07-09 14:15:11 -04:00
Ryan Baxter
2661b343de Eliminated deprecated constructors 2017-07-09 13:47:17 -04:00
Ryan Baxter
a59a5aec13 Merge remote-tracking branch 'origin/1.2.x'. Eliminated some deprecated constructors. 2017-07-09 13:46:58 -04:00
Ryan Baxter
8660abda5a Merge pull request #225 from ryanjbaxter/static-retry-template
Create a new RetryTemplate for each request
2017-07-09 13:40:43 -04:00
Ryan Baxter
08c0c01774 Use a builder pattern to create clients. 2017-07-09 13:35:05 -04:00
Ryan Baxter
a375cb40f4 Merge remote-tracking branch 'Upstream/master' into http-client-factories
# Conflicts:
#	spring-cloud-commons/src/main/resources/META-INF/spring.factories
2017-07-06 16:55:44 -04:00
Ryan Baxter
5d5a5edc3c Fixes #224. Create a new RetryTemplate for each request. 2017-07-05 11:32:52 -04:00
Spencer Gibb
2aa6c39322 Reinstate @ConditionalOnClass(EnvironmentEndpoint.class) 2017-06-30 20:19:35 -06:00
Spencer Gibb
c75673110b formatting 2017-06-30 17:47:08 -06:00
Spencer Gibb
2baa775f65 Make getDiscoveryClients() public 2017-06-30 17:45:46 -06:00
Fabio Matos
2e81db24cf Disables endpoint creation (#208)
Fixes gh-117
2017-06-30 19:38:03 -04:00
Spencer Gibb
2b6ad4a118 bump to version 1.3.0 2017-06-30 17:19:48 -06:00
Biju Kunjummen
ca06452be0 GH-140: Support for Composite Discovery client (#198)
Add support for Composite Discovery client

* Test that the default discovery client is  present

* Return a local Service instance from Composite Discovery Client

fixes gh-140
2017-06-30 19:09:44 -04:00
Spencer Gibb
c953240620 Allow Discovery HealthIndicator description to be disabled.
fixes gh-223
2017-06-29 16:15:09 -06:00
Ryan Baxter
787bea18e9 OK HTTP client factory implementations 2017-06-29 15:11:27 -04:00
Ryan Baxter
473c278983 Fixing code formatting 2017-06-28 11:53:33 -04:00
Ryan Baxter
8b6ec654ea http client libraries are assumed to be present and not optional 2017-06-28 11:47:53 -04:00
Ryan Baxter
9bf1fe4685 Implementation of factories to provide Apache HTTP Clients 2017-06-27 15:47:11 -04:00
Ryan Baxter
111bd1ccb2 Merge pull request #221 from jihor/master
Add option to control management registration
2017-06-27 09:55:08 -04:00
jihor
314a42339c Switch back from Lombok to plain getters and setters in AutoServiceRegistrationProperties 2017-06-26 23:17:49 +03:00
jihor
011fa5d631 Add option to control management registration, switch AutoServiceRegistrationProperties to use Lombok 2017-06-26 19:18:20 +03:00
Spencer Gibb
40930de25d Upgrade to mvn 3.5.0
fixes gh-199
2017-06-16 14:11:30 -06:00
Ryan Baxter
ef164427e4 Merge pull request #216 from ryanjbaxter/retry-on-status-codes
Retry requests on specified status codes.  Fixes #215.
2017-05-31 14:17:43 -04:00
Ryan Baxter
87c319ae8e Retry requests on specified status codes. Also makes it easier to provide your own interceptor. Fixes #215. 2017-05-31 13:36:56 -04:00
Spencer Gibb
0c041591d1 Bump to version 1.2.3.BUILD-SNAPSHOT 2017-05-19 14:59:52 -06:00
Spencer Gibb
6cfaea4bb7 Going back to snapshots 2017-05-19 14:57:35 -06:00
Spencer Gibb
79096fbf8d Update SNAPSHOT to 1.2.2.RELEASE 2017-05-19 14:54:42 -06:00
Dave Syer
01cca0275a Be defensive about web classes being available 2017-05-16 14:48:19 +01:00
Jon Schneider
206ba7bcc1 Update spring-cloud-commons-dependencies version 2017-05-12 10:33:18 -05:00
Jon Schneider
c02398959d Revert back to snapshots 2017-05-12 10:25:38 -05:00
Jon Schneider
9d53dd46bb Update SNAPSHOT to 1.2.1.RELEASE 2017-05-12 09:18:36 -05:00
Jon Schneider
15aad9ca5f Point build badge to CircleCI 2017-05-11 14:20:47 -05:00
Dave Syer
fc2355b985 Make sure SimpleDiscoveryClient has a local service instance
Also allow user to configure it via application.yml, or default
to something sensible, the same way the Noop client used to.

Fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/1909
2017-05-05 17:27:26 +01:00
Spencer Gibb
922608651a fix test path 2017-05-01 09:27:37 -06:00
Spencer Gibb
a4169d451e Only registerManagement if registration is non-null.
fixes https://github.com/spring-cloud/spring-cloud-zookeeper/issues/122
2017-04-19 20:01:04 -06:00
Spencer Gibb
9675df02f6 Bumping versions to 1.2.1.BUILD-SNAPSHOT after release 2017-04-05 14:19:30 -06:00
Spencer Gibb
72685376a9 Going back to snapshots 2017-04-05 14:19:29 -06:00
Spencer Gibb
6b30820b09 Update SNAPSHOT to 1.2.0.RELEASE 2017-04-05 14:16:21 -06:00
Spencer Gibb
fe360307fa remove aggregate javadoc generation 2017-04-05 14:05:28 -06:00
Spencer Gibb
807e5c3ffd Move test-jar plugin to s-c-commons module 2017-04-05 12:48:58 -06:00
Spencer Gibb
c7c3f55ae8 Update mvnw for central profile detection 2017-04-05 12:35:46 -06:00
Spencer Gibb
43fe59489e Update test jar inclusion 2017-04-05 12:34:37 -06:00
Ryan Baxter
0dd6214ba4 Add retryable status code check (#197)
* Added API

* Add method to check response code retry in the policy.
2017-04-05 12:14:15 -04:00