Commit Graph

1200 Commits

Author SHA1 Message Date
buildmaster
6b7772cab4 Bumping versions to 2.2.9.BUILD-SNAPSHOT after release 2021-04-21 15:33:13 +00:00
buildmaster
dee48dd900 Going back to snapshots 2021-04-21 15:33:13 +00:00
buildmaster
2e8cf980cd Update SNAPSHOT to 2.2.8.RELEASE 2021-04-21 15:27:47 +00:00
buildmaster
68b9ef179b Bumping versions 2021-04-20 20:57:32 +00:00
buildmaster
9b7ca95a28 Bumping versions 2021-04-19 22:07:49 +00:00
Andrii Bohutskyi
9003dc453c 2.2.x (#941)
introduce new method in circuit breaker factory

Co-authored-by: Andrii Bohutskyi <abohutskyi@playtika.com>
2021-04-05 09:48:12 -04:00
spencergibb
fcc613bcb6 Revert "Implements DefaultServiceInstance.getScheme()."
This reverts commit 4269bb38
2021-03-16 16:32:37 -04:00
spencergibb
c6e4e4a47f Revert "polish"
This reverts commit f2fe2820
2021-03-16 16:32:31 -04:00
spencergibb
f2fe28203a polish 2021-03-16 13:25:13 -04:00
Daniel Gerber
4269bb3803 Implements DefaultServiceInstance.getScheme().
This fixes the problem, that a https URI could not be overriden in Unit tests with http (avoiding certificate problems on the build server)
2021-03-16 13:25:13 -04:00
Olga MaciaszekSharma
9551cfb5c2 Add note on not using @Configuration with @LoadBalancerClient. Regenerate configprops. Fixes gh-922. 2021-03-15 20:03:05 +01:00
bono007
ee2a6f168f Add probe method to DiscoveryClient (#789)
Add probe method to DiscoveryClient and optionally use in DiscoveryClientHealthIndicator.

Fixes gh-785

Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2021-03-12 14:24:37 -05:00
Olga MaciaszekSharma
3e74ab018d Merge remote-tracking branch 'origin/2.2.x' into 2.2.x 2021-03-12 13:30:45 +01:00
Toshiaki Maki
eddaaac5cb Add LoadBalancerClientRequestTransformer to 2.2.x (#925) 2021-03-12 13:30:32 +01:00
Olga MaciaszekSharma
61560ef760 Fix flaky test. 2021-03-12 13:24:21 +01:00
Olga Maciaszek-Sharma
8bffa27e9a Instantiate one LoadBalancedRetryFactory bean. (#917) 2021-03-05 16:22:10 +01:00
Tim Ysewyn
894b7d25c9 Log exceptions as errors 2021-03-03 22:17:58 +01:00
Ryan Baxter
d55b09b598 Adding the need for management.endpoint.env.post.enabled=true to the docs 2021-02-22 13:45:04 -05:00
Роман Чигвинцев
95a22796eb Fix bug of service instance refetching when repeating health check is activated (#904)
Fixes gh-899

(cherry picked from commit 3d257b43003a02b64c4f7fd97680e7981d0b52f4)
2021-02-17 15:35:39 +01:00
buildmaster
3aff1bea0d Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 13:11:53 +00:00
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
spencergibb
28932e58e9 Fix false positives in SpringBootVersionVerifier
If user was using boot 2.4 with Hoxton, the manifest check would return false, then try the reflection based predicates which would match 2.3 since the 2.3 predicate still holds true in 2.4

Fixes gh-895
2021-02-01 12:30:16 -05:00
spencergibb
eaa2ddaa86 Formatting 2021-01-26 12:01:13 -05:00
spencergibb
00d6a364b2 Moves CloudFlux to spring cloud package.
FluxFirstNonEmptyEmitting and Tests used package private classes/interfaces from reactor. These were replaced with the public interfaces they were extending and any default methods copied to the implementation.

LambdaSubscriber was copied to the test where it was used and had similar treatment for its package protected interfaces.

Fixes gh-887
2021-01-26 11:56:39 -05:00
Olga Maciaszek-Sharma
5839758365 Add CaffeineCacheManager class conditions to LoadBalancerCacheAutoConfiguration. (#891) 2021-01-26 17:37:44 +01:00
Olga Maciaszek-Sharma
3493612ab4 Use daemon threads with DefaultLoadBalancerCacheManager. (#890) 2021-01-26 17:29:54 +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
c1128e5065 Fix @since info. 2020-12-04 18:59:34 +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
Dave Syer
7287a3c767 Re-implement /pause endpoint
A new interface PauseHandler provides a callback for /pause and
/resume. The only implementation provided out of the box is for
Spring Integration's Pausable (so it will work with Spring Cloud
Stream Kafka for instance).

Fixes gh-788
2020-12-01 09:47:59 +00:00
spencergibb
18109085aa formatting 2020-11-16 16:35:52 -05:00
spencergibb
17a82c21aa Move properties to parameter.
Fixes gh-850
2020-11-16 16:34:31 -05:00
Olga Maciaszek-Sharma
17e9a2af38 Remove LB caching from default health-check config, since HealthCheckServiceInstanceListSupplier has a separate caching mechanism. Fixes gh-849. 2020-11-16 13:11:35 +01:00
buildmaster
259df6f4ee Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 09:32:26 +00: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
Olga Maciaszek-Sharma
ba8fd08adf Adjust after PR merge. Minor refactoring. 2020-10-12 14:20:51 +02:00
alchemy24
72762d76ed Deprecates SimpleServiceInstance in favor of DefaultServiceInstance (#835)
* Initial Commit

* Added URI to DefaultServiceInstance

* Added default constructor

* Fixed PR Comments
2020-10-12 13:41:39 +02:00
Olga Maciaszek-Sharma
653222d561 Override equals(), hashCode() and toString() in DefaultRequest and DefaultRequestContext. 2020-10-02 13:38:54 +02:00
Olga Maciaszek-Sharma
8748ef400f Add more logs. 2020-10-01 14:38:39 +02: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
Dave Syer
f7360b05ad Compatibility check if Spring Boot version is unknown
It is better not to fail the compatibility check if the Spring Boot version is unknown.
2020-09-15 14:18:06 -04:00
Spencer Gibb
5f92501a0d Performance improvements to NamedContextFactory. (#826)
Fixes gh-825
2020-09-15 14:13:17 -04:00
buildmaster
ec264fb23e Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 19:25:12 +00:00
buildmaster
0cdd6e5aa7 Going back to snapshots 2020-08-28 19:25:12 +00:00
buildmaster
dc3a4674c4 Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 19:20:48 +00:00