Skip to content

Commit cec759a

Browse files
committed
GH-268 - Rename actuator endpoint to modulith.
To align with the conventions established by Spring Boot.
1 parent 0bfdb81 commit cec759a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spring-modulith-actuator/src/main/java/org/springframework/modulith/actuator/ApplicationModulesEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*
3333
* @author Oliver Drotbohm
3434
*/
35-
@Endpoint(id = "application-modules")
35+
@Endpoint(id = "modulith")
3636
public class ApplicationModulesEndpoint {
3737

3838
private static final Logger LOGGER = LoggerFactory.getLogger(ApplicationModulesEndpoint.class);

src/docs/asciidoc/80-observability.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To enable the actuator, add the `spring-modulith-actuator` dependency to the pro
4444
</dependency>
4545
----
4646

47-
Running the application will now expose an `applicationmodules` actuator resource:
47+
Running the application will now expose an `modulith` actuator resource:
4848

4949
.Accessing the actuator HTTP resource
5050
[source, json]
@@ -65,16 +65,16 @@ GET http://localhost:8080/actuator
6565
"href": "http://localhost:8080/actuator/health",
6666
"templated": false
6767
},
68-
"applicationmodules": { <1>
69-
"href": "http://localhost:8080/actuator/applicationmodules",
68+
"modulith": { <1>
69+
"href": "http://localhost:8080/actuator/modulith",
7070
"templated": false
7171
}
7272
}
7373
}
7474
----
75-
<1> The `applicationmodules` actuator resource advertised.
75+
<1> The `modulith` actuator resource advertised.
7676

77-
The `applicationmodules` resource adheres to the following structure:
77+
The `modulith` resource adheres to the following structure:
7878

7979
.The JSON structure of the application modules actuator
8080
[%autowidth.stretch]

0 commit comments

Comments
 (0)