Skip to content

Commit cb93e9b

Browse files
author
Ryan Baxter
committed
Clarifying /restart /pause and /resume functionality in docs. Fixes spring-projects#275.
1 parent 88d3439 commit cb93e9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/src/main/asciidoc/spring-cloud-commons.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ For a Spring Boot Actuator application there are some additional management endp
306306
* `/restart` for closing the `ApplicationContext` and restarting it (disabled by default)
307307
* `/pause` and `/resume` for calling the `Lifecycle` methods (`stop()` and `start()` on the `ApplicationContext`)
308308

309+
NOTE: If you disable the `/restart` endpoint then the `/pause` and `/resume` endpoints
310+
will also be disabled since they are just a special case of `/restart`.
311+
309312
== Spring Cloud Commons: Common Abstractions
310313

311314
Patterns such as service discovery, load balancing and circuit breakers lend themselves to a common abstraction layer that can be consumed by all Spring Cloud clients, independent of the implementation (e.g. discovery via Eureka or Consul).

0 commit comments

Comments
 (0)