@Path(value="/system/installation") public interface IInstallation extends ICustomTheme
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostReport() |
PublicInfos |
getInfos() |
java.util.List<java.lang.String> |
getSubscriptionContacts() |
SubscriptionInformations |
getSubscriptionInformations() |
SubscriptionInformations.Kind |
getSubscriptionKind() |
SystemState |
getSystemState() |
InstallationVersion |
getVersion() |
TaskRef |
initialize() |
void |
maintenanceMode() |
void |
markSchemaAsUpgraded() |
TaskRef |
partialUpgrade(java.lang.String fromVersion,
java.lang.String toVersion) |
void |
ping(java.lang.String ip) |
TaskRef |
postinst()
Run post-installation upgraders
|
void |
removeSubscription() |
void |
resetIndex(java.lang.String index) |
void |
resetIndexes() |
void |
runningMode() |
java.lang.String |
sendHostReport() |
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() |
deleteLogo, getLogo, setLogo
@GET @Path(value="subscription") SubscriptionInformations getSubscriptionInformations() throws ServerFault
ServerFault
@GET @Path(value="subscriptionKind") SubscriptionInformations.Kind getSubscriptionKind() throws ServerFault
ServerFault
@POST @Path(value="subscription") void updateSubscription(java.lang.String licence) throws ServerFault
ServerFault
@POST @Path(value="subscription/_archive") @Consumes(value="application/zip") void updateSubscriptionWithArchive(Stream archive) throws ServerFault
ServerFault
@POST @Path(value="subscription/_version") void updateSubscriptionVersion(@QueryParam(value="version") java.lang.String version)
version
- target version. Special versions:
ServerFault
- standard error object (unchecked exception)@DELETE @Path(value="subscription") void removeSubscription() throws ServerFault
ServerFault
@GET @Path(value="state") SystemState getSystemState() throws ServerFault
ServerFault
@PUT @Path(value="state/_maintenance") void maintenanceMode() throws ServerFault
ServerFault
@DELETE @Path(value="state/_maintenance") void runningMode() throws ServerFault
ServerFault
@GET @Path(value="version") InstallationVersion getVersion() throws ServerFault
ServerFault
@POST @Path(value="version") void markSchemaAsUpgraded() throws ServerFault
ServerFault
@POST @Path(value="_initialize") TaskRef initialize() throws ServerFault
ServerFault
@POST @Path(value="_upgrade") TaskRef upgrade() throws ServerFault
ServerFault
@POST @Path(value="_postinst") TaskRef postinst() throws ServerFault
ServerFault
@GET @Path(value="_upgrade") UpgradeStatus upgradeStatus() throws ServerFault
ServerFault
@POST @Path(value="_partialUpgrade") TaskRef partialUpgrade(@QueryParam(value="from") java.lang.String fromVersion, @QueryParam(value="to") java.lang.String toVersion) throws ServerFault
ServerFault
@POST @Path(value="_resetIndexes") void resetIndexes()
@POST @Path(value="{index}/_resetIndex") void resetIndex(@PathParam(value="index") java.lang.String index)
@GET @Path(value="_infos") PublicInfos getInfos()
@POST @Path(value="{ip}/ping") void ping(@PathParam(value="ip") java.lang.String ip) throws ServerFault
ServerFault
@GET @Path(value="_subscriptionContacts") java.util.List<java.lang.String> getSubscriptionContacts() throws ServerFault
ServerFault
@POST @Path(value="_subscriptionContacts") void setSubscriptionContacts(java.util.List<java.lang.String> emails) throws ServerFault
ServerFault
@GET @Path(value="_hostReport") java.lang.String getHostReport()
@POST @Path(value="_hostReport") java.lang.String sendHostReport()
Copyright © 2021. All Rights Reserved.