Skip to content

Discovery view for management endpoints #5006

Open
@drmaciej

Description

Endpoints are described here https://docs.micronaut.io/2.3.3/guide/index.html#providedEndpoints. Boot has such a view at /actuator, enabled via EndpointLinksResolver and WebMvcEndpointHandlerMapping. A similar view would be very useful in Micronaut.
In the meantime - until this does or does not become available - is there a way to discover all enabled @Endpoint-annotated classes, so I could build such a view myself?

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Run any sample application with endpoints.all.enabled set to true.

Expected Behaviour

A management discovery endpoint, say /management, listing all available endpoints, together with their links, is available.

Actual Behaviour

This is not available.

Environment Information

  • Operating System: TODO
  • Micronaut Version: TODO
  • JDK Version: TODO

Example Application

  • TODO: link to github repository with example that reproduces the issue

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions