Commit Graph

972 Commits

Author SHA1 Message Date
Olga Maciaszek-Sharma
19bab039a9 Gh 586 loadbalancer starter (#599)
* Add loadbalancer starter. Add property to set BlockingLoadBalancerClient
as default non-reactive loadbalancer. Start working on auto-enabling caching.

* Automatically enable caching. Fixes gh-585.

* Add tests.

* Add reference docs.

* Change property name.
2019-09-09 17:49:46 +02:00
Ryan Baxter
8368c10865 Merge remote-tracking branch 'origin/2.1.x' 2019-09-04 12:06:06 -04:00
Ryan Baxter
1c762065e1 Use WebServerInitializedEvent to get port for SimpleDiscoveryProperties (#598)
* Use WebServerInitializedEvent to get port for SimpleDiscoveryProperties.  Fixes #255
2019-09-04 11:56:54 -04:00
Olga Maciaszek-Sharma
38af35ac37 Fix gh 591 backport lb changes (#597)
* Gh 576 use reactive load balancer (#584)

* Add `ReactorLoadBalancerClient` interface and its default implementation.

* Add initial `ReactorLoadBalancerExchangeFilterFunction` implementation.
Add `ReactorLoadBalancerClientAutoConfiguration`.
Refactor `ReactorLoadBalancerClient` interface and default implementation.

* Implement configuration changes to make default `ReactorLoadBalancer` and
`ReactorLoadBalancerClient` work out of the box with `@LoadBalanced
WebClient.Builder`.

* Add more tests for ReactorLoadBalancerExchangeFilterFunction and
DefaultReactorLoadBalancer.

* Fix configuration. Add tests. Add documentation.

* Add information on caching to the documentation.

* Add fixes after code review.

* Small refactoring after code review.

* Switch from handle(response, sink) to map(response).

* Remove redundant cast.

* Add link to caching in Springboot reference to the docs.

* Add more information on working with spring-cloud-loadbalancer vs. spring-cloud-starter-netflix-ribbon to the docs.

* Fix after code review.

(cherry picked from commit 3f17c0d902)

* Fix gh 491 gh 553 non reactive loadbalancer client (#590)

* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.

(cherry picked from commit c60df0f18e)

* Backport LoadBalancer changes. Fixes gh-591.

Fix gh 491 gh 553 non reactive loadbalancer client (#590)

* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.

(cherry picked from commit c60df0f18e)

* Update @since in javadocs after backporting changes to 2.1.x.
2019-09-02 20:38:47 +02:00
Ryan Baxter
f68bcc1d63 Fixing broken spring-retry link 2019-08-28 19:58:08 -04:00
Ryan Baxter
5622797489 Adding links to other implementations 2019-08-28 19:39:32 -04:00
Ryan Baxter
5e155309b8 Fixing relative link 2019-08-28 19:03:21 -04:00
Ryan Baxter
06f6993fc2 Fixing link 2019-08-28 17:22:04 -04:00
Ryan Baxter
f1b09477d1 Adding links to circuit breaker docs for hystrix 2019-08-28 17:09:36 -04:00
Ryan Baxter
d07fe7b3f5 Moving common spring-cloud-circuitbreaker code to commons 2019-08-27 14:51:04 -04:00
Ryan Baxter
3acbb88756 Merge remote-tracking branch 'origin/2.1.x' 2019-08-22 12:14:50 -04:00
Ryan Baxter
656feb2758 Merge branch '2.1.x' of github.com:spring-cloud/spring-cloud-commons into 2.1.x 2019-08-22 12:11:58 -04:00
Ryan Baxter
3592b2fab5 Merge branch 'rhanton-master' into 2.1.x 2019-08-22 11:43:44 -04:00
Ryan Baxter
e52736cef1 Merge branch 'master' of https://github.com/rhanton/spring-cloud-commons into rhanton-master 2019-08-22 11:42:56 -04:00
Dave Syer
036388e2ef Switch out deprecated enum value in Spring core 2019-08-20 08:04:18 +01:00
buildmaster
41622a6a28 Going back to snapshots 2019-08-14 14:34:03 +00:00
buildmaster
66ac698e1a Update SNAPSHOT to 2.2.0.M2 2019-08-14 14:32:49 +00:00
Olga Maciaszek-Sharma
c60df0f18e Fix gh 491 gh 553 non reactive loadbalancer client (#590)
* Provide non-reactive LB client implemenation to use with RestTemplate.
Fixes gh-491.
Fixes gh-553.

* Add javadoc.
2019-08-12 12:21:38 +02:00
Olga Maciaszek-Sharma
3f17c0d902 Gh 576 use reactive load balancer (#584)
* Add `ReactorLoadBalancerClient` interface and its default implementation.

* Add initial `ReactorLoadBalancerExchangeFilterFunction` implementation.
Add `ReactorLoadBalancerClientAutoConfiguration`.
Refactor `ReactorLoadBalancerClient` interface and default implementation.

* Implement configuration changes to make default `ReactorLoadBalancer` and
`ReactorLoadBalancerClient` work out of the box with `@LoadBalanced
WebClient.Builder`.

* Add more tests for ReactorLoadBalancerExchangeFilterFunction and
DefaultReactorLoadBalancer.

* Fix configuration. Add tests. Add documentation.

* Add information on caching to the documentation.

* Add fixes after code review.

* Small refactoring after code review.

* Switch from handle(response, sink) to map(response).

* Remove redundant cast.

* Add link to caching in Springboot reference to the docs.

* Add more information on working with spring-cloud-loadbalancer vs. spring-cloud-starter-netflix-ribbon to the docs.

* Fix after code review.
2019-08-12 11:40:26 +02:00
Spencer Gibb
2e714b6757 Adds OriginTrackedCompositePropertySource for bootstrap (#583)
This allows the boot origin tracking mechanism to work if bootstrap loaded propertysources themselves are also origin tracked.

See https://github.com/spring-cloud/spring-cloud-config/issues/866
2019-08-02 13:35:05 -04:00
Marcin Grzejszczak
4a7ef9bb38 Added symbolic link of index.adoc 2019-07-29 14:28:26 +02:00
Marcin Grzejszczak
36355c025d Added symbolic link of index.adoc 2019-07-29 14:28:21 +02:00
Tim Ysewyn
f608dd74a7 Merge branch '2.1.x' 2019-07-26 16:26:49 +02:00
Tim Ysewyn
86650dc215 Updated license header 2019-07-26 15:08:53 +01:00
Tim Ysewyn
c19575b978 Added optimizations to EnvironmentDecryptApplicationInitializer 2019-07-26 15:08:53 +01:00
buildmaster
420524e07a Bumping versions 2019-07-23 10:46:53 +00:00
Olga Maciaszek-Sharma
883eb59d3e Merge branch '2.1.x' 2019-07-16 18:30:54 +02:00
Tim Ysewyn
28b9727250 Changed order of decrypting values. (#581)
Reversed order of sources in CompositePropertySource to adhere to the order of sources returned by the Spring Cloud Config server.
2019-07-16 18:28:26 +02:00
Ryan Baxter
8b57f1995b Changing default properties name to work around changes in boot, see Spring Boot #17141 2019-07-08 12:19:19 -04:00
buildmaster
2ec67abda1 Going back to snapshots 2019-07-01 14:59:20 +00:00
buildmaster
c622bcc00e Update SNAPSHOT to 2.2.0.M1 2019-07-01 14:58:18 +00:00
Olga Maciaszek-Sharma
851a41cd89 Merge branch '2.1.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/pom.xml
#	spring-cloud-loadbalancer/pom.xml
#	spring-cloud-starter/pom.xml
#	spring-cloud-test-support/pom.xml
2019-07-01 14:13:17 +02:00
Olga Maciaszek-Sharma
3eeee62272 Apply Spring Boot's solution of coercing false LogLevel to OFF. (#575)
Fixes gh-556.
2019-07-01 14:01:39 +02:00
Spencer Gibb
23ac3caabe Updates version to 2.1.3 bumps build to 2.1.7 2019-06-21 11:44:03 -04:00
buildmaster
ad4e8d6a29 Bumping versions to 2.1.4.BUILD-SNAPSHOT after release 2019-06-20 16:26:17 +00:00
buildmaster
3d3673ade7 Going back to snapshots 2019-06-20 16:26:17 +00:00
buildmaster
24514b085c Update SNAPSHOT to 2.1.2.RELEASE 2019-06-20 16:23:22 +00:00
Ryan Baxter
df4d191856 Revert "Remove remove Ignore now that boot #17011 is fixed"
This reverts commit 584b72587f.
2019-06-13 11:10:12 -04:00
Ryan Baxter
584b72587f Remove remove Ignore now that boot #17011 is fixed 2019-06-13 11:04:28 -04:00
buildmaster
c9d42117be Bumping versions to 2.1.3.BUILD-SNAPSHOT after release 2019-06-11 18:38:29 +00:00
buildmaster
a21ed507cb Going back to snapshots 2019-06-11 18:38:29 +00:00
buildmaster
8b5ea85b44 Update SNAPSHOT to 2.1.2.RELEASE 2019-06-11 18:37:07 +00:00
Ryan Baxter
316040ee94 Formatting changes 2019-05-23 19:59:36 -04:00
Spencer Gibb
eff06c8c57 Ported change to Migrate to MergedAnnotations API
See b879972d0d (diff-d013390d98c38b0a24a04c53f1f875ce)
2019-05-21 13:46:12 -04:00
Ryan Baxter
8a3c6a5725 Merge remote-tracking branch 'origin/2.1.x' 2019-05-21 10:49:33 -04:00
Ryan Baxter
5c20cc0a80 Merge remote-tracking branch 'origin/2.0.x' into 2.1.x 2019-05-21 10:48:49 -04:00
Ryan Baxter
f2c69f351d Updating README 2019-05-21 10:33:28 -04:00
Ryan Baxter
9f3ec9ec74 Add note about spring.application.name needing to be set in bootstrap.yml. Fixes #416 2019-05-21 10:33:09 -04:00
Olga Maciaszek-Sharma
35876c0d05 Merge branch '2.1.x' 2019-05-13 14:04:05 +02:00
Olga Maciaszek-Sharma
4715da896c Fix stale link. 2019-05-13 14:02:47 +02:00