Fix after code review - add license notice, reformat imports, edit docs.

This commit is contained in:
Olga Maciaszek-Sharma
2018-09-10 09:21:20 +02:00
parent ae2bba4d27
commit e115562cf8
8 changed files with 117 additions and 20 deletions

View File

@@ -255,7 +255,8 @@ To disable the description field of the `DiscoveryClientHealthIndicator`, set `s
Otherwise, it can bubble up as the `description` of the rolled up `HealthIndicator`.
==== Ordering `DiscoveryClient` instances
`DiscoveryClient` interface extends `Ordered` to let you define the order of the returned discovery clients, similar to
`DiscoveryClient` interface extends `Ordered`. This is useful when using multiple discovery
clients, as it allows you to define the order of the returned discovery clients, similar to
how you can order the beans loaded by a Spring application. By default, the order of any `DiscoveryClient` is set to
`0`. If you want to set a different order for your custom `DiscoveryClient` implementations, you just need to override
the `getOrder()` method so that it returns the value that is suitable for your setup. Apart from this, you can use