Class ApiHealthCheck

java.lang.Object
io.jans.configapi.rest.health.ApiHealthCheck

@Path("/health") @Consumes("application/json") @Produces("application/json") public class ApiHealthCheck extends Object
  • Constructor Details

    • ApiHealthCheck

      public ApiHealthCheck()
  • Method Details

    • getHealthResponse

      @GET public jakarta.ws.rs.core.Response getHealthResponse()
    • getLivenessResponse

      @GET @Path("/live") public jakarta.ws.rs.core.Response getLivenessResponse()
    • getReadinessResponse

      @GET @Path("/ready") public jakarta.ws.rs.core.Response getReadinessResponse()
    • getServerStat

      @GET @Path("/server-stat") public jakarta.ws.rs.core.Response getServerStat()
    • getApplicationVersion

      @GET @Path("/app-version") public jakarta.ws.rs.core.Response getApplicationVersion(@DefaultValue("all") @QueryParam("artifact") String artifact)
    • getServiceStatus

      @GET @Path("/service-status") public jakarta.ws.rs.core.Response getServiceStatus(@DefaultValue("all") @QueryParam("service") String service)