Commit Graph

1053 Commits

Author SHA1 Message Date
buildmaster
f25bbad456 Bumping versions 2019-12-18 16:05:04 +00:00
Olga Maciaszek-Sharma
75338cde79 Zoned ServiceInstanceListSupplier (#658)
* Get ServiceInstance zone from metadata.

* Add ZonePreferenceServiceInstanceListSupplier.

* Add javadocs and license entries.

* Add tests.

* Add documentation.

* Documentation fix.

* Fix after code review.
2019-12-18 15:25:51 +01:00
Spencer Gibb
be0fa8f1b8 Merge branch '2.1.x' 2019-12-17 19:28:18 -05:00
Spencer Gibb
6c9bcb9f38 Adds static to ConfigurationPropertiesBeans bean.
This avoids a bean post processor warning.

Fixes gh-657
2019-12-17 19:26:49 -05:00
Spencer Gibb
5f3981bbfc Merge branch '2.1.x' 2019-12-17 17:18:01 -05:00
Spencer Gibb
618d2b31ba Adds .flattened-pom.xml 2019-12-17 17:16:43 -05:00
Spencer Gibb
d8db91206e Moves locateCollection impl to static method 2019-12-17 17:15:49 -05:00
Dave Syer
bfbadec0f0 Prevent listeners being added multiple times on restart
(and at other times potentially - e.g. if 2 contexts share a parent).

Plus some general tidy up on compiler warnings.

Fixes gh-613
2019-12-17 16:31:11 +00:00
Ryan Baxter
4cc23b4b71 Merge remote-tracking branch 'origin/2.1.x' 2019-12-13 19:38:27 -05:00
Ryan Baxter
d0ca983936 Removing the possibility of null propertysources being returned in the locator 2019-12-13 19:37:57 -05:00
Ryan Baxter
e4be432ec4 Merge remote-tracking branch 'origin/2.1.x' 2019-12-13 12:09:24 -05:00
Ryan Baxter
763b6c1711 Add each PropertySource from PropertySourceLocators individually (#652)
* Add each PropertySource from PropertySourceLocators individually instead of as a CompositePropertySource.  Fixes #611
2019-12-13 12:01:23 -05:00
Ryan Baxter
04c24271e7 Merge remote-tracking branch 'origin/2.1.x' 2019-12-11 16:24:04 -05:00
Ryan Baxter
b7bef1d3e0 Added clarification to documentation on where to set spring.profiles.active. Fixes #612 2019-12-11 16:23:35 -05:00
Olga Maciaszek-Sharma
de9e259b1e Make LoadBalancer cache conditional on no Ribbon default. (#650) 2019-12-11 15:55:41 +01:00
Tim Ysewyn
7b0af856a4 Bumped spring-security-rsa 2019-12-09 15:12:30 +01:00
Tim Ysewyn
af772dbafb Bumped spring-security-rsa 2019-12-09 14:57:26 +01:00
Jay Bryant
359dd79aac Making the Load Balancer and Circuit Breaker sections consistent (#646)
I edited the Load Balancer and Circuit Breaker sections to make them be consistent with the rest of the document. I tinkered with some other things while I was at it.
2019-12-02 20:16:14 -05:00
buildmaster
b2d834f37f Bumping versions 2019-11-26 16:04:59 +00:00
buildmaster
8ab3c2723a Bumping versions to 2.2.1.BUILD-SNAPSHOT after release 2019-11-26 09:34:55 +00:00
buildmaster
a70b9f30bd Going back to snapshots 2019-11-26 09:34:54 +00:00
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
f2e1ea7e36 Removing resource class from circileci config 2019-11-21 15:44:44 -05: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