buildmaster
c8d0e7f13d
Going back to snapshots
2021-02-11 13:11:52 +00:00
buildmaster
d74cd35533
Update SNAPSHOT to 2.2.7.RELEASE
2021-02-11 13:09:01 +00:00
Olga Maciaszek-Sharma
5bfd4610de
Backport retryable lb exchange filter function ( #902 )
2021-02-11 12:11:52 +01:00
Olga Maciaszek-Sharma
65201f8f61
Add RandomLoadBalancer, along with tests and docs. ( #868 )
...
# Conflicts:
# spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/core/RoundRobinLoadBalancer.java
2020-12-11 17:33:42 +01:00
Olga Maciaszek-Sharma
843cb79649
Support same service instance preference ( #862 )
...
* Draft initial implementation.
* Rename default configuration property. Check previously chosen instance for equality.
* Verify previous service instance for null. Add tests.
* Add docs.
* Add javadocs.
* Fix javadocs after review.
2020-12-04 18:18:10 +01:00
Olga Maciaszek-Sharma
cbedae2e82
Allow refetching instances for healthcheck ( #855 )
...
* Allow refetching instances by HealthCheckServiceInstanceListSupplier.
* Add docs and javadocs.
* Fix docs after review.
2020-12-01 11:14:14 +01:00
buildmaster
439c966bb8
Going back to snapshots
2020-11-09 09:32:25 +00:00
buildmaster
30bf7336c9
Update SNAPSHOT to 2.2.6.RELEASE
2020-11-09 09:26:11 +00:00
Mushtaq Ahmed
d95a4d8c44
Updating Evictor Project link
2020-09-28 18:37:49 +02:00
Olga Maciaszek-Sharma
5401628aed
Add retry support for blocking LoadBalancer ( #832 )
...
* Add LoadBalancerProperties and BlockingLoadBalancedRetryPolicy. Add spring-retry dependency in LoadBalancer.
* Add BlockingLoadBalancedRetryFactory
* Move retry properties to LoadBalancerRetryProperties.
* Refactor and remove deprecations, fix checkstyle.
* Add BlockingLoadBalancedRetryPolicy to autoconfiguration. Set default retryableStatusCode prop. Fix javadoc.
* Allow using @Order on LoadBalancedRetryFactory beans.
* Add tests. Reformat tests. Add explanatory comments.
* Add documentation.
* Fix javadoc.
* Fix docs after review.
* Change field name.
2020-09-24 17:31:38 +02:00
Marcin Grzejszczak
5e9f6c2925
Migrated to docs.spring.io & updated sc-build
2020-06-04 13:32:02 +02:00
Olga Maciaszek-Sharma
76db32b181
Fix property name in docs.
2020-06-01 19:30:34 +02:00
Olga Maciaszek-Sharma
da23fe4f07
Handle exceptions and timeouts new ( #767 )
...
* Handle timeouts and exceptions while retrieving instances.
* Update docs.
2020-05-27 20:11:47 +02:00
Olga Maciaszek-Sharma
87e5d7a62b
Fix execution thread for blocking and adjusts timing
...
* Fix execution thread for blocking DiscoveryClientServiceInstanceListSupplier.
* Desynchronise HealthCheck and Cache. Add info about using HealthCheck without Cache to docs.
See gh-760
2020-05-27 10:13:55 -04:00
Spencer Gibb
a10fbb9b07
Renames ServiceInstanceListSuppliers to ServiceInstanceListSupplierBuilder ( #761 )
...
Puts static builder() method on ServiceInstanceListSupplier.
Deprecates ServiceInstanceListSupplier.fixed(Environment) and replaces with fixed(serviceId).
2020-05-21 14:08:09 -04:00
Olga Maciaszek-Sharma
c998d69c66
Add predefined ServiceInstanceListSupplier configurations. 2nd part of gh-741. ( #758 )
2020-05-18 16:23:48 +02:00
Olga Maciaszek-Sharma
8dff101d6f
Lb configuration builders ( #751 )
...
* Adds ServiceInstanceListSuppliers.java with Builder
* Implement TODOs.
* Add javadocs.
* Remove unused type.
* Add test.
* Safer caching config: resolve LoadBalancerCacheManager lazily. Return delegate if LoadBalancerCacheManager not available.
* Switch to using builder in LoadBalancerClientConfiguration.
* Autoformatting with spring-java-format.
* Update docs.
Co-authored-by: Spencer Gibb <spencer@gibb.us >
2020-05-05 17:55:03 +02:00
Olga Maciaszek-Sharma
5f413a7297
Fix capitalisation.
2020-05-04 18:32:42 +02:00
Olga Maciaszek-Sharma
d27b59e6f6
Fix docs on Instance Health-Check for LoadBalancer. Fixes gh-746.
2020-04-30 15:34:15 +02:00
Ryan Baxter
bea81f7b51
Cherry picking commit 4119a9c
2020-04-02 10:26:24 -04:00
JinSoo Han
3863d389bb
Typo correction in document ( #708 )
...
Co-authored-by: jinsoohan <jinsoo.han@gmail.com >
2020-03-10 15:24:21 -04:00
buildmaster
f18c131bb8
Going back to snapshots
2020-03-04 15:28:35 +00:00
buildmaster
562088c03d
Update SNAPSHOT to 2.2.2.RELEASE
2020-03-04 15:21:54 +00:00
Spencer Gibb
69a8cece5f
Ensures HikariDataSource is never re-bound.
...
Removes HikariDataSource from extra-refreshable and adds it to a new property never-refreshable.
ConfigurationPropertiesRebinder now checks that property and does not rebind beans whose class is in never-refreshable.
fixes gh-687
2020-03-03 17:54:58 -05:00
Olga Maciaszek-Sharma
070e0a8518
Add info on SimpleDiscoveryClient in the docs. Remove redundant param. ( #684 )
...
* Add info on SimpleDiscoveryClient in the docs. Remove redundant parameter.
* Remove warning after discussion.
2020-02-04 18:26:44 +01:00
Olga Maciaszek-Sharma
47a810606d
Fix gh 629 new ( #683 )
...
* Swaps deprecated ConditionalOnEnabledEndpoint for updated annotation.
Swaps with ConditionalOnAvailableEndpoint
* Migrates to new OutputCaptureRule
* Migrates to new OutputCaptureRule
* Add health check loadBalancing implementation.
* Make isAlive() method protected.
Co-authored-by: Spencer Gibb <spencer@gibb.tech >
2020-02-04 10:14:08 +01:00
Ryan Baxter
cb0a693cc9
merge 2.1.x into 2.2.x
2020-01-28 20:19:31 -05:00
Ryan Baxter
c982cd8798
Merge branch '466' of https://github.com/srempfer/spring-cloud-commons into srempfer-466
2020-01-28 20:15:16 -05:00
Toshiaki Maki
d7767a058a
Add once method for Customizer of circuit breaker ( #626 )
...
* Add Customizer.once
* Make the logic of Customer.once atomic
* Add document on how to use once method
2020-01-15 10:19:03 -05:00
Ryan Baxter
61ba39ee11
Fix broken links. Fixes #663
2020-01-06 12:46:57 -05:00
buildmaster
080cd374fc
Bumping versions
2019-12-20 16:05:11 +00:00
buildmaster
980ce49895
Going back to snapshots
2019-12-20 11:59:03 +00:00
buildmaster
f533ef1553
Update SNAPSHOT to 2.2.1.RELEASE
2019-12-20 11:53:32 +00:00
Olga Maciaszek-Sharma
8c054083cc
Use configuration properties instead of environment. ( #662 )
...
* Use configuration properties instead of environment.
* Fix after review.
2019-12-19 17:27:40 +01: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
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
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
srempfer
70129ecc07
Introduced property 'spring.cloud.bootstrap.additional-location' according to 'spring.config.additional-location' ( #466 )
2019-12-02 17:34:21 +01: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
Olga Maciaszek-Sharma
b85e8a23cc
Minor doc fixes.
2019-11-05 15:31:45 +01: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
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