Added HealthIndicator functionality as well as health API support.

Resolves #24
This commit is contained in:
Stuart Ingram
2016-08-26 11:27:09 -04:00
parent 06e44d7c85
commit bfb4cfcf74
10 changed files with 236 additions and 2 deletions

View File

@@ -25,6 +25,20 @@ Spring Cloud Vault Config requires SSL certificates and a running
Vault instance listening on `localhost:8200`. Certificates and the Vault
setup are scripted, the scripts are located in `src/test/bash`.
The following scripts need to be run prior to building the project for the tests to pass.
$ ./src/test/bash/install_vault.sh
$ ./src/test/bash/create_certificates.sh
$ ./src/test/bash/local_run_vault.sh
Changes to the documentation should be made to the adocs found under `docs/src/main/asciidoc/`
README.adoc can be re-generated via the following
$ ./docs/src/main/ruby/generate_readme.sh > README.adoc
This script requires ruby and the asciidoctor gem installed (`gem install asciidoctor`)
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[]
== Contributing

View File

@@ -178,3 +178,9 @@ https://github.com/spring-cloud-incubator/spring-cloud-vault-config/blob/master/
https://github.com/spring-cloud-incubator/spring-cloud-vault-config/blob/master/docs/src/main/asciidoc/spring-cloud-vault-config.adoc#token-authentication[authentication]. Checkout these
chapters in the
https://github.com/spring-cloud-incubator/spring-cloud-vault-config/blob/master/docs/src/main/asciidoc/spring-cloud-vault-config.adoc[reference guide].
If the application imports the `spring-boot-starter-actuator` project, the
status of the vault server will be available via the `\health` endpoint.
The vault health indicator can be enabled or disabled through the
property `health.vault.enabled` (default `true`)