spencergibb
17a82c21aa
Move properties to parameter.
...
Fixes gh-850
4 years ago
buildmaster
97189b4142
Bumping versions
4 years ago
Olga Maciaszek-Sharma
f5a5bef06f
Merge remote-tracking branch 'origin/2.2.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-webflux-integration-tests/pom.xml
# spring-cloud-context/pom.xml
# spring-cloud-loadbalancer/pom.xml
# spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/annotation/LoadBalancerClientConfiguration.java
# spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/annotation/LoadBalancerClientConfigurationTests.java
# spring-cloud-starter-loadbalancer/pom.xml
# spring-cloud-starter/pom.xml
# spring-cloud-test-support/pom.xml
4 years ago
Olga Maciaszek-Sharma
17e9a2af38
Remove LB caching from default health-check config, since HealthCheckServiceInstanceListSupplier has a separate caching mechanism. Fixes gh-849.
4 years ago
Olga Maciaszek-Sharma
7f23cb852f
Add Reactive retries for SC LoadBalancer ( #847 )
...
* Implement retry logic.
* Fix retrying on next instance when RetryExhausted in same instance.
* Fix retrying on next instance when RetryExhausted in same instance.
* Fix retrying on next instance when RetryExhausted in same instance.
* Move duplicated methods to utility class. Fix checkstyle.
* Fix test.
* Add more tests.
* Fix test.
* Add autoConfiguration.
* Refactor and add javadocs.
* Add javadocs.
* Use RetryAwareServiceInstanceListSupplier with reactive retries.
* Update properties.
* Fix the docs.
* Rename utility class.
* Verify interactions in order.
4 years ago
buildmaster
259df6f4ee
Bumping versions to 2.2.7.BUILD-SNAPSHOT after release
4 years ago
buildmaster
439c966bb8
Going back to snapshots
4 years ago
buildmaster
30bf7336c9
Update SNAPSHOT to 2.2.6.RELEASE
4 years ago
Marcin Grzejszczak
1195581e02
Ignored a test; added conditional on property
4 years ago
buildmaster
a09abe00a4
Bumping versions
4 years ago
Olga Maciaszek-Sharma
4b3a399f7b
Merge remote-tracking branch 'origin/2.2.x'
...
# Conflicts:
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/simple/SimpleDiscoveryClient.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/simple/SimpleDiscoveryClientAutoConfiguration.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientAutoConfiguration.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/SimpleDiscoveryClientTests.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientTests.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/reactive/LoadBalancerExchangeFilterFunctionTests.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/reactive/ReactorLoadBalancerExchangeFilterFunctionTests.java
# spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/blocking/client/BlockingLoadBalancerClientTests.java
4 years ago
Olga Maciaszek-Sharma
ba8fd08adf
Adjust after PR merge. Minor refactoring.
4 years ago
alchemy24
72762d76ed
Deprecates SimpleServiceInstance in favor of DefaultServiceInstance ( #835 )
...
* Initial Commit
* Added URI to DefaultServiceInstance
* Added default constructor
* Fixed PR Comments
4 years ago
buildmaster
44b35c2cbf
Going back to snapshots
4 years ago
buildmaster
83b7a1d6b3
Update SNAPSHOT to 3.0.0-M4
4 years ago
Ryan Baxter
084da119a1
Revert "Setting reactor bom to 2020.0.0-SNAPSHOT due to reactor bom overriding in HATEOAS"
...
This reverts commit 6ea0b4738b
.
4 years ago
Olga Maciaszek-Sharma
e1c570af07
Add equals(), hashCode() and toString() methods to HintRequestContext and RetryableRequestContext.
4 years ago
Olga Maciaszek-Sharma
0fc6f97974
Merge remote-tracking branch 'origin/2.2.x'
...
# Conflicts:
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/DefaultRequest.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/DefaultRequestContext.java
4 years ago
Olga Maciaszek-Sharma
653222d561
Override equals(), hashCode() and toString() in DefaultRequest and DefaultRequestContext.
4 years ago
Ralph Goers
4a2e83ea46
Remove URL check that causes loading 401 responses from Spring Cloud Config
4 years ago
Olga Maciaszek-Sharma
0f0a4963d9
Merge remote-tracking branch 'origin/2.2.x'
...
# Conflicts:
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/RetryLoadBalancerInterceptor.java
4 years ago
Olga Maciaszek-Sharma
8748ef400f
Add more logs.
4 years ago
Olga Maciaszek-Sharma
25c17082ee
Avoid retrying on same instance ( #834 )
...
* cherry-pick switching to properties
* Pass information on previous ServiceInstance to RequestContext.
# Conflicts:
# spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/blocking/retry/BlockingLoadBalancedRetryPolicy.java
* Add a RoundRobinLoadBalancer implementation that avoids same service instance while retrying.
* Wrap instances in ArrayList. Add tests.
* Enable AvoidPreviousInstanceRoundRobinLoadBalancer by default if SpringRetry on classpath.
* Fix failing tests. Add javadocs and author tags.
* Fix properties.
* Add documentation.
* Fix docs after review.
* Fix docs after review.
* Handle avoiding previous instance with ServiceInstanceListSupplier in place of LoadBalancer.
* Fix property name.
* Change spelling.
4 years ago
Olga Maciaszek-Sharma
cbe4bb1139
Merge remote-tracking branch 'origin/2.2.x'
4 years ago
Mushtaq Ahmed
d95a4d8c44
Updating Evictor Project link
4 years ago
Jay Bryant
4900893c14
Wording changes ( #784 )
...
Replacing some terms
4 years ago
Olga Maciaszek-Sharma
1badef953f
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/InterceptorRetryPolicy.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerAutoConfiguration.java
# spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/RetryLoadBalancerInterceptor.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/AbstractLoadBalancerAutoConfigurationTests.java
# spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/InterceptorRetryPolicyTest.java
# spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/config/BlockingLoadBalancerClientAutoConfiguration.java
# spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/config/BlockingLoadBalancerClientAutoConfigurationTests.java
4 years ago
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.
4 years ago
Olga Maciaszek-Sharma
00668991a4
Reformat.
4 years ago
Olga Maciaszek-Sharma
034768bc8f
Adjust to updates in boot.
4 years ago
spencergibb
f9bc96747d
Merge branch '2.2.x'
4 years ago
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.
4 years ago
Spencer Gibb
5f92501a0d
Performance improvements to NamedContextFactory. ( #826 )
...
Fixes gh-825
4 years ago
buildmaster
462c85de57
Bumping versions
4 years ago
Dave Syer
1f7f8c2f59
Make HATEOAS properly optional
4 years ago
buildmaster
ec264fb23e
Bumping versions to 2.2.6.BUILD-SNAPSHOT after release
4 years ago
buildmaster
0cdd6e5aa7
Going back to snapshots
4 years ago
buildmaster
dc3a4674c4
Update SNAPSHOT to 2.2.5.RELEASE
4 years ago
buildmaster
b146be486f
Bumping versions
4 years ago
spencergibb
c5a824c7fb
Merge branch '2.2.x'
4 years ago
spencergibb
eb571682b7
Removes dependency management for okhttp3 and httpclient
...
These are managed by boot.
Fixes gh-813
4 years ago
Ryan Baxter
57a0c43e11
Merge remote-tracking branch 'origin/2.2.x'
4 years ago
jialindai
fb8b1d8da0
add common classes for TLS properties ( #803 )
...
* add common classes for TLS test
* Revert "add common classes for TLS test"
This reverts commit 7f5d076ad3
.
* add common tls properties
* add unit tests for tls properties
4 years ago
Marcin Grzejszczak
6ea0b4738b
Setting reactor bom to 2020.0.0-SNAPSHOT due to reactor bom overriding in HATEOAS
4 years ago
spencergibb
b6c852c506
Updates to use new BootstrapRegistry for ConfigData
4 years ago
Olga Maciaszek-Sharma
7beca68a39
Merge remote-tracking branch 'origin/2.2.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-webflux-integration-tests/pom.xml
# spring-cloud-context/pom.xml
# spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/EnvironmentDecryptApplicationInitializerTests.java
# spring-cloud-loadbalancer/pom.xml
# spring-cloud-starter-loadbalancer/pom.xml
# spring-cloud-starter/pom.xml
# spring-cloud-test-support/pom.xml
4 years ago
Olga Maciaszek-Sharma
018aae3632
Subscribe on flux earlier. Fixes gh-802.
4 years ago
spencergibb
46eec89c0c
Updates to use repo.spring.io/snapshot
4 years ago
spencergibb
474295989b
Formatting
4 years ago
spencergibb
8f8f7d4920
Adds spring-cloud-starter-bootstrap.
...
This allows users to opt-in to bootstrap via classpath rather than properties.
4 years ago