ServiceInterfaceTornado
Service interface adapted to work with tornado, must be used only by tornado service handlers
- class DIRAC.ConfigurationSystem.private.ServiceInterfaceTornado.ServiceInterfaceTornado(sURL)
Bases:
ServiceInterfaceBase
Service interface adapted to work with tornado
- __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
- run()
Check if slaves are alive
- updateConfiguration(sBuffer, committer='', updateVersionOption=False)
Update the master configuration with the newly received changes