Commit Graph

2008 Commits

Author SHA1 Message Date
spencergibb
c5a824c7fb Merge branch '2.2.x' 2020-08-25 14:48:26 -04:00
spencergibb
eb571682b7 Removes dependency management for okhttp3 and httpclient
These are managed by boot.

Fixes gh-813
2020-08-25 14:47:41 -04:00
Ryan Baxter
57a0c43e11 Merge remote-tracking branch 'origin/2.2.x' 2020-08-24 14:47:11 -04:00
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 7f5d076ad3fd628611aaab70215b1c9615affa21.

* add common tls properties

* add unit tests for tls properties
2020-08-24 14:00:09 -04:00
Marcin Grzejszczak
6ea0b4738b Setting reactor bom to 2020.0.0-SNAPSHOT due to reactor bom overriding in HATEOAS 2020-08-21 18:04:22 +02:00
spencergibb
b6c852c506 Updates to use new BootstrapRegistry for ConfigData 2020-08-21 10:06:13 -04:00
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
2020-08-11 13:25:00 +02:00
Olga Maciaszek-Sharma
018aae3632 Subscribe on flux earlier. Fixes gh-802. 2020-08-11 13:05:07 +02:00
spencergibb
46eec89c0c Updates to use repo.spring.io/snapshot 2020-08-10 15:47:20 -04:00
spencergibb
474295989b Formatting 2020-08-10 15:36:51 -04:00
spencergibb
8f8f7d4920 Adds spring-cloud-starter-bootstrap.
This allows users to opt-in to bootstrap via classpath rather than properties.
2020-08-10 15:27:17 -04:00
spencergibb
da469626f4 Updates to use new ConfigDataEnvironmentPostProcessor.applyTo() method 2020-08-06 21:40:10 -04:00
spencergibb
08ca4105ab Replaces usage of ConfigFileApplicationListener with a subclass.
BootstrapConfigFileApplicationListener.java overrides the onApplicationEvent() method to not throw an exception.
2020-08-06 14:17:40 -04:00
Spencer Gibb
a183bc709f Use new boot ConfigData framework (#703)
Bootstrap is now opt-in using `spring.config.use-legacy-processing`. Otherwise, bootstrap is left as is.

If bootstrap is disabled, the `ContextRefresher` uses new `ConfigData` framework from boot.

See #608 for original motivation.
2020-08-06 12:54:25 -04:00
spencergibb
0be2794631 Fixes s-c-build version to snapshot 2020-08-03 12:54:28 -04:00
buildmaster
6b8776bd3a Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 20:03:49 +00:00
buildmaster
4cc1a68ebb Going back to snapshots 2020-07-31 20:03:49 +00:00
buildmaster
f290f97816 Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 19:59:52 +00:00
spencergibb
828912100f Disables failing test.
See gh-802
2020-07-31 15:35:14 -04:00
spencergibb
7c6c32cb87 Mock property source name 2020-07-31 15:04:39 -04:00
buildmaster
b38e31f263 Going back to snapshots 2020-07-23 17:52:56 +00:00
buildmaster
ffa885b2f5 Update SNAPSHOT to 3.0.0-M3 2020-07-23 17:51:24 +00:00
buildmaster
2209bff7d1 Bumping versions 2020-07-22 16:05:44 +00:00
Olga Maciaszek-Sharma
46bf5a01ac Lb complete lifecycle (#783)
* Add LoadBalancerLifecycle. Trigger lifecycle callbacks. Set hints from properties.

* Trigger LB lifecycle callbacks from BlockingLoadBalancerClient and RetryLoadBalancerInterceptor.

* Register LifecycleProcessors with @LoadBalancerClients

* Register LifecycleProcessors with @LoadBalancerClients configuration.

* Handle null lifecycle beans map returned from factory. Adjust tests to code changes.

* Handle null lifecycle beans map returned from factory in RetryLoadBalancerInterceptor. Ensure ReactiveLoadBalancer.Factory bean is present while instantiating RetryLoadBalancerInterceptor. Add more tests.

* Remove generics from supports(...) method signature.

* Allow setting hint per service via properties.

* Add some toString() methods. Add more info on deprecated callbacks in javadocs and comments.

* Add javadocs.

* Format javadocs. Add docs.

* Update hint docs.

* Fix docs.

* Fix docs.

* Extract filtering supported lifecycle processors to a separate class; Execute onComplete() calls for DISCARD status in RetryLoadBalancerInterceptor. Remove duplicated `onComplete` calls for FAILED and SUCCESS status in RetryLoadBalancerInterceptor. Add test for no duplicated lifecycle calls in RetryLoadBalancerInterceptorTest.

* Small refactoring: remove deprecated methods use, add final keywords, remove unnecessary keywords.

* Add javadoc.
2020-07-21 18:38:52 +02:00
Marcin Grzejszczak
c8a57be0f1 Merge branch '2.2.x' 2020-07-14 11:52:51 +02:00
Sébastien Deleuze
63ce0d965c Avoid field autowiring in SimpleDiscoveryClientAutoConfiguration (#786)
In order to fix GraalVM compatibility
2020-07-14 11:45:00 +02:00
Sébastien Deleuze
f3b647613e Avoid field autowiring in SimpleDiscoveryClientAutoConfiguration (#786)
In order to fix GraalVM compatibility
2020-07-10 12:54:53 +02:00
Olga Maciaszek-Sharma
43ea5b17fc Remove deprecated Request and Response classes. (#779) 2020-07-04 19:15:30 +02:00
Olga Maciaszek-Sharma
0528e84559 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	docs/pom.xml
#	pom.xml
2020-07-03 13:57:43 +02:00
Olga Maciaszek-Sharma
4eb9dd0f01 Move Request and Response to loadbalancer package. Fixes gh-772. (#773)
* Move Request and Response to loadbalancer package. Fixes gh-772.

* Fix checkstyle.

* Inherit and reference repackaged classes.

* Revert "Inherit and reference repackaged classes."

This reverts commit 02808c5f188d0befa69839efadfc82a9e8887f9b.

* Fix Status enums.

* Make old classes extend the new ones.
2020-07-03 13:51:59 +02:00
spencergibb
ce3b19b428 Adds junit-vintage-engine 2020-06-15 16:29:52 -04:00
buildmaster
97082dfe7f Bumping versions 2020-06-08 16:04:41 +00:00
Marcin Grzejszczak
7b8508773d Changed packaging to jar 2020-06-08 17:11:14 +02:00
Marcin Grzejszczak
cdd5086952 Uploading sources for docs 2020-06-08 16:46:14 +02:00
buildmaster
812968d283 Bumping versions 2020-06-04 16:06:18 +00:00
Marcin Grzejszczak
5e9f6c2925 Migrated to docs.spring.io & updated sc-build 2020-06-04 13:32:02 +02:00
Olga Maciaszek-Sharma
d5dc29a9bc Merge branch '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-starter-loadbalancer/pom.xml
#	spring-cloud-starter/pom.xml
#	spring-cloud-test-support/pom.xml
2020-06-01 19:32:58 +02:00
Olga Maciaszek-Sharma
76db32b181 Fix property name in docs. 2020-06-01 19:30:34 +02:00
buildmaster
af62e6e015 Going back to snapshots 2020-05-29 18:22:19 +00:00
buildmaster
d50a2ae6cd Update SNAPSHOT to 3.0.0-M2 2020-05-29 18:21:00 +00:00
buildmaster
7ff8100c19 Bumping versions to 2.2.4.BUILD-SNAPSHOT after release 2020-05-28 17:06:16 +00:00
buildmaster
7fcfceea42 Going back to snapshots 2020-05-28 17:06:16 +00:00
buildmaster
a6191e08f9 Update SNAPSHOT to 2.2.3.RELEASE 2020-05-28 17:02:22 +00:00
buildmaster
5019c7235b Bumping versions 2020-05-28 16:05:24 +00:00
Olga Maciaszek-Sharma
64597fb309 Merge remote-tracking branch 'origin/2.2.x' 2020-05-27 20:24:36 +02:00
Olga Maciaszek-Sharma
a33ca5da43 Update README. 2020-05-27 20:23:57 +02:00
Olga Maciaszek-Sharma
b430529ccc Switch initialDelay to Duration. (#768) 2020-05-27 20:18:30 +02:00
Olga Maciaszek-Sharma
cfeb38a369 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	docs/src/main/asciidoc/_configprops.adoc
2020-05-27 20:17:48 +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
b37ef447dc Desynchronise HealthCheck and Cache. 2020-05-27 17:01:11 +02:00