def __init__(self, data={}): print("Initializing JirigoTask") print(f'In for Create/Update Task ****') pprint(data) self.task_int_id = data.get('task_int_id') self.jdb = JirigoDBConn() self.summary = data.get('summary', '') self.description = data.get('description', '') self.severity = data.get('severity', '') self.priority = data.get('priority', '') self.issue_type = data.get('issue_type', '') self.issue_status = data.get('issue_status', '') self.is_blocking = data.get('is_blocking', 'N') self.environment = data.get('environment', '') self.created_by = data.get('created_by', '') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by', '') self.modified_date = datetime.datetime.now() self.reported_by = data.get('reported_by') self.reported_date = data.get('reported_date', datetime.datetime.now()) self.task_no = data.get('task_no', '-') self.project_name = data.get('project_name', '') self.project_id = data.get('project_id', '') self.assignee_name = data.get('assignee_name', '') self.module_name = data.get('module_name', '') self.estimated_time = 0 # At the time of task creation est is 0 self.start_date = data.get('start_date', None) self.end_date = data.get('end_date', None) self.row_hash = data.get('row_hash', None) self.assignee_id = data.get('assignee_id', None) self.task_estimates = data.get('task_estimates', None) self.logger = Logger()
def __init__(self,data={}): print("Initializing JirigoTicket") print(f'In for Create/Update Ticket **** :{data}') self.ticket_int_id = data.get('ticket_int_id') self.jdb=JirigoDBConn() self.summary = data.get('summary','') self.description = data.get('description','') self.severity = data.get('severity','') self.priority = data.get('priority','') self.issue_type = data.get('issue_type','') self.issue_status = data.get('issue_status','') self.is_blocking = data.get('is_blocking','N') self.environment = data.get('environment','') self.channel = data.get('channel','') self.created_by = data.get('created_by','') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by','') self.modified_date = datetime.datetime.now() self.reported_by = data.get('reported_by','') self.reported_date = data.get('reported_date',datetime.datetime.now()) self.ticket_no=data.get('ticket_no','-') self.project_name=data.get('project_name','') self.project_id=data.get('project_id','') self.assignee_name=data.get('assignee_name','') self.module=data.get('module','') self.assignee_id = data.get('assignee_id','') self.row_hash = data.get('row_hash','') self.logger=Logger()
def __init__(self,data={}): print("Initializing JirigoTodos") print(f'In for Create/Update/Delete todos ****') pprint(data) self.project_id = data.get('project_id') self.user_id = data.get('user_id') self.todo_id = data.get('todo_id') self.label_id = data.get('label_id') self.todo_label = data.get('todo_label') self.end_date = datetime.datetime.now() if data.get('end_date') == None else data.get('end_date') self.todo_text = data.get('todo_text') self.todo_status= data.get('todo_status') self.category_id= data.get('category_id') self.category= data.get('category') self.category_color= data.get('category_color') self.created_by= data.get('created_by') self.modified_by= data.get('modified_by') self.interval_days=data.get('interval_days') self.created_date=datetime.datetime.now() self.modified_date=datetime.datetime.now() # self.limit=data.get('limit',5) # self.offset=data.get('offset',0) self.limit=10000000 self.offset=0 self.jdb=JirigoDBConn() self.logger=Logger()
def __init__(self, data={}): print("Initializing JirigoMenus") self.project_id = data.get('project_id', '') self.start_date = data.get('start_date', '') self.end_date = data.get('end_date', '') self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data={}): print("Initializing JirigoTicketDashboard") print(f'In for Create Dashboard **** :{data}') self.project_id = data.get('project_id', 0) self.last_n_days = data.get('last_n_days', 0) self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data): print("Initializing JirigoUsers") pprint(data) self.ticket_no = data.get('ticket_no', '') self.comment = data.get('comment', '') self.created_by = data.get('created_by', '1') self.created_date = data.get('created_date', datetime.datetime.now()) self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data={}): print("Initializing JirigoWorkflow") print(f'In for Create/Update/Delete Workflow ****') pprint(data) self.project_id = data.get('project_id') self.workflow_id = data.get('workflow_id') self.workflow_name = data.get('workflow_name') self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data={}): print("Initializing JirigoGlobalSearch") print(f'In for JirigoGlobalSearch **** :{data}') self.search_text = data.get('search_text') self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by') self.modified_date = datetime.datetime.now() self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data): print("Initializing JirigoTicketLogTime") pprint(data) self.ticket_no = data.get('ticket_no', '') self.activity = data.get('activity', '') self.actual_time_spent = data.get('actual_time_spent', 0) self.other_activity_comment = data.get('other_activity_comment', '') self.timelog_comment = data.get('timelog_comment', '') self.time_spent_by = data.get('time_spent_by', '1') self.actual_date = data.get('actual_date', datetime.datetime.now()) self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data=None): self.jdb = JirigoDBConn() self.logger = Logger() self.query = "" self.project_abbr = data.get('project_abbr', None) self.chatObj = Chat(pairs, reflections) self.lemmer = WordNetLemmatizer() self.punctuations = dict( (ord(punctuation), None) for punctuation in string.punctuation) self.tag_map = defaultdict(lambda: wn.NOUN) self.tag_map['J'] = wn.ADJ self.tag_map['V'] = wn.VERB self.tag_map['R'] = wn.ADV
def __init__(self, data={}): print("Initializing JirigoLinkTaskTicket") pprint(data) self.jdb = JirigoDBConn() self.project_id = data.get('project_id', 0) self.search_term = data.get('search_term', 0) self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() #----------- self.item_no = data.get('item_no', '') self.relationship = data.get('relationship', '') self.related_items = data.get('related_items', '') #----------- self.logger = Logger()
def __init__(self,data={}): self.project_id=data.get('project_id',0) self.project_name=data.get('project_name',0) self.ref_category=data.get('ref_category',None) self.ref_name=data.get('ref_name',None) self.ref_value=data.get('ref_value',None) self.ref_id=data.get('ref_id',None) self.order_id=data.get('order_id',None) self.is_active=data.get('is_active',None) self.created_by=data.get('created_by',1) self.created_date = datetime.datetime.now() self.modified_by=data.get('modified_by',1) self.modified_date = datetime.datetime.now() self.jdb=JirigoDBConn() self.logger=Logger()
def __init__(self,data={}): print("Initializing JirigoVacations") print(f'In for Create/Update/Delete vacations ****') pprint(data) self.project_id = data.get('project_id') self.vacation_id = data.get('vacation_id') self.user_id = data.get('user_id') self.start_date = data.get('start_date') self.end_date = data.get('end_date') self.input_date = data.get('input_date') self.description = data.get('description') self.created_date=datetime.datetime.now() self.modified_date=datetime.datetime.now() self.jdb=JirigoDBConn() self.logger=Logger()
def __init__(self, data={}): print("Initializing JirigoSprints") print(f'In for Create Sprints **** :{data}') self.sprint_name = data.get('sprint_name', '') self.project_name = data.get('project_name', '') self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() self.sprint_tasks = data.get('sprint_tasks') self.sprint_status = data.get('sprint_status') self.sprint_id = data.get('sprint_id') self.modified_by = data.get('modified_by') self.modified_date = datetime.datetime.now() self.start_date = data.get('start_date') self.end_date = data.get('end_date') self.num_devs = data.get('num_devs') self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self,data={}): print("Initializing JirigoRoles") self.project_id=data.get('project_id','') self.project_name=data.get('project_name','') self.role_id=data.get('role_id','') self.workflow_id=data.get('workflow_id','') self.role_name=data.get('role_name','') self.user_id=data.get('user_id','') self.new_roles_values=data.get('new_roles_values','') self.is_active=data.get('is_active','') self.project_name=data.get('project_name','') self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() self.modified_by=data.get('modified_by') self.modified_date=datetime.datetime.now() self.jdb=JirigoDBConn() self.logger=Logger()
def __init__(self, data={}): print("Initializing JirigoSprints") self.workflow_name = data.get('workflow_name', '') self.workflow_id = data.get('workflow_id', 0) self.project_id = data.get('project_id', '') self.role_id = data.get('role_id', '') self.current_status = data.get('current_status', '') self.ref_category = data.get('ref_category', '') self.project_name = data.get('project_name', '') self.workflow_type = data.get('workflow_type', '') self.next_allowed_statuses = data.get('next_allowed_statuses', '') self.step_full_details = data.get('step_full_details', '') self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by') self.modified_date = datetime.datetime.now() self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data): print("Initializing JirigoUsers") self.user_id = data.get('user_id', 0) self.first_name = data.get('first_name', '') self.last_name = data.get('last_name', '') self.email = data.get('email', '') self.is_active = data.get('is_active', '') self.salt = data.get('salt', '') self.password = data.get('password', '') self.created_by = data.get('created_by', '') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by', 0) self.modified_date = datetime.datetime.now() self.assigned_projects = data.get('assigned_projects', []) self.role_id = data.get('role_id', '') self.project_id = data.get('project_id', '') self.current_route = data.get('current_route', '') self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data={}): print("Initializing JirigoMenus") self.project_id = data.get('project_id', '') self.project_name = data.get('project_name', '') self.role_id = data.get('role_id', '') self.menu_id = data.get('menu_id', '') self.new_menu_items = data.get('new_menu_items', '') self.workflow_id = data.get('workflow_id', '') self.role_name = data.get('role_name', '') self.is_active = data.get('is_active', '') self.project_name = data.get('project_name', '') self.created_by = data.get('created_by') self.created_date = datetime.datetime.now() self.modified_by = data.get('modified_by') self.modified_date = datetime.datetime.now() self.current_user_id = data.get('current_user_id', 0) self.num_rows = data.get('num_rows', 10) self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self, data={}): print("Initializing JirigoTaskDashboard") print(f'In for Create Dashboard **** :{data}') # self.task_no = data.get('task_no') self.jdb = JirigoDBConn() self.logger = Logger()
def __init__(self,data={}): print("Initializing JirigoTicketAudit") print(f'In for Create TicketAudit **** :{data}') self.ticket_no = data.get('ticket_no') self.jdb=JirigoDBConn() self.logger=Logger()