ServiceInterfaceBase¶
Service interface is the service which provide config for client and synchronize Master/Slave servers
- class DIRAC.ConfigurationSystem.private.ServiceInterfaceBase.ServiceInterfaceBase(sURL)¶
Bases:
object
Service interface is the service which provide config for client and synchronize Master/Slave servers
- __init__(sURL)¶
- forceGlobalUpdate()¶
Force updating configuration of all the registered services
- Returns
S_OK (needed for DISET return call)
- forceSlavesUpdate()¶
Force updating configuration on all the slave configuration servers
- Returns
Nothing
- getCommitHistory()¶
- getCompressedConfigurationData()¶
- getVersion()¶
- getVersionContents(date)¶
- isMaster()¶
- publishSlaveServer(sSlaveURL)¶
Called by the slave server via service, it register a new slave server
- Parameters
sSlaveURL – url of slave server
- updateConfiguration(sBuffer, committer='', updateVersionOption=False)¶
Update the master configuration with the newly received changes