Commit Graph

1156 Commits

Author SHA1 Message Date
Tim Ysewyn
7033a9877f Take first non-empty flux into consideration for composite reactive service discovery 2019-10-23 20:34:15 +02:00
Spencer Gibb
3fe7725fca Removes Objects.requireNonNull() 2019-10-23 14:03:46 -04:00
Olga Maciaszek-Sharma
ffecfb7d0b Add Spring Cloud LoadBalancer section to docs. (#624) 2019-10-22 14:02:25 +02:00
Olga Maciaszek-Sharma
092960e26e Fix Spring Cloud CircuitBreaker docs level offset. 2019-10-21 19:27:02 +02:00
Tim Ysewyn
e506e8ee60 Removed resource_class from circle config 2019-10-18 17:49:42 +02:00
buildmaster
dd08f97b93 Going back to snapshots 2019-10-03 18:56:14 +00:00
buildmaster
191a2724a4 Update SNAPSHOT to 2.2.0.M3 2019-10-03 18:55:07 +00:00
Tim Ysewyn
c0113c5235 Support reactive discovery client for load balancing 2019-10-03 16:34:58 +02:00
Phil Webb
2ded4eb554 Migrate from deprecate methods (#610)
Migrate away from deprecated Spring Boot configuration property
bean classes and methods.
2019-09-25 13:06:20 -04:00
buildmaster
1eeb648295 Bumping versions 2019-09-23 16:05:50 +00:00
Olga Maciaszek-Sharma
c2344f4580 Deprecate LoadBalancerExchangeFilterFunction. 2019-09-23 13:54:54 +02:00
Olga Maciaszek-Sharma
87fa3c7897 Use Ribbon by default. (#609)
* Use Ribbon by default.

* Fix after review.

* Reformat.
2019-09-23 13:51:32 +02:00
Olga Maciaszek-Sharma
da0ce3c4c8 Gh 595 add serviceinstancelistsupplier (#607)
* Add ServiceInstanceListSupplier and its implementations.
Deprecate ServiceInstanceSupplier and its implementations.
Fixes gh-595.

* Switch to non-parameterised type.

* Switch autoConfiguration and tests to new implementation.

* Update docs and javadocs. Remove deprecated TODOs.

* Fix after code review.
2019-09-18 17:56:52 +02:00
Olga Maciaszek-Sharma
1f6a4b1b37 Merge branch '2.1.x' 2019-09-18 17:55:47 +02:00
Olga Maciaszek-Sharma
8b8cf43add Mark ReactiveLoadBalancerAutoConfiguration as deprecated. 2019-09-18 17:54:23 +02:00
Ryan Baxter
f3477ba465 Removing Sleuth from docs 2019-09-17 16:14:20 -04:00
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