Interface ManagementEndpoint

All Known Implementing Classes:
ManagementEndpointImpl

@Path("/scb/management") public interface ManagementEndpoint
Java Chassis internal management apis.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    health(String instanceId, String registryName)
    Health of this instance.
    Schemas of this instance.
  • Field Details

  • Method Details

    • health

      @GET @Path("/health") boolean health(@QueryParam("instanceId") String instanceId, @QueryParam("registryName") String registryName)
      Health of this instance. If the instanceId match this instance, and this service is ready to service return true. Otherwise, return false. This api is for internal instance status usage. Load balancer will call this api to check if the target instance is alive.
    • schemaContents

      @POST @Path("/schema/contents") Map<String,String> schemaContents()
      Schemas of this instance. This api is for internal schema loading usage.