spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

Allow ConsulHealthIndicator to bypass the services query #653

Closed onobc closed 3 years ago

onobc commented 4 years ago

NOTE: This is the 2.2.x target of https://github.com/spring-cloud/spring-cloud-consul/pull/651 (which can probably be closed at this point).

Allows consumers to decide whether or not to include the services query as part of the healthcheck w/ a default of true - to maintain current functionality.

Fixes gh-646.

Enhanced the tests in this area as well:

Enhanced the docs

spencergibb commented 3 years ago

Squashed and merged via 6d6d6fccac046eca96ed97c12ec20749b31ea7e7