Ejemplo n.º 1
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_progress_report'
     self.bakup_table_name = 'it_progress_report_history'
     self.key_col = 'git'
     self.id_col = 'req_id'
     self.attr_list = [
         "git", "step", "remark", "it_group", "gl", "author", "plan_date",
         "progress_code", "progress_ut", "progress_it", "progress_risk",
         "comment", "cate_alias", "represent_req", "req_id", "jira_id",
         "qa_id", "release_ver", "major_category", "medium_category",
         "small_category", "major", "small", "status", "trigger", "action",
         "check_status", "trans_status", "trans_trigger", "trans_action",
         "trans_explain", "progress_status", "author_is_me", "is_same_it",
         "is_make", "is_have_qa", "dev_update_date", "dev_represent",
         "dev_fw16_status", "dev_s_date1", "dev_model_status",
         "dev_s_date2", "dev_ut_status", "dev_s_date3", "dev_it_status",
         "dev_s_date4", "dev_itn_status", "dev_s_date5", "dev_commit_id",
         "dev_s_date6", "atsah_path", "ut_path", "it_path", "analysis_path",
         "dev_status", "dev_remark", "dev_qaid", "dev_qa_status", "unit1",
         "usercase1", "testcase1", "ut_status1", "ut_no1", "unit2",
         "usercase2", "testcase2", "ut_status2", "ut_no2", "unit3",
         "usercase3", "testcase3", "ut_status3", "ut_no3", "unit4",
         "usercase4", "testcase4", "ut_status4", "ut_no4", "unit5",
         "usercase5", "testcase5", "ut_status5", "ut_no5", "unit6",
         "usercase6", "testcase6", "ut_status6", "ut_no6", "unit7",
         "usercase7", "testcase7", "ut_status7", "ut_no7", "unit8",
         "usercase8", "testcase8", "ut_status8", "ut_no8", "unit9",
         "usercase9", "testcase9", "ut_status9", "ut_no9", "unit10",
         "usercase10", "testcase10", "ut_status10", "ut_no10"
     ]
Ejemplo n.º 2
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'req'
     self.bakup_table_name = 'req_history'
     self.key_col = 'req_rc_id'
     self.id_col = 'hu_id'
     self.attr_list = ['req_rc_id', 'represent_req', 'arl_id', 'major_category', 'medium_category',
                       'small_category', 'detail', 'basic_req', 'req', 'status',
                       'trigger', 'action', 'remark', 'hmi_spec_no', 'hmi_version',
                       'hmi_file_name', 'hmi_chapter', 'hmi_page', 'hmi_screen_id',
                       'func_spec_no', 'func_version', 'func_file_name', 'func_chapter',
                       'func_page', 'hu_id', 'unique_id', 'amp', 'dsrc', 'dcm',
                       'rse', 'touch_pad', 'separate_disp', 'system_conf', 'rel_requirement',
                       'exception', 'dcu_status', 'dcu_trigger', 'dcu_action',
                       'meu_status', 'meu_trigger', 'meu_action', 'hu_category_id',
                       'deal_flow', 'hmi_ds_screen_id', 'hmi_ds_no', 'hmi_ds_remark',
                       'apl_ds_if_no', 'apl_ds_service', 'apl_ds_exception', 'apl_ds_obj',
                       'apl_ds_step', 'apl_ds_remark', 'sys_ds_name', 'decompose_id', 'decompose_content',
                       'operation', 'dest_name', 'testcase_num', 'sys_remark', 'apl_status',
                       'sys_test_status', 'bi', 'sp29', 'sp30', 'sp31', 'iauto_complete',
                       'step', 'definition_id', 'ana_unique_id', 'seq_diagram_file',
                       'seq_diagram_no', 'application',
                       'ana_exception', 'is_represent_req',
                       'parent_rep_req', 'new_date', 'is_dalian', 'charger', 'author', 'apl_schedule',
                       'it_schedule', 'apl_progress', 'it_progress', 'it_release_ver',
                       'it_file_name', 'it_nos', 'it_results',
                       'apl_test_files', 'apl_test_nos', 'apl_test_results',
                       'dev_status', 'dev_status_detail', 'dev_remark',
                       'remark_if_no', 'remark_service_if', 'external_qa',
                       'external_qa_status', 'internal_qa', 'internal_qa_status',
                       'bug_no', 'bug_status', 'ng_num']
Ejemplo n.º 3
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'hmi_screen'
     self.key_col = 'screen_rc_id'
     self.id_col = 'screen_id'
     self.attr_list = [
         "screen_rc_id", "screen_id", "screen_progress", "external_qa",
         "remark", "is_enter_screen"
     ]
