Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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,
         ]
Ejemplo n.º 3
0
 def kill(self, **opts):
     """Log kill event on client."""
     BackendMS.kill(self, **opts)
     self._cl_send_meta_messages()
Ejemplo n.º 4
0
 def fail(self, **opts):
     """Log fail event on client."""
     BackendMS.fail(self, **opts)
     self._cl_send_meta_messages()
Ejemplo n.º 5
0
 def complete(self, **opts):
     """Log complete event on client."""
     BackendMS.complete(self, **opts)
     self._cl_send_meta_messages()
Ejemplo n.º 6
0
 def submit(self, **opts):
     """Log submit event on client."""
     self._cl_send_meta_messages()
     BackendMS.submit(self, **opts)
Ejemplo n.º 7
0
 def __init__(self, job_info, config_info):
     """Construct the Dashboard Backend/Athena Monitoring Service."""
     BackendMS.__init__(self, job_info, config_info)