Skip to content

Evaluate Spring Modulith actuators  #953

Closed
@odrotbohm

Description

@odrotbohm

Spring Modulith exposes actuators that describe the logical application modules defined in a Spring Boot application. Those modules declare a base package within which all its components reside.

It would be nice if the actuator integration in STS made use of that information to augment the views it provides in supported IDEs to group the listed information by application module. Here are some ideas:

  • The beans view in STS could group the bean nodes by module (fully-qualified bean class name starts with the application module's base package)
  • The same for request mappings for controllers found
  • The "General" tab (Eclipse) could list the modules detected, and a click could jump to its base package

The JSON structure exposed by the actuator is described in the corresponding section of the reference documentation. An example application is available in Spring Modulith's repository. It's spring-modulith-example that can be imported in any IDE, started with ./mvnw spring-boot:run and exposes two modules order and inventory at http://localhost:8080/actuator/applicationmodules.

Please let me know if there's anything else you'd like to know, or I could help with.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions