Tweak docs an mini-sample a bit

This commit is contained in:
Dave Syer
2014-09-29 09:54:06 +01:00
parent bf0e4019aa
commit 5feccca3ce
3 changed files with 4 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ Spring configuration.</p>
<div class="ulist">
<ul>
<li>
<p><code>/env/</code> for updating <code>Environment</code> and rebinding <code>@ConfigurationProperties</code></p>
<p><code>/env</code> for updating <code>Environment</code> and rebinding <code>@ConfigurationProperties</code> and log levels</p>
</li>
<li>
<p><code>/refresh</code> for refreshing the <code>@RefreshScope</code> beans</p>
@@ -226,7 +226,7 @@ baz</pre>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2014-09-26 11:35:20 BST
Last updated 2014-09-26 15:07:18 BST
</div>
</div>
</body>

View File

@@ -1,7 +1,6 @@
package demo
@Grab('org.springframework.cloud:spring-platform-config-client:1.0.0.BUILD-SNAPSHOT')
@Grab('spring-boot-starter-actuator')
@Grab('spring-cloud-starter')
@RestController
class Application {
@RequestMapping("/")

View File

@@ -16,7 +16,7 @@ Config Client features (for Spring applications):
* Encrypt and decrypt property values (symmetric or asymmetric)
* `@RefreshScope` for Spring `@Beans` that want to be re-initialized when configuration changes
* Management endpoints:
** `/env/` for updating `Environment` and rebinding `@ConfigurationProperties`
** `/env` for updating `Environment` and rebinding `@ConfigurationProperties` and log levels
** `/refresh` for refreshing the `@RefreshScope` beans
** `/restart` for restarting the Spring context (disabled by default)
** `/pause` and `/resume` for calling the `Lifecycle` methods (`stop()` and `start()` on the `ApplicationContext`)