class MatchingServiceHealthCheckResource {

    @GET
    public Response performMatchingServiceHealthCheck() {
        final AggregatedMatchingServicesHealthCheckResult result = matchingServiceHealthCheckHandler.handle();

        final Response.ResponseBuilder response = result.isHealthy() ? Response.ok() : Response.serverError();
        response.entity(result);
        return response.build();
    }

    @Inject public  MatchingServiceHealthCheckResource(MatchingServiceHealthCheckHandler matchingServiceHealthCheckHandler);

}