Commit Graph

1394 Commits

Author SHA1 Message Date
buildmaster
a375f9fa91 Bumping versions 2021-03-13 16:05:46 +00:00
spencergibb
ce66be277d formatting 2021-03-12 14:31:59 -05:00
spencergibb
9301e7e88c Merge branch '2.2.x' 2021-03-12 14:30:35 -05: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
5c0bc097fa Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	docs/src/main/asciidoc/spring-cloud-commons.adoc
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerAutoConfiguration.java
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/ExchangeFilterFunctionUtils.java
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/ReactorLoadBalancerClientAutoConfiguration.java
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/ReactorLoadBalancerExchangeFilterFunction.java
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/RetryableLoadBalancerExchangeFilterFunction.java
#	spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/reactive/RetryableLoadBalancerExchangeFilterFunctionIntegrationTests.java
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/config/BlockingLoadBalancerClientAutoConfiguration.java
2021-03-12 14:49:19 +01: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
272365490a Add hint-based instance filtering (#923) 2021-03-12 12:55:44 +01:00
Olga Maciaszek-Sharma
6b6f6dbbd5 Move LoadBalancerServiceInstanceCookieTransformer to loadbalancer module. (#920) 2021-03-11 16:28:21 +01:00
spencergibb
2b2903c91d Makes junit:junit optional.
This means modules using spring-cloud-test-support must have the
junit-vintage-engine dependency so tests will run properly.
2021-03-09 14:45:32 -05:00
spencergibb
458ba95507 Fixes spring.cloud.oauth2.load-balanced.enabled condition.
Fixes gh-921
2021-03-09 14:44:38 -05:00
spencergibb
2cbf197050 Updates test to jupiter 2021-03-09 12:56:39 -05:00
buildmaster
acdb17c3a7 Bumping versions 2021-03-09 16:05:30 +00:00
Olga Maciaszek-Sharma
d583addb37 Add service instance cookie mechanism for blocking load-balanced requests. (#918) 2021-03-09 10:14:30 +01:00
spencergibb
da22aed5d8 Move CachedRandomPropertySource to EnvironmentPostProcessor
Previously it was an auto-configuration that only worked in legacy bootstrap mode.

Fixes gh-919
2021-03-08 17:37:42 -05:00
spencergibb
38a3711be7 Retain configured property sources across refresh.
Fixes gh-913
2021-03-08 17:23:05 -05:00
Olga Maciaszek-Sharma
8bffa27e9a Instantiate one LoadBalancedRetryFactory bean. (#917) 2021-03-05 16:22:10 +01:00
spencergibb
3c818f8cf3 Merge branch '2.2.x' 2021-03-03 16:23:18 -05:00
Tim Ysewyn
894b7d25c9 Log exceptions as errors 2021-03-03 22:17:58 +01:00
Ryan Baxter
5716143d64 Merge remote-tracking branch 'origin/2.2.x' 2021-02-22 13:48:23 -05: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
Ian Hu
e42f0987bb Avoid hard-coded SCOPED_TARGET_PREFIX usage. (#811)
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2021-02-17 11:34:59 -05:00
Olga Maciaszek-Sharma
36d5350661 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/core/HealthCheckServiceInstanceListSupplier.java
2021-02-17 15:44:21 +01: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
Olga Maciaszek-Sharma
2e71703df5 Merge 2.2.x 2021-02-15 16:44:36 +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
johnny850807
361a8c2bae Add getSupportedLifecycleProcessors method in BlockingLoadBalancerClient
# Conflicts:
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/blocking/client/BlockingLoadBalancerClient.java
2021-02-10 11:30:13 +01:00
spencergibb
70ec68fade Adds support for boot 2.5.
Adds version in CompatibilityVerifierProperties and reflection check in SpringBootVersionVerifier

Also removes all reflection checks prior to 2.4 since they no longer apply.

Fixes gh-896
2021-02-01 12:51:22 -05:00
spencergibb
44eab8def2 Adds boot 2.4 support in SpringBootVersionVerifier.
The reason errors weren't reported before with boot 2.4 and cloud 2020.0 is because of an error in logic. See gh-895

See also gh-896
2021-02-01 12:41:16 -05:00
spencergibb
5db02e2bee Removes boot 2.3 from CompatibilityVerifierProperties
See gh-896
2021-02-01 12:38:03 -05:00
spencergibb
d18708fd5b Merge branch '2.2.x' 2021-02-01 12:30:49 -05: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
buildmaster
9ded607b35 Bumping versions 2021-01-28 16:05:20 +00:00
buildmaster
6240d30237 Bumping versions to 3.0.2-SNAPSHOT after release 2021-01-27 20:31:42 +00:00
buildmaster
20252d8d30 Going back to snapshots 2021-01-27 20:31:42 +00:00
buildmaster
6e213c5919 Update SNAPSHOT to 3.0.1 2021-01-27 20:27:51 +00:00
spencergibb
4be51d36b8 Formatting 2021-01-26 12:02:45 -05:00
spencergibb
ea6598cd3d Merge branch '2.2.x' 2021-01-26 12:01:39 -05:00
spencergibb
eaa2ddaa86 Formatting 2021-01-26 12:01:13 -05:00
spencergibb
8f84a66998 Merge branch '2.2.x' 2021-01-26 11:57:53 -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
005f6d5487 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/config/LoadBalancerCacheAutoConfiguration.java
2021-01-26 17:44:13 +01:00
Olga Maciaszek-Sharma
5839758365 Add CaffeineCacheManager class conditions to LoadBalancerCacheAutoConfiguration. (#891) 2021-01-26 17:37:44 +01:00
Olga Maciaszek-Sharma
a5903d03e0 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/cache/DefaultLoadBalancerCacheManager.java
2021-01-26 17:34:39 +01:00
Olga Maciaszek-Sharma
3493612ab4 Use daemon threads with DefaultLoadBalancerCacheManager. (#890) 2021-01-26 17:29:54 +01:00
Ryan Baxter
81b7e1ba0a Use org security policy 2021-01-21 13:54:30 -05:00