Gh 595 add serviceinstancelistsupplier (#607)

* Add ServiceInstanceListSupplier and its implementations.
Deprecate ServiceInstanceSupplier and its implementations.
Fixes gh-595.

* Switch to non-parameterised type.

* Switch autoConfiguration and tests to new implementation.

* Update docs and javadocs. Remove deprecated TODOs.

* Fix after code review.
This commit is contained in:
Olga Maciaszek-Sharma
2019-09-18 17:56:52 +02:00
committed by GitHub
parent 1f6a4b1b37
commit da0ce3c4c8
16 changed files with 442 additions and 26 deletions

View File

@@ -418,7 +418,7 @@ will be handled by a non-reactive `LoadBalancerClient` under the hood. Additiona
spring-cloud-starter-netflix-ribbon is already in maintenance mode, so we do not recommend
adding it to new projects.
IMPORTANT: In order to make use of the more efficient cached version of `ServiceInstanceSupplier`,
IMPORTANT: In order to make use of the more efficient cached version of `ServiceInstanceListSupplier`,
`spring-cloud-starter-loadbalancer` will *enable caching* by default.
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-caching.html[Spring Boot Caching]
mechanism will be used under the hood. If you don't want caching to be used, you can set