diff --git a/spring-modulith-actuator/src/main/java/org/springframework/modulith/actuator/ApplicationModulesEndpoint.java b/spring-modulith-actuator/src/main/java/org/springframework/modulith/actuator/ApplicationModulesEndpoint.java index 053e178c..4f3bdd3b 100644 --- a/spring-modulith-actuator/src/main/java/org/springframework/modulith/actuator/ApplicationModulesEndpoint.java +++ b/spring-modulith-actuator/src/main/java/org/springframework/modulith/actuator/ApplicationModulesEndpoint.java @@ -32,7 +32,7 @@ * * @author Oliver Drotbohm */ -@Endpoint(id = "application-modules") +@Endpoint(id = "modulith") public class ApplicationModulesEndpoint { private static final Logger LOGGER = LoggerFactory.getLogger(ApplicationModulesEndpoint.class); diff --git a/src/docs/asciidoc/80-observability.adoc b/src/docs/asciidoc/80-observability.adoc index 0ee50974..e3a5fbda 100644 --- a/src/docs/asciidoc/80-observability.adoc +++ b/src/docs/asciidoc/80-observability.adoc @@ -44,7 +44,7 @@ To enable the actuator, add the `spring-modulith-actuator` dependency to the pro ---- -Running the application will now expose an `applicationmodules` actuator resource: +Running the application will now expose an `modulith` actuator resource: .Accessing the actuator HTTP resource [source, json] @@ -65,16 +65,16 @@ GET http://localhost:8080/actuator "href": "http://localhost:8080/actuator/health", "templated": false }, - "applicationmodules": { <1> - "href": "http://localhost:8080/actuator/applicationmodules", + "modulith": { <1> + "href": "http://localhost:8080/actuator/modulith", "templated": false } } } ---- -<1> The `applicationmodules` actuator resource advertised. +<1> The `modulith` actuator resource advertised. -The `applicationmodules` resource adheres to the following structure: +The `modulith` resource adheres to the following structure: .The JSON structure of the application modules actuator [%autowidth.stretch]