Modifier and Type | Method and Description |
---|---|
void |
ServerHook.onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
void |
ServerHook.onServerPreUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
ServerHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
void |
ServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
ServerHook.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
CyrusWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
CyrusWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
static void |
MailboxOps.annotate(Server srv,
java.lang.String mailboxUid) |
static void |
MailboxOps.create(java.lang.String domainUid,
Server srv,
java.lang.String mailboxUid) |
static java.util.List<java.lang.String> |
MailboxOps.createMailshareFolders(java.lang.String domainUid,
Server srv,
java.lang.String mailshareName) |
static java.util.List<java.lang.String> |
MailboxOps.createUserFolders(java.lang.String domainUid,
Server srv,
java.lang.String login) |
static void |
MailboxOps.rename(java.lang.String domainUid,
Server srv,
java.lang.String prevBox,
java.lang.String newBox) |
static void |
MailboxOps.xfer(java.lang.String domainUid,
User owner,
Server prev,
Server curr) |
Modifier and Type | Method and Description |
---|---|
void |
CyrusMailboxesStorage.createDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
CyrusMailboxesStorage.deleteDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
CyrusMailboxesStorage.initialize(BmContext context,
ItemValue<Server> server) |
void |
CyrusMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
void |
CyrusMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
void |
SieveWriter.write(java.lang.String domainUid,
MailFilter filter,
ItemValue<Server> server,
int count) |
Modifier and Type | Field and Description |
---|---|
protected ItemValue<Server> |
HooksTests.dataLocationServer |
Modifier and Type | Method and Description |
---|---|
void |
SmtpTagServerHook.onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
void |
SmtpTagServerHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
void |
SmtpTagServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ItemValue<Server>> |
ServerMaps.getEdgeNextHopByDomainUid() |
ItemValue<Server> |
ServerMaps.getServer() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MapRow> |
MapRow.build(BmContext context,
java.util.List<ItemValue<Server>> servers,
java.util.Map<java.lang.String,DomainInfo> domainInfoByUid) |
static java.util.Optional<ServerMaps> |
ServerMaps.init(ItemValue<Server> server) |
static java.util.Optional<ServerMaps> |
ServerMaps.init(java.util.List<ItemValue<Server>> servers,
ItemValue<Server> server,
java.util.Map<java.lang.String,DomainInfo> domainInfoByUid,
java.util.List<MapRow> mapRows) |
static java.util.Optional<ServerMaps> |
ServerMaps.init(java.util.List<ItemValue<Server>> servers,
ItemValue<Server> server,
java.util.Map<java.lang.String,DomainInfo> domainInfoByUid,
java.util.List<MapRow> mapRows) |
Constructor and Description |
---|
TransportMap(java.util.Map<java.lang.String,ItemValue<Server>> smtpServerByDomainUid,
java.util.Collection<MapRow> mapRows) |
Modifier and Type | Method and Description |
---|---|
void |
SystemConfServerHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
SystemConfServerHook.onServerDeleted(BmContext context,
ItemValue<Server> server) |
Modifier and Type | Field and Description |
---|---|
java.util.List<ItemValue<Server>> |
GenerationContent.servers |
Modifier and Type | Method and Description |
---|---|
void |
ConfigWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
ConfigWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
void |
ElasticWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
ElasticWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
void |
PgWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
PgWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
ItemValue<Server> |
IDPContext.IToolConfig.getSource() |
Modifier and Type | Method and Description |
---|---|
IDPContext.IToolConfig |
IDPContext.ITool.configure(ItemValue<Server> source,
java.lang.String tag,
java.util.Set<java.lang.String> dirs) |
void |
IBackupWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp)
This gets called once the data is saved with rsync.
|
static java.lang.String |
BackupPath.get(ItemValue<Server> server,
java.lang.String tag) |
void |
IBackupWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup)
This is called before the backup starts.
|
Modifier and Type | Method and Description |
---|---|
ItemValue<Server> |
ToolConfig.getSource() |
Modifier and Type | Method and Description |
---|---|
IDPContext.IToolConfig |
ToolBootstrap.configure(ItemValue<Server> source,
java.lang.String tag,
java.util.Set<java.lang.String> dirs) |
Constructor and Description |
---|
ToolConfig(ItemValue<Server> source,
java.lang.String tag,
java.util.Set<java.lang.String> dirs) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
DefaultWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
void |
DomainServerHook.onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
ElasticSearchServerHook.onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
void |
ElasticSearchServerHook.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
ElasticSearchServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> assignedDomain,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
FileHostingServerHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
void |
FileHostingServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
FileHostingServerHook.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
FileHostingBackupWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
FileHostingBackupWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
void |
SnappyWorker.dataDirsSaved(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> backedUp) |
void |
SnappyWorker.prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup) |
Modifier and Type | Method and Description |
---|---|
void |
IMailboxesStorage.createDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
IMailboxesStorage.deleteDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
IMailboxesStorage.initialize(BmContext context,
ItemValue<Server> server) |
void |
IMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
void |
IMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
Modifier and Type | Field and Description |
---|---|
protected Server |
AclRewriteTests.imapServer |
protected Server |
AclRewriteTests.imapServerNotAssigned |
protected Server |
AclRewriteTests.smtpServer |
Modifier and Type | Method and Description |
---|---|
void |
VoidMailboxesStorage.createDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
VoidMailboxesStorage.deleteDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
VoidMailboxesStorage.initialize(BmContext context,
ItemValue<Server> server) |
void |
VoidMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
void |
VoidMailboxesStorage.move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
Modifier and Type | Field and Description |
---|---|
protected Server |
AbstractMailboxServiceTests.imapServer |
protected Server |
AbstractMailboxServiceTests.imapServerNotAssigned |
protected Server |
AbstractMailboxServiceTests.smtpServer |
Modifier and Type | Method and Description |
---|---|
static void |
TagHelper.jarToFS(java.lang.Class<?> sibling,
java.lang.String src,
java.lang.String dest,
ItemValue<Server> srvItem,
IServer serverApi) |
void |
CyrusTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
OpenldapTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
ElasticsearchTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
MemCachedTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostgresqlDataTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostgresqlTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PhpfpmTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
InfluxTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
NginxTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostfixTagHandler.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
CyrusTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
OpenldapTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
ElasticsearchTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
MemCachedTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostgresqlDataTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostgresqlTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PhpfpmTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
InfluxTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
NginxTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
PostfixTagHandler.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ITickTemplateProvider.TemplateDefinition> |
ITickTemplateProvider.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
protected ITickTemplateProvider.TemplateDefinition |
BasicTickTemplateProvider.initTickDefinition(ItemValue<Server> server,
Product prod,
java.lang.String endPointUrl,
java.lang.String defName) |
static java.lang.String |
TickTemplateHelper.newId(Product p,
java.lang.String alertSubId,
ItemValue<Server> server) |
Constructor and Description |
---|
ChronografClient(ItemValue<Server> chronografServer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ITickTemplateProvider.TemplateDefinition> |
ServiceHprofs.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
java.util.List<ITickTemplateProvider.TemplateDefinition> |
ImapConnectionsLimit.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
java.util.List<ITickTemplateProvider.TemplateDefinition> |
StateHeartbeats.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
java.util.List<ITickTemplateProvider.TemplateDefinition> |
MemcachedEvictions.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
java.util.List<ITickTemplateProvider.TemplateDefinition> |
DiskSpace.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
java.util.List<ITickTemplateProvider.TemplateDefinition> |
PostfixQueueSize.createDefinitions(BmContext ctx,
java.lang.String endPointUrl,
ItemValue<Server> server) |
Modifier and Type | Field and Description |
---|---|
Server |
ServerInformation.server
The server to which belongs the information
|
Constructor and Description |
---|
ServerInformation(Server server,
java.lang.String plugin,
java.lang.String service,
java.lang.String endpoint) |
Modifier and Type | Method and Description |
---|---|
ServerInformation |
AbstractService.checkConnection(Server server) |
static ServerInformation |
Postfix.checkQueue(Server server) |
static ServerInformation |
Postfix.checkRelay(Server server) |
ServerInformation |
AbstractService.checkRunning(Server server) |
protected ServerInformation |
AbstractService.createException(java.lang.String endpoint,
Server server,
java.lang.String exceptionMsg) |
ServerInformation |
Cyrus.getImapProcesses(Server server) |
ServerInformation |
AbstractJavaService.getServerInfo(Server server,
java.lang.String method) |
ServerInformation |
AbstractService.getServerInfo(Server server,
java.lang.String method) |
ServerInformation |
ServicesHandler.getServerInfo(java.lang.String service,
java.lang.String method,
Server server) |
ServerInformation |
Cyrus.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Ysnp.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Webserver.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Xmpp.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Eas.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Lmtpd.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Elasticsearch.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Locator.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Node.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Ips.getSpecificServerInfo(Server server,
java.lang.String method) |
protected abstract ServerInformation |
AbstractJavaService.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Postfix.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Tika.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Hps.getSpecificServerInfo(Server server,
java.lang.String method) |
protected abstract ServerInformation |
AbstractService.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Php.getSpecificServerInfo(Server server,
java.lang.String endpoint) |
ServerInformation |
Core.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
Dav.getSpecificServerInfo(Server server,
java.lang.String method) |
ServerInformation |
AbstractJavaService.memory(Server server) |
Modifier and Type | Method and Description |
---|---|
ServerInformation |
Leaks.getServerInfo(Server server,
java.lang.String endpoint) |
ServerInformation |
Memory.getServerInfo(Server server,
java.lang.String endpoint)
Gets the memory usage of the server
|
ServerInformation |
Disks.getServerInfo(Server server,
java.lang.String endpoint) |
ServerInformation |
Dns.getServerInfo(Server server,
java.lang.String endpoint)
Checks if the DNS could be resolved
|
ServerInformation |
Cpu.getServerInfo(Server server,
java.lang.String endpoint) |
ServerInformation |
MailIndex.getServerInfo(Server server,
java.lang.String endpoint) |
ServerInformation |
SystemHandler.getServerInfo(java.lang.String service,
java.lang.String method,
Server server) |
Modifier and Type | Method and Description |
---|---|
ServerInformation |
IServiceInfoProvider.getServerInfo(java.lang.String service,
java.lang.String method,
Server server) |
Modifier and Type | Method and Description |
---|---|
static Server |
CommandExecutor.getServerByIp(java.lang.String ip) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Server> |
CommandExecutor.getAllServers() |
Modifier and Type | Method and Description |
---|---|
static int |
CommandExecutor.execCmdOnServer(Server s,
Command c) |
abstract ServerInformation |
Service.getServerInfo(Server server,
java.lang.String endpoint)
Each service has its own methods and server infos; the lowest level of
information being the server information, the implementation of this
method obviously differs for every service.
|
Modifier and Type | Method and Description |
---|---|
default ItemValue<Server> |
IServiceTopology.any(java.lang.String tag) |
ItemValue<Server> |
IServiceTopology.core() |
default ItemValue<Server> |
IServiceTopology.datalocation(java.lang.String serverUid)
Search a server uid (aka datalocation) in current topology
|
java.util.List<ItemValue<Server>> |
IServiceTopology.nodes() |
Modifier and Type | Method and Description |
---|---|
static void |
Topology.update(java.util.List<ItemValue<Server>> servers) |
Modifier and Type | Field and Description |
---|---|
java.util.List<ItemValue<Server>> |
TopologyPayload.nodes |
Modifier and Type | Method and Description |
---|---|
static TopologyPayload |
TopologyPayload.of(java.util.List<ItemValue<Server>> nodes) |
Modifier and Type | Method and Description |
---|---|
ItemValue<Server> |
DefaultServiceTopology.core() |
java.util.List<ItemValue<Server>> |
DefaultServiceTopology.nodes() |
Constructor and Description |
---|
DefaultServiceTopology(java.util.List<ItemValue<Server>> servers) |
Modifier and Type | Method and Description |
---|---|
void |
TopologyProducerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
TopologyProducerHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
TopologyProducerHook.onServerDeleted(BmContext context,
ItemValue<Server> itemValue) |
void |
TopologyProducerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
LatchHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
LatchHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
LatchHook.onServerDeleted(BmContext context,
ItemValue<Server> itemValue) |
void |
LatchHook.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
LatchHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
Server |
Server.copy() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.util.List<ItemValue<Server>>> |
IServerPromise.allComplete() |
java.util.List<ItemValue<Server>> |
IServer.allComplete()
Enumerate all the servers in the installation container.
|
java.util.concurrent.CompletableFuture<ItemValue<Server>> |
IServerPromise.getComplete(java.lang.String uid) |
ItemValue<Server> |
IServer.getComplete(java.lang.String uid)
Fetches a server object from the database with its uid.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<TaskRef> |
IServerPromise.create(java.lang.String uid,
Server srv) |
TaskRef |
IServer.create(java.lang.String uid,
Server srv)
Creates a new server in the database with the given uid.
|
void |
IServerAsync.create(java.lang.String uid,
Server srv,
AsyncHandler<TaskRef> handler) |
java.util.concurrent.CompletableFuture<TaskRef> |
IServerPromise.update(java.lang.String uid,
Server srv) |
TaskRef |
IServer.update(java.lang.String uid,
Server srv)
Updates a server in the database with its uid.
|
void |
IServerAsync.update(java.lang.String uid,
Server srv,
AsyncHandler<TaskRef> handler) |
Modifier and Type | Method and Description |
---|---|
void |
IServerAsync.allComplete(AsyncHandler<java.util.List<ItemValue<Server>>> handler) |
void |
IServerAsync.getComplete(java.lang.String uid,
AsyncHandler<ItemValue<Server>> handler) |
Modifier and Type | Field and Description |
---|---|
ItemValue<Server> |
ServerMessage.server
the value of the server (the previous value for update or delete events)
|
Modifier and Type | Method and Description |
---|---|
void |
TestHook.beforeCreate(BmContext context,
java.lang.String uid,
Server server) |
void |
IServerHook.beforeCreate(BmContext context,
java.lang.String uid,
Server server) |
void |
DefaultServerHook.beforeCreate(BmContext context,
java.lang.String uid,
Server server) |
void |
TestHook.beforeUpdate(BmContext context,
java.lang.String uid,
Server server,
Server previous) |
void |
IServerHook.beforeUpdate(BmContext context,
java.lang.String uid,
Server server,
Server previous) |
void |
DefaultServerHook.beforeUpdate(BmContext context,
java.lang.String uid,
Server server,
Server previous) |
void |
TestHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
void |
IServerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value)
This is called after a server is updated in the database.
|
void |
DefaultServerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
TestHook.onServerAssigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
IServerHook.onServerAssigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag)
This is called after a server is assigned to a domain for one of its
tags.
|
void |
DefaultServerHook.onServerAssigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
TestHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
IServerHook.onServerCreated(BmContext context,
ItemValue<Server> item)
This is called after a server is created in the database.
|
void |
DefaultServerHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
TestHook.onServerDeleted(BmContext context,
ItemValue<Server> itemValue) |
void |
IServerHook.onServerDeleted(BmContext context,
ItemValue<Server> itemValue)
This is called after a server is deleted in the database.
|
void |
DefaultServerHook.onServerDeleted(BmContext context,
ItemValue<Server> itemValue) |
void |
TestHook.onServerPreUnassigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
IServerHook.onServerPreUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag)
This is called before an assignment is removed.
|
void |
DefaultServerHook.onServerPreUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
TestHook.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
IServerHook.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag)
This is called after a server is tagged in the database (one server
update can trigger multiple onServerTagged events)
|
void |
DefaultServerHook.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
TestHook.onServerUnassigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
IServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag)
This is called after an assignment is removed.
|
void |
DefaultServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> itemValue,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
TestHook.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
IServerHook.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag)
This is called after a server is untagged in the database.
|
void |
DefaultServerHook.onServerUntagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
void |
TestHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
void |
IServerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value)
This is called after a server is updated in the database.
|
void |
DefaultServerHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
MCastHook.onServerCreated(BmContext context,
ItemValue<Server> server) |
void |
MCastHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
NodeHook.onServerCreated(BmContext context,
ItemValue<Server> server) |
void |
NodeHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
Server |
ServerStore.get(Item item) |
Modifier and Type | Method and Description |
---|---|
static JdbcAbstractStore.EntityPopulator<Server> |
ServerColumns.populator() |
static JdbcAbstractStore.StatementValues<Server> |
ServerColumns.statementValues() |
Modifier and Type | Method and Description |
---|---|
void |
ServerStore.create(Item item,
Server value) |
void |
ServerStore.update(Item item,
Server value) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<Server>> |
ServerService.allComplete() |
ISanitizer<Server> |
ServerSanitizerFactory.create(BmContext context) |
ItemValue<Server> |
ServerService.getComplete(java.lang.String uid) |
java.lang.Class<Server> |
ServerSanitizerFactory.support() |
Modifier and Type | Method and Description |
---|---|
void |
CheckServerAvailability.beforeCreate(BmContext context,
java.lang.String uid,
Server server) |
void |
CheckServerAvailability.beforeUpdate(BmContext context,
java.lang.String uid,
Server server,
Server previous) |
void |
ServerSanitizer.create(Server obj) |
TaskRef |
ServerService.create(java.lang.String uid,
Server srv) |
void |
ServerSanitizer.update(Server current,
Server obj) |
TaskRef |
ServerService.update(java.lang.String uid,
Server srv) |
void |
ServerValidator.validate(Server server) |
Modifier and Type | Method and Description |
---|---|
void |
CheckServerAvailability.onServerDeleted(BmContext context,
ItemValue<Server> server) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ItemValue<Server>> |
HpsHelper.hpsNodes(BmContext context) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
HpsHelper.nodeRead(Server server,
java.lang.String path) |
protected void |
HpsHelper.nodeWrite(Server server,
java.lang.String path,
byte[] content) |
protected void |
HpsHelper.nodeWrite(Server server,
java.lang.String path,
java.lang.String content) |
protected void |
HpsHelper.restartHps(Server server) |
Modifier and Type | Method and Description |
---|---|
void |
NginxExternalUrlConfigurationOnServerTagged.onServerTagged(BmContext context,
ItemValue<Server> itemValue,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
void |
IptablesHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
void |
IptablesHook.onServerCreated(BmContext context,
ItemValue<Server> item) |
void |
IptablesHook.onServerDeleted(BmContext context,
ItemValue<Server> server) |
void |
IptablesHook.onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value) |
Modifier and Type | Method and Description |
---|---|
static void |
RulesUpdater.updateIptablesScript(BmContext bc,
Server removedHost,
Server newHost) |
Modifier and Type | Method and Description |
---|---|
static org.apache.directory.ldap.client.api.LdapConnection |
LdapHelper.connectConfigDirectory(ItemValue<Server> ldapHost) |
static org.apache.directory.ldap.client.api.LdapConnection |
LdapHelper.connectDirectory(ItemValue<Server> ldapHost) |
Modifier and Type | Method and Description |
---|---|
static SlapdConfig |
SlapdConfig.build(ItemValue<Server> server) |
Modifier and Type | Method and Description |
---|---|
TaskRef |
LdapServerHook.initDomainLdapTree(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
LdapServerHook.onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
LdapServerHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
void |
LdapServerHook.onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
Modifier and Type | Field and Description |
---|---|
protected ItemValue<Server> |
LdapExportTests.ldapRoleServer |
Modifier and Type | Method and Description |
---|---|
ItemValue<Server> |
LdapExportTests.initAndAssignLdapExportServer(ItemValue<Domain> domain) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ItemValue<Server>> |
LdapExportService.ldapExportServer(BmContext context,
java.lang.String domainUid) |
Modifier and Type | Method and Description |
---|---|
static LdapExportService |
LdapExportService.build(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain) |
Constructor and Description |
---|
PasswordUpdateService(ItemValue<Server> ldapExportServer,
ItemValue<Domain> domain,
java.lang.String passwordLifetime,
ItemValue<User> user) |
Modifier and Type | Method and Description |
---|---|
void |
WebmailHook.onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
static void |
PopulateHelper.createServers(Server... servers)
|
static ItemValue<Domain> |
PopulateHelper.createTestDomain(java.lang.String domainUid,
Domain domain,
Server... servers) |
static ItemValue<Domain> |
PopulateHelper.createTestDomain(java.lang.String domainUid,
Server... servers) |
static void |
PopulateHelper.initGlobalVirt(boolean withCore,
Server... servers) |
static void |
PopulateHelper.initGlobalVirt(Server... servers) |
Modifier and Type | Field and Description |
---|---|
protected ItemValue<Server> |
ContainersFolderHookTests.dataLocation |
Copyright © 2021. All Rights Reserved.