Ejemplo n.º 4
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'internal_qa'
     self.key_col = 'qa_rc_id'
     self.id_col = 'qa_no'
     self.attr_list = [
         'qa_rc_id', 'qa_no', 'status', 'question', 'qa_date', 'qa_author',
         'hope_answer_date', 'answer_detail', 'answer_date', 'answerer'
     ]
Ejemplo n.º 5
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_progress_qa'
     self.key_col = 'gid'
     self.id_col = 'qa_id'
     self.attr_list = [
         'gid', 'qa_id', 'follow', 'status', 'priority', 'req_id',
         'subject', 'author', 'update_date', 'jira_id'
     ]
Ejemplo n.º 6
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'external_bug'
     self.key_col = 'bug_rc_id'
     self.id_col = 'bug_id'
     self.attr_list = [
         'bug_rc_id', 'bug_type', 'bug_keyword', 'bug_id', 'summary',
         'charger', 'reporter', 'priority', 'status', 'result',
         'create_date', 'update_date', 'arrive_date', 'detail'
     ]
Ejemplo n.º 7
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = "docs"
     self.key_col = "doc_id"
     self.model_table_name = 'doc_tags'
     self.db_schema = 'public'
     self.attr_list = [
         "doc_id", "doc_type", "doc_title", "path", "ver", "author",
         "committer", "create_time", "update_time", "summary"
     ]
Ejemplo n.º 8
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_result_notify'
     self.key_col = 'gid'
     self.id_col = 'it_key'
     self.attr_list = [
         "gid", "file_name", "it_no", "category", "rel_screen_id",
         "rel_service", "notify_interface", "notify_content",
         "notify_process", "trigger", "action", "action_process", "uac_if",
         "uac_if_process", "test_item", "remark", "obstacle_id", "it_key"
     ]
Ejemplo n.º 9
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'req'
     self.key_col = 'req_rc_id'
     self.id_col = 'hu_id'
     self.dev_status_dict = {}
     self._pg.connect()
     self._pg.execute('select dev_status_id, status from hmi.dev_status')
     for db_data in self._pg.fetchall():
         self.dev_status_dict[db_data[0]] = db_data[1]
     self._pg.close()
Ejemplo n.º 10
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_result_init_end'
     self.key_col = 'gid'
     self.id_col = 'it_key'
     self.attr_list = [
         'gid', 'file_name', 'it_no', 'category', 'inteface',
         'if_process_content', 'mc_process_content', 'uac_interface',
         'uac_process_content', 'uac_nofity_no', 'sb_inteface',
         'sb_process_content', 'sb_nofity_no', 'sb_uac_callback',
         'rel_service', 'test_item', 'remark', 'obstacle_id', 'it_key'
     ]
Ejemplo n.º 11
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_result_mode_transition'
     self.key_col = 'gid'
     self.id_col = 'it_key'
     self.attr_list = [
         "gid", "file_name", "it_no", "mode_name", "category",
         "video_content_callback", "video_process_callback",
         "audio_content_callback", "audio_process_callback",
         "event_trigger", "action", "action_process", "test_item", "remark",
         "obstacle_id", "it_key"
     ]
Ejemplo n.º 12
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'hmi_screen_it'
     self.key_col = 'it_rc_id'
     self.id_col = 'screen_key'
     self.attr_list = [
         "it_rc_id", "screen_key", "app_name", "first_layer",
         "second_layer", "third_layer", "layer4", "layer5", "screen_id",
         "charger", "in_migration_id", "in_migration_date",
         "followup_migration_id", "followup_migration_date", "test_docker",
         "remark"
     ]
Ejemplo n.º 13
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_inside_move'
     self.key_col = 'gid'
     self.id_col = 'it_key'
     self.attr_list = [
         "gid", "file_name", "it_no", "category", "screen_id", "classify",
         "component_id", "length", "stc_apfw", "stc_process_content",
         "uac_stc", "uac_process_content", "sb_uac", "sb_process_content",
         "sb_uac_callback", "rel_service", "test_item", "remark",
         "obstacle_id", "it_key"
     ]
Ejemplo n.º 14
0
 def __init__(self):
     HMIBase.__init__(self)
     self.table_name = 'it_screen_move'
     self.key_col = 'gid'
     self.id_col = 'it_key'
     self.attr_list = [
         "gid", "file_name", "it_no", "category", "move_unit_id",
         "move_first_id", "move_id", "move_unit_api", "move_unit_content",
         "move_first_api", "move_first_content", "uac_stc",
         "uac_process_content", "sb_uac", "sb_process_content",
         "sb_uac_callback", "rel_service", "test_item", "remark",
         "obstacle_id", "it_key"
     ]
Ejemplo n.º 15
0
 def __init__(self):
     HMIBase.__init__(self)