Esempio n. 1
0
 def __init__(self, working_dir, config_path):
     super(MasterControlProgram, self).__init__()
     self.jobs = JobCollection()
     self.working_dir = working_dir
     self.config = manager.ConfigManager(config_path)
     self.context = command_context.CommandContext()
     self.state_watcher = statemanager.StateChangeWatcher()
     log.info('initialized')
Esempio n. 2
0
 def setup_collection(self):
     self.collection = JobCollection()