Package net.bluemind.system.api
Interface IInstallation
- All Superinterfaces:
ICustomTheme
-
Method Summary
Modifier and TypeMethodDescriptionclone
(CloneConfiguration sourceParams) void
The instance will stop handling write requests then will write a BYE message into kafka to relinquish control to the clone.getInfos()
void
void
void
postinst()
Run post-installation upgradersvoid
void
resetIndex
(String index) void
void
setSubscriptionContacts
(List<String> emails) void
updateSubscription
(String licence) void
updateSubscriptionVersion
(String version) Update subscription URL to given version on all serversvoid
updateSubscriptionWithArchive
(Stream archive) upgrade()
Methods inherited from interface net.bluemind.system.api.ICustomTheme
deleteLogo, getLogo, setLogo
-
Method Details
-
getSubscriptionInformations
@GET @Path("subscription") SubscriptionInformations getSubscriptionInformations() throws ServerFault- Throws:
ServerFault
-
getSubscriptionKind
@GET @Path("subscriptionKind") SubscriptionInformations.Kind getSubscriptionKind() throws ServerFault- Throws:
ServerFault
-
isValidProductionSubscription
@GET @Path("subscriptionProductiveValid") Boolean isValidProductionSubscription() throws ServerFault- Throws:
ServerFault
-
updateSubscription
- Throws:
ServerFault
-
updateSubscriptionWithArchive
@POST @Path("subscription/_archive") @Consumes("application/zip") void updateSubscriptionWithArchive(Stream archive) throws ServerFault - Throws:
ServerFault
-
updateSubscriptionVersion
@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
- Throws:
ServerFault
-
getSystemState
- Throws:
ServerFault
-
maintenanceMode
- Throws:
ServerFault
-
runningMode
- Throws:
ServerFault
-
getVersion
- Throws:
ServerFault
-
markSchemaAsUpgraded
- Throws:
ServerFault
-
initialize
- Throws:
ServerFault
-
upgrade
- Throws:
ServerFault
-
postinst
Run post-installation upgraders- Returns:
- Throws:
ServerFault
-
upgradeStatus
- Throws:
ServerFault
-
resetIndexes
-
resetIndex
-
getInfos
-
ping
- Throws:
ServerFault
-
getSubscriptionContacts
- Throws:
ServerFault
-
setSubscriptionContacts
@POST @Path("_subscriptionContacts") void setSubscriptionContacts(List<String> emails) throws ServerFault - Throws:
ServerFault
-
getHostReport
-
sendHostReport
-
clone
-
demoteLeader
The instance will stop handling write requests then will write a BYE message into kafka to relinquish control to the clone.- Throws:
ServerFault
-
promoteLeader
- Throws:
ServerFault
-