Commit Graph

42 Commits

Author SHA1 Message Date
Vijay Joshi
976c12bf83 INFRA-2897 : [DT] Add configurable archival interval in archival cron (#369)
Co-authored-by: Shashank Shekhar <shashank.shekhar@navi.com>
2024-02-15 20:08:36 +05:30
Shashank Shekhar
5758e603e8 Jira link table (#331)
* TP-51013 | incident_jira entity, repo and service

* TP-51013 | get jira status api

* TP-51013 | added db migration file

* TP-51013 | added migration query to migrate existing jira links into new table

* TP-51013 | removing linked_jira_issues column from incident table

* TP-51013 | removing empty jira fields if no response found for a jira key in jira api response

* TP-51013 | handled jira api failure cases, will return empty jira fields

* TP-51013 | removed linked_jira_issues field from incident entity

* TP-51013 | handled jira link addition and removal in slack action

* TP-51013 | resolving PR comments

* TP-51013 | adding jira link max length check
2023-12-21 16:52:35 +05:30
Ajay Devarakonda
29fbf519e5 TP-51020 | Fixed houston commands alignment issue (#324)
* TP-38709 | Merging the changes to master on the logfix

* TP-51020 | Added help commands button in incident channel which displays the list of supported commands

* TP-51020 | Fixed houston commands alignment issue
2023-12-14 16:43:18 +05:30
Gullipalli Chetan Kumar
c393b81bbc TP-47335 : Update get teams api to reduce latency by getting user data from database instead of slack (#284)
* TP-47335| created teamservice version 2 for get teams api

* TP-47335| modified the getusers info function to handle nil error

* refactored the structure of team service and created interfaces

* TP-47335| created unit tests

* TP-47335| added unit tests for get teams api

* resolved PR comments

* created custom error types

* made some changes in unit tests

* added unit tests for team handler

* solved merge conflicts

* solved invalid users bug

* resolved merge conflicts

* restricting incident title length to 100 characters

* removed unecessary comments
2023-12-04 15:16:21 +05:30
Shashank Shekhar
428900b58b TP-48564 | Added Jira client with search JQL api (#303) 2023-12-04 12:12:52 +05:30
Shashank Shekhar
b2c59409ab TP-49403 | updating help message text and making incident status query by status name case insensitive (#298) 2023-11-30 13:11:00 +05:30
Shashank Shekhar
88459577f4 TP-49403 | parameterized slash command (#297)
* TP-49403 | parameterized slash command

* TP-49403 | handeling resolve and rca params also implemented Help-Commands button

* TP-49403 | using command pattern for command resolutiuon and execution

* TP-49403 | made find team by name and find severity by name queries case insensitive

* TP-49403 | updating help message keys
2023-11-30 11:56:32 +05:30
Sriram Bhargav
0c85c3b68d TP-47105 | Adding document service (#280)
* TP-47105 | Adding helpers for google drive service

* TP-47105! | Adding document service

* TP-47105 | Adding unit tests for docu ent service client

* TP-47105 | Adding document service client

* TP-47105 | Rebasing with master

* TP-47105 | Addressing PR comments

* TP-47105 | Adding commonly used constants with document service

* TP-47105 | Adding commonly used constants with document service

* TP-47105 | Fixing document service endpoints in test

* TP-47105 | Addressing PR comments

* TP-47105 | Addressing PR comments

* TP-47105 | Addressing PR comments
2023-11-15 17:17:38 +05:30
Shashank Shekhar
0f8c326fe7 TP-47297 | Slack DM for incident reminder (#276)
* TP-47297 | Slack DM for incident reminder - A cron job to send list of open incidents to every users who are part of it along with their role in it

* Delete common/util/config_util.go

---------

Co-authored-by: Md Anees <md.anees@navi.com>
2023-11-09 17:38:43 +05:30
Ajay Devarakonda
1125f573b2 TP-44162 | Google Meet integration to create calendar invite with meeting link creation on incident creation (#277)
* TP-44158 | Adding service to get transcript files from Google Drive (#234)

Adding service to get transcript files from Google Drive

* TP-45120 (#275)

TP-45120 | merging Google auth implementation and calendar event fix

* TP-44162 | added service implementation for calendar actions

* TP-44162 | Updated label in slack message

* TP-44162 | Fixed build failures

* TP-44162 | Updated sql migration file name

* TP-44162 | added unit tests for google calendar service

* TP-48200 | updated response messages in link and unlink jira apis (#278)

* TP-44162 | resolved review comments

* TP-44158 | Adding service to get transcript files from Google Drive (#234)

Adding service to get transcript files from Google Drive

* TP-45120 (#275)

TP-45120 | merging Google auth implementation and calendar event fix

* TP-44162 | added service implementation for calendar actions

* TP-44162 | Updated label in slack message

* TP-44162 | Fixed build failures

* TP-44162 | Updated sql migration file name

* TP-44162 | added unit tests for google calendar service

* TP-44162 | resolved review comments

* TP-44162 | updated few naming conventions

* TP-44162 | Adding timeouts to google drive api calls and related UTs

* TP-44162 | Adding drive api timeout to viper for unit test

---------

Co-authored-by: Sriram Bhargav <sriram.bhargav@navi.com>
Co-authored-by: Shashank Shekhar <shashank.shekhar@navi.com>
2023-11-09 16:25:20 +05:30
Shashank Shekhar
5ce7d38064 TP-46247 | API to add jira links to an incident (#257)
* TP-46247 | API to add jira links to an incident

* TP-464408 | Add Jira link modal

* TP-45730 | renaming log entity name back to log from logger
2023-11-03 15:30:07 +05:30
Gullipalli Chetan Kumar
7454d3561e TP-42838: Auto archive incident channels after specified delay (#272)
* TP-42838| created auto archival scheduler

* TP-42838| created utility to post archival messages and updated the archiving scheduler

* TP-42838| added messages to be posted in incident channel for archiving

* TP-42838| made utility functions for posting messages

* added environmental variables for cron

* changed posting time to ist from utc

* archiving channels based on end time in incident table

* changed time from 24 to 12 hour format

* updated the query to retrieve channels to be archived

* resolved merge conflicts

* made the requested changes in PR
2023-11-03 11:42:43 +05:30
Gullipalli Chetan Kumar
f31be96a80 Revert "TP-42838: Auto archive incident channels after specific delay time (#268)" (#271)
This reverts commit a2e618659a.
2023-11-02 18:30:39 +05:30
Gullipalli Chetan Kumar
a2e618659a TP-42838: Auto archive incident channels after specific delay time (#268)
* TP-42838| created auto archival scheduler

* TP-42838| created utility to post archival messages and updated the archiving scheduler

* TP-42838| added messages to be posted in incident channel for archiving

* TP-42838| made utility functions for posting messages

* added environmental variables for cron

* changed posting time to ist from utc

* archiving channels based on end time in incident table

* changed time from 24 to 12 hour format

* updated the query to retrieve channels to be archived

* resolved merge conflicts
2023-11-02 16:42:56 +05:30
Shashank Shekhar
a9ffffc31a TP-45730 | creating a global logger (#263) 2023-11-02 13:11:52 +05:30
Gullipalli Chetan Kumar
6b44ec9ec3 TP-43103 : Synch users data from slack to database and exposed api to return a list of bot users (#228)
* TP-42310| created api service to get list of slackbots (#215)

* TP-42310| created api service to get list of slackbots

* minor bug fix in GetAllHoustonUserBots function

* Synch users to db (#213)

* TP-43103| added event listeners to user detail changes and saving to db

* TP-43103| refactored the upsert users scheduler

* TP-43103| fixed updating users when deactivated in scheduler

* TP-43103| Made the requested changes

* added info loggers to user change events

* made changes to process only navi workspace user changes

* made addressed changes in pr and returning Real name in GetAllHoustonUserBots api

* resolved merge conflicts
2023-10-20 13:05:40 +05:30
Gullipalli Chetan Kumar
92d2e24af8 Revert "TP-42838 : Auto archive incident channel after some time when incident gets resolved or duplicated (#249)" (#252)
This reverts commit 11e7013c51.
2023-10-19 19:38:49 +05:30
Gullipalli Chetan Kumar
11e7013c51 TP-42838 : Auto archive incident channel after some time when incident gets resolved or duplicated (#249)
TP-42838 : Auto archive incident channel after some time when incident gets resolved or duplicated
2023-10-19 18:00:53 +05:30
Sriram Bhargav
93dc9f5ea1 -mTP43474 | Deploying to master 2023-10-13 13:06:59 +05:30
Shashank Shekhar
1f97532f50 Release 1 (#209)
* TP-43474 | Fixing time difference calculation issue (#193)

* TP-43298 | Adding SLA messagae to incident channel below incident summary (#183)

* TP-43298 | Resolving merge conflicts

* TP-43298 | Updating serverity check condition

* TP-43625 | Fixing user id check (#201)

* TP-43625 | Fixing user id check

* TP-43625 | Fixing user id check

* Incident service v2 (#191)

* TP-43339 | create-incident-v2

* TP-43339 | create-incident-v2 handler

* TP-43339 | added logs and some optimiations

* TP-43339 | added slack processor v2

* TP-43339 | create-incident-v2 integration with slack

* TP-43339 | adding feature flag for create-incident-v2

* TP-43339 | removed redundant entity fetch

* TP-43339 | Added SLA related changes to create-incident-v2

* TP-43339 | Posting incident summary to blazeGroup channel and improved logs

* TP-43339 | Moving post summary method to the incident service file

* TP-43339 | Removed socketModeClient usage from incident-service-v2, moved it to slack-service

* TP-43339 | Updated env variable for create-incident-v2

---------

Co-authored-by: Sriram Bhargav <sriram.bhargav@navi.com>
2023-10-09 16:04:04 +05:30
Shashank Shekhar
cbb4292fd7 TP-391193 | validations on description and character limit in create-incident api (#137) 2023-08-25 10:20:59 +05:30
Sriram Bhargav
b2a7cf7372 TP-38068 | Fixing issue with inviting oncall to incident after re-assign (#126)
* TP-37854 | Requesting access to dev tools services on deployment protal

* TP-37854 | Fixing issue with inviting oncall to incident after re-assign

* TP-37854 | Fixing issue with inviting oncall to incident after re-assign
2023-08-18 15:30:59 +05:30
Sriram Bhargav
567dc48a8b TP-37854 | Fixing issue with environment variable (#122)
* TP-37854 | Fixing issue with environment variable

* TP-37854 | Removing unused env variable
2023-08-16 18:45:06 +05:30
Sriram Bhargav
299a0b430a TP-37854 | Adding API to fetch last 5 incidents by team (#119)
Adding API to fetch last 5 incidents by team
2023-08-16 14:30:22 +05:30
Tushar Kumar Saha
ebbe76e57d TP-27996 | config keys fix (#112) 2023-06-21 16:20:13 +05:30
Tushar Kumar Saha
7498dd234d Deployment config (#101)
* TP-27996 | enable deployment config
2023-06-21 11:24:52 +05:30
Tushar Kumar Saha
956cf339a0 TP-27996 | revert makefile (#95) 2023-06-14 12:45:13 +05:30
Tushar Kumar Saha
64a30d5081 TP-12345 | Rp/diagnostic bot (#90) 2023-06-13 03:23:24 +05:30
Abhijeet Gupta
0c69c9d191 HOUS-4 | add houston users (#91) 2023-06-02 11:34:42 +05:30
Abhijeet Gupta
0dc924bdd6 Channel Error logging (#74)
* TP-0000 | channel name

* TP-0000 | log change
2023-05-18 09:30:42 +05:30
Abhijeet Gupta
62263aeff9 TP-0000 | cron env (#73) 2023-05-17 21:09:53 +05:30
Abhijeet Gupta
1422263e24 Tp 0000 changes crom (#72)
* TP-0000 | cron env

* TP-0000 | fix
2023-05-17 20:36:25 +05:30
Abhijeet Gupta
1945df5fa5 Tp 28766 (#69)
* TP-28766 | Houston summary

* TP-28766 | cron changes

* TP-28766 | update

* TP-28766 | changes in format

* TP-28766 | Team metric

* TP-28766 | change config

* TP-28766 | change config

* TP-28766 | team metric interval change
2023-05-17 18:42:50 +05:30
Abhijeet Gupta
5c3140489c TP-0000 | gmeet (#61) 2023-05-11 01:07:14 +05:30
Abhijeet Gupta
810b314649 TP-0000 | Add tag condition for not resolved (#19)
* TP-0000 | Add tag condition for not resolved

* TP-0000 | archive uncomment

* TP-0000 | ping api

* TP-0000 | mjolnir
2023-04-20 23:19:10 +05:30
Shubham Kirve
9e8195d298 TP-0000 | Adding web apis (#17)
* TP-0000 | adding readiness controller and skeleton for weapi

* TP-0000 | adding apis for web

* TP-0000 | Refactoring code by renaming function

* TP-0000 | reformatting code

* TP-0000 | reformatting code

* TP-0000 | reformatting code

* TP-0000 | reformatting code

* TP-0000 | accomodating review comments and adding remaining apis

* TP-0000 | formatting changes

* TP-25848 | accomodating review comments

* TP-25848 | updating severtiy response
2023-04-20 22:40:57 +05:30
Abhijeet Gupta
60ff45be60 TP-0000 | Metric setup And On Call Add And Fkey (#18)
* TP-0000 | Metric setup

* TP-0000 | adding oncall

* TP-0000 | fkey
2023-04-19 20:26:37 +05:30
Abhijeet Gupta
96ce2fff26 TP-0000 | SlackBot Changes (#16)
* TP-0000 | SlackBot Changes

* TP-000 | Confluene Page column

* TP-0000 | comments

* TP-0000 | properties fix

* TP-0000 | func refactor

* TP-0000 | minor changes

Co-authored-by: ravi chandora <ravi.chandora@navi.com>
2023-04-15 19:24:02 +05:30
Ravi Chandora
4f74943cf9 TP-0000 | Code Refactor (#10) 2023-04-10 17:30:28 +05:30
Ravi Chandora
25aa651515 TP-0000 | code refactoring (#1) 2023-03-29 20:57:20 +05:30
Shubham Kirve
8fcb4f139d TP-0000 | adding dockerfile (#2) 2023-03-29 00:12:06 +05:30
Shubham Kirve
b974cb6bf3 TP-0000 | Initialize houston repo (#1)
* TP-0000 | intialize houston repo

* TP-0000 | intialize houston repo
2023-03-29 00:01:17 +05:30