Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jakarta HealthCheckServlet object mapper and status indicator #3924

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. HealthCheckServlet object mapper and status indicator (Jakarta EE)

    - Allow overriding the `ObjectMapper` instance used in `HealthCheckServlet` with the servlet attribute `io.dropwizard.metrics.servlets.HealthCheckServlet.mapper`
    - Allow setting the HTTP status code used to indicate health to 200 (OK) with the servlet attribute `io.dropwizard.metrics.servlets.HealthCheckServlet.httpStatusIndicator`, or with the HTTP query parameter `httpStatusIndicator` per request
    
    Refs #1821
    Refs #1871
    joschi committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    38e41a2 View commit details
    Browse the repository at this point in the history