Class ManagementEndpointImpl

java.lang.Object
org.apache.servicecomb.solution.basic.integration.ManagementEndpointImpl
All Implemented Interfaces:
ManagementEndpoint

@RestSchema(schemaId="scb-management", schemaInterface=ManagementEndpoint.class) public class ManagementEndpointImpl extends Object implements ManagementEndpoint
  • Constructor Details

    • ManagementEndpointImpl

      public ManagementEndpointImpl()
  • Method Details

    • setRegistrationManager

      @Autowired public void setRegistrationManager(org.apache.servicecomb.registry.RegistrationManager registrationManager)
    • setLocalOpenAPIRegistry

      @Autowired public void setLocalOpenAPIRegistry(org.apache.servicecomb.core.provider.LocalOpenAPIRegistry localOpenAPIRegistry)
    • health

      public boolean health(String instanceId, String registryName)
      Description copied from interface: ManagementEndpoint
      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.
      Specified by:
      health in interface ManagementEndpoint
    • schemaContents

      public Map<String,String> schemaContents()
      Description copied from interface: ManagementEndpoint
      Schemas of this instance. This api is for internal schema loading usage.
      Specified by:
      schemaContents in interface ManagementEndpoint