public class InstallationService extends java.lang.Object implements IInstallation
| Constructor and Description | 
|---|
InstallationService(BmContext context)  | 
| Modifier and Type | Method and Description | 
|---|---|
TaskRef | 
clone(CloneConfiguration conf)  | 
void | 
deleteLogo()  | 
void | 
demoteLeader()
The instance will stop handling write requests then will write a BYE message
 into kafka to relinquish control to the clone. 
 | 
java.lang.String | 
getHostReport()  | 
PublicInfos | 
getInfos()  | 
CustomLogo | 
getLogo()  | 
java.util.List<java.lang.String> | 
getSubscriptionContacts()  | 
SubscriptionInformations | 
getSubscriptionInformations()  | 
SubscriptionInformations.Kind | 
getSubscriptionKind()  | 
SystemState | 
getSystemState()  | 
InstallationVersion | 
getVersion()  | 
TaskRef | 
initialize()  | 
java.lang.Boolean | 
isValidProductionSubscription()  | 
void | 
maintenanceMode()  | 
void | 
markSchemaAsUpgraded()  | 
void | 
ping(java.lang.String ip)  | 
TaskRef | 
postinst()
Run post-installation upgraders 
 | 
void | 
promoteLeader()  | 
void | 
removeSubscription()  | 
void | 
resetIndex(java.lang.String index)  | 
void | 
resetIndexes()  | 
void | 
runningMode()  | 
java.lang.String | 
sendHostReport()  | 
void | 
setLogo(byte[] logo)  | 
void | 
setSubscriptionContacts(java.util.List<java.lang.String> emails)  | 
void | 
updateSubscription(java.lang.String licence)  | 
void | 
updateSubscriptionVersion(java.lang.String version)
Update subscription URL to given version on all servers 
 | 
void | 
updateSubscriptionWithArchive(Stream archive)  | 
TaskRef | 
upgrade()  | 
UpgradeStatus | 
upgradeStatus()  | 
public InstallationService(BmContext context)
public TaskRef upgrade() throws ServerFault
upgrade in interface IInstallationServerFaultpublic TaskRef postinst()
IInstallationpostinst in interface IInstallationpublic void demoteLeader()
                  throws ServerFault
IInstallationdemoteLeader in interface IInstallationServerFaultpublic void promoteLeader()
                   throws ServerFault
promoteLeader in interface IInstallationServerFaultpublic TaskRef clone(CloneConfiguration conf)
clone in interface IInstallationpublic TaskRef initialize() throws ServerFault
initialize in interface IInstallationServerFaultpublic InstallationVersion getVersion() throws ServerFault
getVersion in interface IInstallationServerFaultpublic void markSchemaAsUpgraded()
                          throws ServerFault
markSchemaAsUpgraded in interface IInstallationServerFaultpublic SubscriptionInformations getSubscriptionInformations() throws ServerFault
getSubscriptionInformations in interface IInstallationServerFaultpublic SubscriptionInformations.Kind getSubscriptionKind() throws ServerFault
getSubscriptionKind in interface IInstallationServerFaultpublic java.lang.Boolean isValidProductionSubscription()
                                                throws ServerFault
isValidProductionSubscription in interface IInstallationServerFaultpublic void updateSubscription(java.lang.String licence)
                        throws ServerFault
updateSubscription in interface IInstallationServerFaultpublic void updateSubscriptionWithArchive(Stream archive) throws ServerFault
updateSubscriptionWithArchive in interface IInstallationServerFaultpublic void updateSubscriptionVersion(java.lang.String version)
IInstallationupdateSubscriptionVersion in interface IInstallationversion - target version. Special versions:
                public void removeSubscription()
                        throws ServerFault
removeSubscription in interface IInstallationServerFaultpublic void resetIndexes()
resetIndexes in interface IInstallationpublic void resetIndex(java.lang.String index)
resetIndex in interface IInstallationpublic void setLogo(byte[] logo)
             throws ServerFault
setLogo in interface ICustomThemeServerFaultpublic void deleteLogo()
                throws ServerFault
deleteLogo in interface ICustomThemeServerFaultpublic CustomLogo getLogo() throws ServerFault
getLogo in interface ICustomThemeServerFaultpublic SystemState getSystemState() throws ServerFault
getSystemState in interface IInstallationServerFaultpublic void maintenanceMode()
                     throws ServerFault
maintenanceMode in interface IInstallationServerFaultpublic void runningMode()
                 throws ServerFault
runningMode in interface IInstallationServerFaultpublic UpgradeStatus upgradeStatus() throws ServerFault
upgradeStatus in interface IInstallationServerFaultpublic PublicInfos getInfos()
getInfos in interface IInstallationpublic void ping(java.lang.String ip)
          throws ServerFault
ping in interface IInstallationServerFaultpublic java.util.List<java.lang.String> getSubscriptionContacts()
                                                         throws ServerFault
getSubscriptionContacts in interface IInstallationServerFaultpublic void setSubscriptionContacts(java.util.List<java.lang.String> emails)
                             throws ServerFault
setSubscriptionContacts in interface IInstallationServerFaultpublic java.lang.String getHostReport()
getHostReport in interface IInstallationpublic java.lang.String sendHostReport()
sendHostReport in interface IInstallationCopyright © 2023. All Rights Reserved.