Interface IInstallation

All Superinterfaces:
ICustomTheme

@Path("/system/installation") public interface IInstallation extends ICustomTheme
  • Method Details Link icon

    • getSubscriptionInformations Link icon

      @GET @Path("subscription") SubscriptionInformations getSubscriptionInformations() throws ServerFault
      Throws:
      ServerFault
    • getSubscriptionKind Link icon

      @GET @Path("subscriptionKind") SubscriptionInformations.Kind getSubscriptionKind() throws ServerFault
      Throws:
      ServerFault
    • isValidProductionSubscription Link icon

      @GET @Path("subscriptionProductiveValid") Boolean isValidProductionSubscription() throws ServerFault
      Throws:
      ServerFault
    • updateSubscription Link icon

      @POST @Path("subscription") void updateSubscription(String licence) throws ServerFault
      Throws:
      ServerFault
    • updateSubscriptionWithArchive Link icon

      @POST @Path("subscription/_archive") @Consumes("application/zip") void updateSubscriptionWithArchive(Stream archive) throws ServerFault
      Throws:
      ServerFault
    • updateSubscriptionVersion Link icon

      @POST @Path("subscription/_version") void updateSubscriptionVersion(@QueryParam("version") String version)
      Update subscription URL to given version on all servers
      Parameters:
      version - target version. Special versions:
      • latest targets the latest published version of installed BlueMind major version
      • current targets the current installed version of BlueMind
      Throws:
      ServerFault - standard error object (unchecked exception)
    • removeSubscription Link icon

      @DELETE @Path("subscription") void removeSubscription() throws ServerFault
      Throws:
      ServerFault
    • getSystemState Link icon

      @GET @Path("state") SystemState getSystemState() throws ServerFault
      Throws:
      ServerFault
    • maintenanceMode Link icon

      @PUT @Path("state/_maintenance") void maintenanceMode() throws ServerFault
      Throws:
      ServerFault
    • runningMode Link icon

      @DELETE @Path("state/_maintenance") void runningMode() throws ServerFault
      Throws:
      ServerFault
    • getVersion Link icon

      @GET @Path("version") InstallationVersion getVersion() throws ServerFault
      Throws:
      ServerFault
    • markSchemaAsUpgraded Link icon

      @POST @Path("version") void markSchemaAsUpgraded() throws ServerFault
      Throws:
      ServerFault
    • initialize Link icon

      @POST @Path("_initialize") TaskRef initialize() throws ServerFault
      Throws:
      ServerFault
    • upgrade Link icon

      @POST @Path("_upgrade") TaskRef upgrade() throws ServerFault
      Throws:
      ServerFault
    • postinst Link icon

      @POST @Path("_postinst") TaskRef postinst() throws ServerFault
      Run post-installation upgraders
      Returns:
      Throws:
      ServerFault
    • upgradeStatus Link icon

      @GET @Path("_upgrade") UpgradeStatus upgradeStatus() throws ServerFault
      Throws:
      ServerFault
    • resetIndexes Link icon

      @POST @Path("_resetIndexes") TaskRef resetIndexes()
    • resetIndex Link icon

      @POST @Path("{index}/_resetIndex") TaskRef resetIndex(@PathParam("index") String index)
    • getInfos Link icon

      @GET @Path("_infos") PublicInfos getInfos()
    • ping Link icon

      @POST @Path("{ip}/ping") void ping(@PathParam("ip") String ip) throws ServerFault
      Throws:
      ServerFault
    • getSubscriptionContacts Link icon

      @GET @Path("_subscriptionContacts") List<String> getSubscriptionContacts() throws ServerFault
      Throws:
      ServerFault
    • setSubscriptionContacts Link icon

      @POST @Path("_subscriptionContacts") void setSubscriptionContacts(List<String> emails) throws ServerFault
      Throws:
      ServerFault
    • getHostReport Link icon

      @GET @Path("_hostReport") String getHostReport()
    • sendHostReport Link icon

      @POST @Path("_hostReport") String sendHostReport()
    • clone Link icon

      @POST @Path("_clone") TaskRef clone(CloneConfiguration sourceParams)
    • demoteLeader Link icon

      @PUT @Path("state/_demote") void demoteLeader() throws ServerFault
      The instance will stop handling write requests then will write a BYE message into kafka to relinquish control to the clone.
      Throws:
      ServerFault
    • promoteLeader Link icon

      @PUT @Path("state/_promote") void promoteLeader() throws ServerFault
      Throws:
      ServerFault