Interface AdminClient

All Superinterfaces:
AutoCloseable, BasicClient, MockOrRestClient, VitamAutoCloseable
All Known Implementing Classes:
DefaultAdminClient

public interface AdminClient extends BasicClient
Admin basic client interface
  • Method Details

    • adminStatus

      Get the administration status from the service
      Returns:
      the AdminStatusMessage
      Throws:
      VitamClientException - if the Server is unreachable
    • getAdminUrl

      String getAdminUrl()
      Returns:
      the adminUrl
    • adminAutotest

      VitamError adminAutotest() throws VitamClientException
      Check the dependencies and return a VitamError status where getHttpCode contains either 200 for OK or 503 for error and a sub list of VitamErrors for each tested subservices
      Returns:
      the VitamError status, both in case of OK or ServiceUnavailable
      Throws:
      VitamClientException