Class VaultHealthIndicator
java.lang.Object
org.springframework.boot.health.contributor.AbstractHealthIndicator
org.springframework.cloud.vault.config.VaultHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthIndicator
public class VaultHealthIndicator
extends org.springframework.boot.health.contributor.AbstractHealthIndicator
Simple health indicator reporting Vault's availability.
- Author:
- Stuart Ingram, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionVaultHealthIndicator(org.springframework.vault.core.VaultOperations vaultOperations) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) Methods inherited from class org.springframework.boot.health.contributor.AbstractHealthIndicator
healthMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.health.contributor.HealthIndicator
health
-
Constructor Details
-
VaultHealthIndicator
public VaultHealthIndicator(org.springframework.vault.core.VaultOperations vaultOperations)
-
-
Method Details
-
doHealthCheck
protected void doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) - Specified by:
doHealthCheckin classorg.springframework.boot.health.contributor.AbstractHealthIndicator
-