From cb93e9b65887d48498e24a0225c0a05cb5d13b1d Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 5 Jun 2018 07:31:06 -0400 Subject: [PATCH] Clarifying /restart /pause and /resume functionality in docs. Fixes #275. --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 54546351..d57d2a9a 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -306,6 +306,9 @@ For a Spring Boot Actuator application there are some additional management endp * `/restart` for closing the `ApplicationContext` and restarting it (disabled by default) * `/pause` and `/resume` for calling the `Lifecycle` methods (`stop()` and `start()` on the `ApplicationContext`) +NOTE: If you disable the `/restart` endpoint then the `/pause` and `/resume` endpoints +will also be disabled since they are just a special case of `/restart`. + == Spring Cloud Commons: Common Abstractions 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).