Commit Graph

1031 Commits

Author SHA1 Message Date
buildmaster
a20cde9672 Update SNAPSHOT to 2.2.0.RELEASE 2019-11-26 09:28:58 +00:00
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
cc05a2ba2c Bumping versions 2019-11-20 16:05:21 +00:00
Ryan Baxter
2b35336cd6 Update issue templates 2019-11-19 16:32:59 -05:00
Ryan Baxter
da7261d373 Create SECURITY.md 2019-11-19 16:32:16 -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
Ryan Baxter
18a4227c4e Added proxyBeanMethods = false to configuration classes. Fixes #623 2019-11-14 20:04:28 -05: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
Marcin Grzejszczak
ea957512a0 Added maven flatten plugin 2019-11-07 14:36:36 +01:00
Olga Maciaszek-Sharma
6356d92727 Remove unnecessary debug code. 2019-11-05 22:06:20 +01:00
Olga Maciaszek-Sharma
b85e8a23cc Minor doc fixes. 2019-11-05 15:31:45 +01:00
Olga Maciaszek-Sharma
b1b0ec86a6 Fix gh 619 pass customisers in bean post processors (#627)
* Switch to passing customisers in BeanPostProcessor instead of the
SmartInitializingSingleton.

* Do not instantiate ReactorLoadBalancerExchangeFilterFunction while registering
LB BeanPostProcessor.

* Do not instantiate ReactorLoadBalancerExchangeFilterFunction while registering
LB BeanPostProcessor.

* Extract BeanPostProcessor instantiation to a separate configuration.

* Fix tests.

* Switch to using generics for DeferringLoadBalancerExchangeFilterFunction
and reusing BPP configuration for Ribbon. Add more test assertions.

* Add javadocs.

* Add test verifying LB filters added when WebClient built in constructor.
2019-11-05 15:22:09 +01:00
Olga Maciaszek-Sharma
c437379857 Merge branch '2.1.x'
# Conflicts:
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/config/BlockingLoadBalancerClientAutoConfiguration.java
2019-10-29 17:48:21 +01:00
Olga Maciaszek-Sharma
b3c4698f99 Make RibbonWarnLogger conditional on loadbalancer.ribbon.enabled=true.
Fixes gh-628
2019-10-29 17:43:06 +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
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