Auto-configure CassandraHealthIndicator

Add auto-configuration for the CassandraHealthIndicator. Also update
the implementation to use CassandraOperations rather than
CassandraAdminOperations.

Closes gh-4409
This commit is contained in:
Tommy Ludwig
2015-11-08 23:26:50 +09:00
committed by Phillip Webb
parent 9f17fe4454
commit d8247657a0
4 changed files with 68 additions and 13 deletions

View File

@@ -275,6 +275,9 @@ The following `HealthIndicators` are auto-configured by Spring Boot when appropr
|===
|Name |Description
|{sc-spring-boot-actuator}/health/CassandraHealthIndicator.{sc-ext}[`CassandraHealthIndicator`]
|Checks that a Cassandra database is up.
|{sc-spring-boot-actuator}/health/DiskSpaceHealthIndicator.{sc-ext}[`DiskSpaceHealthIndicator`]
|Checks for low disk space.