Skip to content

Commit

Permalink
GH-268 - Rename actuator endpoint to modulith.
Browse files Browse the repository at this point in the history
To align with the conventions established by Spring Boot.
  • Loading branch information
odrotbohm committed Aug 15, 2023
1 parent 0bfdb81 commit cec759a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 5 additions & 5 deletions src/docs/asciidoc/80-observability.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To enable the actuator, add the `spring-modulith-actuator` dependency to the pro
</dependency>
----

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]
Expand All @@ -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]
Expand Down

0 comments on commit cec759a

Please sign in to comment.