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)
- forceWorkersUpdate()
Force updating configuration on all the Worker configuration servers
- Returns:
Nothing
- getCommitHistory()
- getCompressedConfigurationData()
- getVersion()
- getVersionContents(date)
- isMaster()
- publishSlaveServer(sWorkerURL)
Called by the Worker server via service, it register a new Worker server
- Parameters:
sWorkerURL – url of Worker server
- run()
Check if workers are alive
- updateConfiguration(sBuffer, committer='', updateVersionOption=False)
Update the controller configuration with the newly received changes