Esempio n. 1
0
 def write_reports(report_name, reports_obj_list):
     """
     Write reports to json file
     :param report_name: Name of report
     :param reports_obj_list:  List with reports from server
     """
     path = "data/" + report_name + ".json"
     json_data.write(path, reports_obj_list)
Esempio n. 2
0
 def write_reports(report_name, reports_obj_list):
     path = "data/" + report_name + ".json"
     json_data.write(path, reports_obj_list)
Esempio n. 3
0
 def write_logs(self):
     json_data.write(self.__conf_dict["logs_path"],
                     self.__logs_dict.values())
Esempio n. 4
0
 def write_workers(self):
     json_data.write(self.__conf_dict["workers_path"],
                     self.__workers_dict.values())
Esempio n. 5
0
 def write_terminals(self):
     json_data.write(self.__conf_dict["terms_path"],
                     self.__term_dict.values())
Esempio n. 6
0
 def write_logs(self):
     """
     Write logs from server object to json file
     """
     json_data.write(self.__conf_dict["logs_path"],
                     self.__logs_dict.values())
Esempio n. 7
0
 def write_workers(self):
     """
     Write workers from server object to json file
     """
     json_data.write(self.__conf_dict["workers_path"],
                     self.__workers_dict.values())
Esempio n. 8
0
 def write_terminals(self):
     """
     Write terminals from server object to json file
     """
     json_data.write(self.__conf_dict["terms_path"],
                     self.__term_dict.values())