예제 #1
0
파일: BackendMS.py 프로젝트: kreczko/ganga
    def __init__(self, job_info, config_info):
        """Construct the Dashboard Backend Monitoring Service."""
        DashboardMS.__init__(self, job_info, config_info)
        try:
            self.backend_name = self.job_info.backend.__class__.__name__
        except AttributeError:
            self.backend_name = self.job_info['BACKEND']

        path_to_module = "Ganga.Lib.MonitoringServices.Dashboard.%sUtil" % self.backend_name
        __import__(path_to_module)
        import sys
        self.dynamic_util = sys.modules[path_to_module]
예제 #2
0
파일: LCGMS.py 프로젝트: wvengen/lgipilot
 def __init__(self, job_info, config_info):
     """Construct the Dashboard LCG Monitoring Service."""
     DashboardMS.__init__(self, job_info, config_info)