Add a reference to Config Watch.
This commit is contained in:
Vinicius Isola
2017-10-19 11:37:52 -04:00
committed by Spencer Gibb
parent 5fd7aee3da
commit e41c6b6c8b

View File

@@ -153,7 +153,7 @@ config/application/
The most specific property source is at the top, with the least specific at the bottom. Properties in the `config/application` folder are applicable to all applications using consul for configuration. Properties in the `config/testApp` folder are only available to the instances of the service named "testApp".
Configuration is currently read on startup of the application. Sending a HTTP POST to `/refresh` will cause the configuration to be reloaded. Watching the key value store (which Consul supports) is not currently possible, but will be a future addition to this project.
Configuration is currently read on startup of the application. Sending a HTTP POST to `/refresh` will cause the configuration to be reloaded. <<spring-cloud-consul-config-watch>> will also automatically detect changes and reload the application context.
=== How to activate