Commit Graph

47 Commits

Author SHA1 Message Date
Vijay Joshi
8cd72b46a3 INFRA-2887 : Upsert users cron refactor (#412)
* INFRA-2887 : Upsert users cron refactor

* INFRA-2887 : Review changes

* INFRA-2887 : added UT's

* INFRA-2887 : Second round review changes

* INFRA-2887 : Add default ack

* INFRA-2887 : Add default ack

* INFRA-2887 : make flow async
2024-04-02 16:25:34 +05:30
Vijay Joshi
15c25eeae3 INFRA-2887 : auto archive refactor (#410)
* INFRA-2887 : Refactor auto escalate

* INFRA-2887 : Old cron cleanup and waitgroup refactor

* INFRA-2887 : Remove redundant nil check

* INFRA-3101 : aDD UT'S AND RETRYABLE LOGIC

* INFRA-2887 : review comments
2024-03-28 15:09:44 +05:30
Vijay Joshi
2eba625b0d INFRA-2888 : Added custom metrics on all major flows (#393)
* INFRA-2888 : Added alerts on all major flows

* INFRA-2888 : Remove unnecessary space

* INFRA-2888 : Metric handler

* INFRA-2888 : Review changes

* INFRA-2888 : Build fix

* INFRA-2888 : Code cleanup

* INFRA-2888 : Review comments round 1

* INFRA-2888 : Err msg changes

* INFRA-2888 : task to job in name
2024-03-12 19:56:52 +05:30
Shashank Shekhar
36d590221c INFRA-2829 | Implemented transaction in create incident flow (#371)
* INFRA-2829 | Implemented transaction in create incident flow

* INFRA-2829 | created util func for rollback

* INFRA-2829 | removed redundant cod to create slack channel
2024-02-16 14:47:22 +05:30
Vijay Joshi
34596e9a38 TP-55808 : On-call mid-term fix for failure when not not in channel for team update and get conversation history (#361)
* TP-55808 : Add Houston Bot to channel on to avoid get conversation history error

* TP-55808 : Add mid term fix to set topic failure

* TP-55808 : Add TO-DO
2024-02-02 17:11:31 +05:30
Gullipalli Chetan Kumar
8e7619f972 TP-52454 : Created Zenduty integration (#348)
* TP-52454| created zenduty integration

* TP-52454| added migration script for external team table

* TP-52454| added extra logs

* TP-52454| modified logs

* TP-52454|added extra logs

* TP-52454| changed post url for zenduty

* TP-52454| fixed bugs in zenduty client

* TP-52454| created constants for environmental varibales

* TP-52454| enabled zenduty if severity is less than or equal to the defined config
2024-01-12 14:24:19 +05:30
Gullipalli Chetan Kumar
aeb572f47e TP-45807 : Sending google transcripts to gen ai (#315)
* created service for sending google transcripts to gen ai

* TP-45807| resolved bugs in drive service tests

* TP-45807| unit tests for getting conversation data function

* creating driveservice in app context and passing to rca service

* modified the unit tests to accomodate driveservicemock

* resolved merge conflicts

* resolved merge conflicts
2023-12-26 14:28:27 +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
Gullipalli Chetan Kumar
f31c75a1fb TP-51771 : Created Maverick Client (#333)
* TP-51771| created maverick client

* TP-51771| added check for empty data response form maverick

* made maverick client generic
2023-12-20 15:12:39 +05:30
Vijay Joshi
a40785213b TP-50685 : Krakatoa Integration Phase 2 - Fetch CSV files from monitoring service and post CSV files to Slack (#321)
Krakatoa Integration Phase 2
2023-12-13 16:54:34 +05:30
Vijay Joshi
bcb352b5b6 BUild fix (#319) 2023-12-12 11:08:19 +05:30
Vijay Joshi
662a7c3446 TP-47449 : Added socket mode client wrapper (#316)
Added socket mode client wrapper
2023-12-12 10:40:36 +05:30
Sriram Bhargav
53da5c81b0 TP-48508 | Adding helper to download files form a google drive directory (#305)
* TP-48508 | Adding helper to download files form a google drive directory
2023-12-07 17:24:13 +05:30
Vijay Joshi
120d508a05 Incident Service Integration with monitoring service client for Houston-Krakatoa integration (#302)
Incident Service Integration with monitoring service client for Houston-Krakatoa integration (#302)
2023-12-05 15:49:13 +05:30
Shashank Shekhar
428900b58b TP-48564 | Added Jira client with search JQL api (#303) 2023-12-04 12:12:52 +05:30
Sriram Bhargav
bf5e72cb05 TP-47112 | Adding client for monitoring service (#300)
* TP-47112 | Adding client for monitoring service

* TP-47112 | Adding unit tests for file utils

---------

Co-authored-by: Md Anees <md.anees@navi.com>
2023-11-30 14:59:33 +05:30
Sriram Bhargav
25c749a90e TP-47105 | Documentservice interface fix (#285) 2023-11-17 11:06:25 +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
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
a9ffffc31a TP-45730 | creating a global logger (#263) 2023-11-02 13:11:52 +05:30
Shashank Shekhar
5022f4e2cc TP-39196 | fixed empty createdBy and updatedBy in houston-ui in case it was done by a non slack user (crm agent) (#138) 2023-08-25 11:55:49 +05:30
Tushar Kumar Saha
64a30d5081 TP-12345 | Rp/diagnostic bot (#90) 2023-06-13 03:23:24 +05:30
Shubham Kirve
b135eade9c Revert "Revert "TP-0000 | restricting incident creation from private channels"" (#63)
* Revert "Revert "TP-0000 | restricting incident creation from private channels (#60)" (#62)"

This reverts commit b3eed5dd63.

* TP-0000 | allow incident creation from channels where houston is invited

* TP-0000 | renaming functions

* TP-0000 | making desc mandatory
2023-05-11 17:56:34 +05:30
Abhijeet Gupta
b3eed5dd63 Revert "TP-0000 | restricting incident creation from private channels (#60)" (#62)
This reverts commit 3b00d91e48.
2023-05-11 01:20:38 +05:30
Shubham Kirve
3b00d91e48 TP-0000 | restricting incident creation from private channels (#60)
* TP-0000 | restricting incident creation from private channels

* TP-0000 | handling null channel info

* TP-0000 | updating name of function

* TP-0000 | refactoring codee
2023-05-10 14:22:37 +05:30
Shubham Kirve
75934d92bc TP-0000 | participant limit fix (#55)
* TP-0000 | setting limit of 10 in get users api

* TP-0000 | fetching all users by splitting them
2023-05-04 21:41:01 +05:30
chandresh pancholi
95c1c72771 TP-12345|adding slack topic while creating channel (#51)
* TP-12345|adding slack topic while creating channel

* TP-12345|create incident request api update
2023-05-03 12:54:59 +05:30
Shubham Kirve
15962a7379 TP-0000 | handling incident created through external service (#52) 2023-05-01 16:28:08 +05:30
Shubham Kirve
65913a8644 adding lastupdatedBy in team and severity, fixing empty user list issue (#40)
* TP-0000 | fixing get incident issue

* TP-0000 | adding lastupdatedBy in team and severity, fixing empty user list issue

* TP-0000 | reformatting

* TP-0000 | reformatting

* TP-0000 | reformatting

* TP-0000 | reformatting
2023-04-26 22:14:47 +05:30
Shubham Kirve
e6b3e3a269 optimizing get incident api (#35)
* TP-0000 | invite oncall while incident creation

* TP-0000 | chaning naming on test environment

* TP-0000 | adding log in invite user function

* TP-0000 | renaming query params

* TP-0000 | updating user response

* TP-0000 | updating user response

* TP-0000 | renaming header

* TP-0000 | renaming header

* TP-0000 | renaming header

* TP-0000 | optimizing get incidents

* TP-0000 | removing unwanted changes

* TP-25630 | Removing unwanted changes
2023-04-26 00:11:07 +05:30
Abhijeet Gupta
131fe8ea45 TP-0000 | ui-fix (#32) 2023-04-25 22:56:36 +05:30
Shubham Kirve
5ebd088786 TP-0000 | updating user response contract, filter api contract (#27)
* TP-0000 | invite oncall while incident creation

* TP-0000 | chaning naming on test environment

* TP-0000 | adding log in invite user function

* TP-0000 | renaming query params

* TP-0000 | updating user response

* TP-0000 | updating user response
2023-04-24 22:19:45 +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
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
Shubham Kirve
753228eb77 Shifting postgres/service to separate repo (#14)
* TP-0000 | shifting postgres service to separate repo folder

* TP-0000 | removing unwanted file

* TP-0000 | renaming repo to model

* TP-0000 | renaming repo to model

* TP-0000 | updating role.go
2023-04-12 21:46:03 +05:30
Ravi Chandora
4f74943cf9 TP-0000 | Code Refactor (#10) 2023-04-10 17:30:28 +05:30
Abhijeet Gupta
26cbaa29aa TP-0000 | Resolve time (#9) 2023-03-31 18:14:50 +05:30
Abhijeet
9f12ad25e5 TP-0000 | Working on it log 2023-03-31 16:53:02 +05:30
Abhijeet Gupta
267b91036e TP-0000 | Default ack (#8) 2023-03-31 16:51:20 +05:30
Abhijeet Gupta
60f1b941b1 TP-0000 | sev tat (#7) 2023-03-31 03:22:48 +05:30
Abhijeet Gupta
929129b485 TP-0000 | Cron Job (#6) 2023-03-31 03:07:33 +05:30
Shubham Kirve
e1e19568cf TP-0000 | tagging oncall handle in incident and inviting oncall person to channel (#5)
* TP-0000 | removing hardcoding of team type

* TP-0000 | adding oncall to incident
2023-03-31 02:49:52 +05:30
Abhijeet
9a6a08f47c TP-0000 | remove dead code 2023-03-31 00:33:39 +05:30
Abhijeet
b2f1145a7d TP-0000 | Fix 2023-03-31 00:29:21 +05:30
shubham kirve
eb4aa510c1 TP-0000 | adding color code to message 2023-03-30 01:50:26 +05:30
Ravi Chandora
25aa651515 TP-0000 | code refactoring (#1) 2023-03-29 20:57:20 +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