Commit Graph

284 Commits

Author SHA1 Message Date
Olga Maciaszek-Sharma
da0e06eb7a Add evictor based loadbalancer caching (#644)
* Add Evictor dependency. Implement EvictorCache.

* Add EvictorBasedLoadBalancerCacheManager. Add evictor to starter.

* Set caffeine InitialCapacity from properties.

* Add tests. Add javadocs. Fix creating multiple cache instances.

* Reformat. Change property name. Add documentation.

* Add more tests.

* Move evictor version to parent. Add more tests.

* Ignore .flattened-pom.xml.

* Encapsulate Evictor and switch to non-evictor specific class naming.

* Adjust the docs.

* Fix after code review.
2019-11-25 20:34:19 +01:00
buildmaster
05d936803f Bumping versions 2019-11-22 16:05:59 +00:00
Olga Maciaszek-Sharma
1ddeca4a8e Switch to Spring Boot String to Duration conversion. 2019-11-22 16:49:28 +01:00
Olga Maciaszek-Sharma
bf6b31ee8a caffeine cache for loadbalancer Fix gh 638 (#643)
* Add Caffeine-based loadBalancerCacheManager.

* Add more tests.

* Fix test.

* Only enable loadBalancer caching if caffeine is on classpath. Warn if
caffeine is not on classpath.

* Add javadocs.

* Add docs. Change property name.

* Fix configuration.

* Fix after code review. Add another constructor to CaffeineBasedLoadBalancerCacheManager,
allowing to pass cache name, in order to support alternative ServiceInstanceListSupplierImplementations.
2019-11-22 15:53:57 +01:00
Ryan Baxter
d4cc825aa0 Merge remote-tracking branch 'origin/2.1.x' 2019-11-21 15:43:31 -05:00
Ryan Baxter
fe86020456 Added docs about using multiple LoadBalanced WebClient objects. Fixes #387 2019-11-21 15:39:30 -05:00
buildmaster
4bd752192c Bumping versions to 2.1.5.BUILD-SNAPSHOT after release 2019-11-18 14:33:52 +00:00
buildmaster
178395f6c9 Going back to snapshots 2019-11-18 14:33:52 +00:00
buildmaster
4bba3d1a80 Update SNAPSHOT to 2.1.4.RELEASE 2019-11-18 14:32:51 +00:00
buildmaster
80a9a38712 Going back to snapshots 2019-11-08 19:57:32 +00:00
buildmaster
9ec71f275e Update SNAPSHOT to 2.2.0.RC2 2019-11-08 19:56:19 +00:00
buildmaster
efcb959e8c Bumping versions 2019-11-07 13:47:04 +00:00
Olga Maciaszek-Sharma
b85e8a23cc Minor doc fixes. 2019-11-05 15:31:45 +01:00
buildmaster
8e2374140a Going back to snapshots 2019-10-24 20:20:04 +00:00
buildmaster
338649716f Update SNAPSHOT to 2.2.0.RC1 2019-10-24 20:18:53 +00: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
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
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
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
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
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
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
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
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
Spencer Gibb
23ac3caabe Updates version to 2.1.3 bumps build to 2.1.7 2019-06-21 11:44:03 -04:00
buildmaster
ad4e8d6a29 Bumping versions to 2.1.4.BUILD-SNAPSHOT after release 2019-06-20 16:26:17 +00:00
buildmaster
3d3673ade7 Going back to snapshots 2019-06-20 16:26:17 +00:00
buildmaster
24514b085c Update SNAPSHOT to 2.1.2.RELEASE 2019-06-20 16:23:22 +00:00
buildmaster
c9d42117be Bumping versions to 2.1.3.BUILD-SNAPSHOT after release 2019-06-11 18:38:29 +00:00
buildmaster
a21ed507cb Going back to snapshots 2019-06-11 18:38:29 +00:00
buildmaster
8b5ea85b44 Update SNAPSHOT to 2.1.2.RELEASE 2019-06-11 18:37:07 +00:00