Management Endpoints
The application exposes various management endpoints for health checks, application info, metrics, and more. These endpoints are accessible at the base path /resolution-service on the port configured via management.server.port in application.properties(default is configured as port 8081).
To interact with the application’s management endpoints, ensure the Resolution Service is up and running. You can test the endpoints using a command-line tool like curl or a REST client like Postman.
Available Endpoints
1. Health Check Endpoint
Returns the health status of the application.
Example curl command:
curl --location 'http://localhost:8081/resolution-service/healthcheck'
2. Application Info Endpoint
Displays metadata about the application, such as its name, description, and version.
Example curl command:
curl --location 'http://localhost:8081/resolution-service/info'
3. Metrics Endpoint
Provides a list of application metrics, useful for monitoring system performance.
Example curl command:
curl --location 'http://localhost:8081/resolution-service/metrics'
4. Beans Endpoint
Displays all Spring Beans currently loaded in the application context.
Example curl command:
curl --location 'http://localhost:8081/resolution-service/beans'