Commit Graph

990 Commits

Author SHA1 Message Date
Ryan Baxter
eeccf1e2fe Adding auto generated configuration properties documentation. Fixes #600 2019-09-17 16:08:17 -04:00
Olga Maciaszek-Sharma
bcbc5d4819 Remove spring.provides. Fixes gh-602. 2019-09-17 15:50:18 +02:00
Olga Maciaszek-Sharma
bef0543c2a Merge branch '2.1.x'
# Conflicts:
#	docs/pom.xml
#	pom.xml
#	spring-cloud-commons-dependencies/pom.xml
#	spring-cloud-commons/pom.xml
#	spring-cloud-context-integration-tests/pom.xml
#	spring-cloud-context/pom.xml
#	spring-cloud-loadbalancer/pom.xml
#	spring-cloud-starter/pom.xml
#	spring-cloud-test-support/pom.xml
2019-09-17 15:46:50 +02:00
Olga Maciaszek-Sharma
38db8440f1 Remove spring.provides. 2019-09-17 15:43:45 +02:00
buildmaster
afbe230b37 Bumping versions 2019-09-16 16:04:41 +00:00
Spencer Gibb
d2396bb21a Moves @ConditionalOnClass(RestTemplate.class) to inner class.
Creates test to make sure this works
2019-09-13 14:07:35 -04:00
Spencer Gibb
a70d99f79c Merge branch 'philwebb-healthcontributor' 2019-09-12 15:13:37 -04:00
Spencer Gibb
3ba5fcabaa Merge branch 'healthcontributor' of https://github.com/philwebb/spring-cloud-commons into philwebb-healthcontributor 2019-09-12 15:11:15 -04:00
Olga Maciaszek-Sharma
8bbd4384cc Remove deprecated comment. Move property configuration metadata to
loadbalancer module.
2019-09-12 20:44:09 +02:00
Spencer Gibb
6f83156c73 Moves conditional on class to class level 2019-09-12 14:32:40 -04:00
Tim Ysewyn
7f5823000f Updated discovery auto configuration 2019-09-12 19:19:00 +02:00
Spencer Gibb
4135bc55cd fixes class name 2019-09-11 12:49:15 -04:00
Spencer Gibb
ff45053c64 Uses class name rather than class for conditional.
Gets a type not present exception if webflux is exlcuded.
2019-09-11 12:44:58 -04:00
Tim Ysewyn
d6be04468c Added support for reactive service discovery client 2019-09-11 17:39:10 +02:00
buildmaster
d8b1abe02f Bumping versions to 2.1.4.BUILD-SNAPSHOT after release 2019-09-09 18:22:04 +00:00
buildmaster
fff96f4a8c Going back to snapshots 2019-09-09 18:22:04 +00:00
buildmaster
74ba6c90c2 Update SNAPSHOT to 2.1.3.RELEASE 2019-09-09 18:20:12 +00:00
Olga Maciaszek-Sharma
19bab039a9 Gh 586 loadbalancer starter (#599)
* Add loadbalancer starter. Add property to set BlockingLoadBalancerClient
as default non-reactive loadbalancer. Start working on auto-enabling caching.

* Automatically enable caching. Fixes gh-585.

* Add tests.

* Add reference docs.

* Change property name.
2019-09-09 17:49:46 +02:00
Ryan Baxter
8368c10865 Merge remote-tracking branch 'origin/2.1.x' 2019-09-04 12:06:06 -04:00
Ryan Baxter
1c762065e1 Use WebServerInitializedEvent to get port for SimpleDiscoveryProperties (#598)
* Use WebServerInitializedEvent to get port for SimpleDiscoveryProperties.  Fixes #255
2019-09-04 11:56:54 -04:00
Olga Maciaszek-Sharma
38af35ac37 Fix gh 591 backport lb changes (#597)
* Gh 576 use reactive load balancer (#584)

* Add `ReactorLoadBalancerClient` interface and its default implementation.

* Add initial `ReactorLoadBalancerExchangeFilterFunction` implementation.
Add `ReactorLoadBalancerClientAutoConfiguration`.
Refactor `ReactorLoadBalancerClient` interface and default implementation.

* Implement configuration changes to make default `ReactorLoadBalancer` and
`ReactorLoadBalancerClient` work out of the box with `@LoadBalanced
WebClient.Builder`.

* Add more tests for ReactorLoadBalancerExchangeFilterFunction and
DefaultReactorLoadBalancer.

* Fix configuration. Add tests. Add documentation.

* Add information on caching to the documentation.

* Add fixes after code review.

* Small refactoring after code review.

* Switch from handle(response, sink) to map(response).

* Remove redundant cast.

* Add link to caching in Springboot reference to the docs.

* Add more information on working with spring-cloud-loadbalancer vs. spring-cloud-starter-netflix-ribbon to the docs.

* Fix after code review.

(cherry picked from commit 3f17c0d902)

* Fix gh 491 gh 553 non reactive loadbalancer client (#590)

* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.

(cherry picked from commit c60df0f18e)

* Backport LoadBalancer changes. Fixes gh-591.

Fix gh 491 gh 553 non reactive loadbalancer client (#590)

* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.

(cherry picked from commit c60df0f18e)

* Update @since in javadocs after backporting changes to 2.1.x.
2019-09-02 20:38:47 +02:00
Ryan Baxter
f68bcc1d63 Fixing broken spring-retry link 2019-08-28 19:58:08 -04:00
Ryan Baxter
5622797489 Adding links to other implementations 2019-08-28 19:39:32 -04:00
Ryan Baxter
5e155309b8 Fixing relative link 2019-08-28 19:03:21 -04:00
Ryan Baxter
06f6993fc2 Fixing link 2019-08-28 17:22:04 -04:00
Ryan Baxter
f1b09477d1 Adding links to circuit breaker docs for hystrix 2019-08-28 17:09:36 -04:00
Ryan Baxter
d07fe7b3f5 Moving common spring-cloud-circuitbreaker code to commons 2019-08-27 14:51:04 -04:00
Ryan Baxter
3acbb88756 Merge remote-tracking branch 'origin/2.1.x' 2019-08-22 12:14:50 -04:00
Ryan Baxter
656feb2758 Merge branch '2.1.x' of github.com:spring-cloud/spring-cloud-commons into 2.1.x 2019-08-22 12:11:58 -04:00
Ryan Baxter
3592b2fab5 Merge branch 'rhanton-master' into 2.1.x 2019-08-22 11:43:44 -04:00
Ryan Baxter
e52736cef1 Merge branch 'master' of https://github.com/rhanton/spring-cloud-commons into rhanton-master 2019-08-22 11:42:56 -04:00
Phillip Webb
9cc020c993 Migrate from deprecated CompositeHealthIndicator
Deprecate `DiscoveryCompositeHealthIndicator` and add a replacement
`DiscoveryCompositeHealthContributor` class following upstream
Spring Boot deprecations.
2019-08-21 16:14:58 -07:00
Dave Syer
036388e2ef Switch out deprecated enum value in Spring core 2019-08-20 08:04:18 +01:00
buildmaster
41622a6a28 Going back to snapshots 2019-08-14 14:34:03 +00:00
buildmaster
66ac698e1a Update SNAPSHOT to 2.2.0.M2 2019-08-14 14:32:49 +00:00
Olga Maciaszek-Sharma
c60df0f18e Fix gh 491 gh 553 non reactive loadbalancer client (#590)
* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.
2019-08-12 12:21:38 +02:00
Olga Maciaszek-Sharma
3f17c0d902 Gh 576 use reactive load balancer (#584)
* Add `ReactorLoadBalancerClient` interface and its default implementation.

* Add initial `ReactorLoadBalancerExchangeFilterFunction` implementation.
Add `ReactorLoadBalancerClientAutoConfiguration`.
Refactor `ReactorLoadBalancerClient` interface and default implementation.

* Implement configuration changes to make default `ReactorLoadBalancer` and
`ReactorLoadBalancerClient` work out of the box with `@LoadBalanced
WebClient.Builder`.

* Add more tests for ReactorLoadBalancerExchangeFilterFunction and
DefaultReactorLoadBalancer.

* Fix configuration. Add tests. Add documentation.

* Add information on caching to the documentation.

* Add fixes after code review.

* Small refactoring after code review.

* Switch from handle(response, sink) to map(response).

* Remove redundant cast.

* Add link to caching in Springboot reference to the docs.

* Add more information on working with spring-cloud-loadbalancer vs. spring-cloud-starter-netflix-ribbon to the docs.

* Fix after code review.
2019-08-12 11:40:26 +02:00
Spencer Gibb
2e714b6757 Adds OriginTrackedCompositePropertySource for bootstrap (#583)
This allows the boot origin tracking mechanism to work if bootstrap loaded propertysources themselves are also origin tracked.

See https://github.com/spring-cloud/spring-cloud-config/issues/866
2019-08-02 13:35:05 -04:00
Marcin Grzejszczak
4a7ef9bb38 Added symbolic link of index.adoc 2019-07-29 14:28:26 +02:00
Marcin Grzejszczak
36355c025d Added symbolic link of index.adoc 2019-07-29 14:28:21 +02:00
Tim Ysewyn
f608dd74a7 Merge branch '2.1.x' 2019-07-26 16:26:49 +02:00
Tim Ysewyn
86650dc215 Updated license header 2019-07-26 15:08:53 +01:00
Tim Ysewyn
c19575b978 Added optimizations to EnvironmentDecryptApplicationInitializer 2019-07-26 15:08:53 +01:00
buildmaster
420524e07a Bumping versions 2019-07-23 10:46:53 +00:00
Olga Maciaszek-Sharma
883eb59d3e Merge branch '2.1.x' 2019-07-16 18:30:54 +02:00
Tim Ysewyn
28b9727250 Changed order of decrypting values. (#581)
Reversed order of sources in CompositePropertySource to adhere to the order of sources returned by the Spring Cloud Config server.
2019-07-16 18:28:26 +02:00
Ryan Baxter
8b57f1995b Changing default properties name to work around changes in boot, see Spring Boot #17141 2019-07-08 12:19:19 -04:00
buildmaster
2ec67abda1 Going back to snapshots 2019-07-01 14:59:20 +00:00
buildmaster
c622bcc00e Update SNAPSHOT to 2.2.0.M1 2019-07-01 14:58:18 +00:00
Olga Maciaszek-Sharma
851a41cd89 Merge branch '2.1.x'
# Conflicts:
#	docs/pom.xml
#	pom.xml
#	spring-cloud-commons-dependencies/pom.xml
#	spring-cloud-commons/pom.xml
#	spring-cloud-context-integration-tests/pom.xml
#	spring-cloud-context/pom.xml
#	spring-cloud-loadbalancer/pom.xml
#	spring-cloud-starter/pom.xml
#	spring-cloud-test-support/pom.xml
2019-07-01 14:13:17 +02:00