def stop(self, exitcode, **opts): """Log stop event on worker node.""" BackendMS.stop(self, exitcode, **opts) # send job-processing-attributes message if job successful if exitcode == 0: message = self._wn_job_processing_attributes_message() self._send(self.config_info['destination_job_processing_attributes'], message)
def getSandboxModules(self): """Return list of module dependencies.""" import Ganga.Lib.MonitoringServices.Dashboard return BackendMS.getSandboxModules(self) + [ Ganga.Lib.MonitoringServices.Dashboard.AthenaMS, Ganga.Lib.MonitoringServices.Dashboard.AthenaUtil, ]
def kill(self, **opts): """Log kill event on client.""" BackendMS.kill(self, **opts) self._cl_send_meta_messages()
def fail(self, **opts): """Log fail event on client.""" BackendMS.fail(self, **opts) self._cl_send_meta_messages()
def complete(self, **opts): """Log complete event on client.""" BackendMS.complete(self, **opts) self._cl_send_meta_messages()
def submit(self, **opts): """Log submit event on client.""" self._cl_send_meta_messages() BackendMS.submit(self, **opts)
def __init__(self, job_info, config_info): """Construct the Dashboard Backend/Athena Monitoring Service.""" BackendMS.__init__(self, job_info, config_info)