Commit Graph

245 Commits

Author SHA1 Message Date
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
6e783c993e TP-53720 : Sending RCA summary in slack conversation data (#350)
* TP-53720| sending rca summary in slack conversation data

* TP-53720| updated time stamps

* TP-53720
2024-01-10 18:37:58 +05:30
Gullipalli Chetan Kumar
e4c4fec988 TP-50862 | Exposed an api to get slack conversation pre signed url (#349)
* TP-50862| created api to get slack conversation pre signed url

* TP-50862| added unit tests

* TP-50862| fixed authentication bug
2024-01-09 10:01:33 +05:30
Ajay Devarakonda
72b6271947 TP-52077 | Implemented retry option for rca generation failure (#344)
* TP-38709 | Merging the changes to master on the logfix

* TP-52077 | Added on demand rca generation entry point and its implementation

* TP-52077 | slack client ack request issue fix

* TP-52077 | implemented retry button for rca generation failure

* TP-52077 | Added rca generation unit tests

* TP-52077 | Addressed review comments

* TP-52077 | Added retyr button on rca generation failure incoming webhook

* TP-52077 | Fixed unit test conflicts
2024-01-05 17:02:53 +05:30
Gullipalli Chetan Kumar
d8fc4380ff TP-52739| added ordering of team members in get teams api (#343) 2023-12-28 18:12:49 +05:30
Ajay Devarakonda
adb2795b12 TP-51651 | Fixed error logging for delete event skipping case (#340)
* TP-38709 | Merging the changes to master on the logfix

* TP-51651 | Fixed merge conflicts issue along with error optimisation

* TP-51651 | Fixed error handling for empty record not found use case while fetching rca link
2023-12-27 12:05:08 +05:30
Shashank Shekhar
777437652e TP-52227 | Deleting deprecatd API (#339) 2023-12-27 10:45:11 +05:30
Shashank Shekhar
d962754050 TP-52227 | adding custom metric for slack channel creation failures (#338) 2023-12-26 14:34:22 +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
Gullipalli Chetan Kumar
74c1b88b3d TP-51709 : Enabled Marking an Incident as Duplicate through update Incident API (#336)
* TP-51709| created mark-duplicate-incident-status function

* TP-51709| made the duplicate status code modular
2023-12-22 14:18:43 +05:30
Ajay Devarakonda
c9785af64b TP-51651 | Implemented delete event (#335)
* TP-38709 | Merging the changes to master on the logfix

* TP-51651 | Added implementation for deleting event on incident resolve and duplicate status updates

* TP-51651 | Added delete event as go routine

* TP-51651 | Added go routine in resolve action as well

* TP-51651 | Fixed naming conventions

* TP-51651 | Fixed naming conventions
2023-12-22 12:05:47 +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
Ajay Devarakonda
1750ac3c18 TP-51655 | Implementation for creating conference event when severity is updated to other than sev3 (#334)
* TP-38709 | Merging the changes to master on the logfix

* TP-51652 | Added condition to not create conference events for sev3 severity incidents

* TP-51653 | Added condition to skip krakatoa workflow for sev 3 incidents

* TP-51655 | Added implementation to create google meet when severity is changed from sev3

* TP-51655 | Updated wait group count

* TP-51655 | Removed service as a param
2023-12-19 18:17:39 +05:30
Ajay Devarakonda
2f77715af2 TP-51653 | Added condition to skip Krakatoa flow for sev 3 incidents (#330)
* TP-38709 | Merging the changes to master on the logfix

* TP-51653 | Added condition to skip krakatoa workflow for sev 3 incidents
2023-12-19 11:57:56 +05:30
Ajay Devarakonda
4c0fbceb33 TP-51197 | Fixed meeting link display in blaze channel (#326)
* TP-38709 | Merging the changes to master on the logfix

* TP-51197 | Fixed meeting link display on blaze channel

* TP-51197 | Fixed label for meeting not available
2023-12-15 14:46:21 +05:30
Sriram Bhargav
be6a5942f2 TP-48508 | Fixing context canceled issue (#327) 2023-12-15 14:42:45 +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
Ajay Devarakonda
51e249cef6 TP-51020 | Added help commands button in incident channel section (#323)
* 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
2023-12-14 14:39:52 +05:30
Ajay Devarakonda
0f46d506e3 TP-49333 | Fixed auto escalation message while creating incident (#306)
* TP-38709 | Merging the changes to master on the logfix

* TP-49333 | Fixed SLA message while creating incident

* TP-49333 | Fixed PR review comments

* TP-49333 | Fixed merge conflicts
2023-12-13 18:39:15 +05:30
Ajay Devarakonda
600c238a0c TP-50597 | implemented get rca link api to support showing rca link in ui (#310)
* TP-38709 | Merging the changes to master on the logfix

* TP-50597 | Impelemented get rca link api to support Houston UI

* TP-50597 | Modified incident response to return rca link if exists or else return blank value

* TP-50597 | removed dead code

* TP-50597 | reverted changes for create incident workflow

* TP-50597 | removed cyclic dependency and added unit tests
2023-12-13 18:26:13 +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
Sriram Bhargav
53895c243b TP-48508 | Adding helper to download files form a google drive directory (#320) 2023-12-12 17:01:03 +05:30
Gullipalli Chetan Kumar
94f1eaca2d TP-50863| adding user email field to gen ai response data (#317) 2023-12-12 13:42:23 +05:30
Gullipalli Chetan Kumar
14b360d0e5 TP-47107| added restriction to not update incident to same status (#318) 2023-12-12 13:41:24 +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
e7d60fa70b TP-49969 | Adding helper in monitoring service client to fetch impacted customers (#309)
* TP-49969 | Adding helper in monitoring service client to fetch impacted customers

* TP-49969 | Fixing file extension issue
2023-12-12 10:27:04 +05:30
Ajay Devarakonda
5e9c243cfa TP-48512 | Fixed tag value indexes (#313)
* TP-38709 | Merging the changes to master on the logfix

* TP-48512 | Added button element for RCA section and implemented fill rca details

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Merging the changes to master on the logfix

# Conflicts:
#	cmd/app/handler/slack_handler.go

* TP-48512 | Added button element for RCA section and implemented fill rca details

# Conflicts:
#	common/util/common_util.go
#	common/util/constant.go
#	internal/processor/action/incident_resolve_action.go
#	internal/processor/action/incident_update_jira-links_action.go
#	internal/processor/action/incident_update_resolution_text_action.go
#	internal/processor/action/view/incident_resolution_text.go
#	internal/processor/action/view/incident_section.go
#	service/slack/slack_service.go

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

# Conflicts:
#	Makefile
#	service/incident/incident_service_v2_interface.go

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Added sql migration script for adding tags

* TP-48512 | Updated sql migration script for adding tags

* TP-48512 | Fixed merge conflicts and updated tags in sql migration script

* TP-48512 | Fixed migration duplicate

* TP-48512 | Fixed migration fkey constraints

* TP-48512 | Fixed tag indexes of tags
2023-12-07 18:53:24 +05:30
Ajay Devarakonda
e1c773df3e TP-48512 | Foreign key constraint fix (#312)
* TP-38709 | Merging the changes to master on the logfix

* TP-48512 | Added button element for RCA section and implemented fill rca details

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Merging the changes to master on the logfix

# Conflicts:
#	cmd/app/handler/slack_handler.go

* TP-48512 | Added button element for RCA section and implemented fill rca details

# Conflicts:
#	common/util/common_util.go
#	common/util/constant.go
#	internal/processor/action/incident_resolve_action.go
#	internal/processor/action/incident_update_jira-links_action.go
#	internal/processor/action/incident_update_resolution_text_action.go
#	internal/processor/action/view/incident_resolution_text.go
#	internal/processor/action/view/incident_section.go
#	service/slack/slack_service.go

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

# Conflicts:
#	Makefile
#	service/incident/incident_service_v2_interface.go

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Added sql migration script for adding tags

* TP-48512 | Updated sql migration script for adding tags

* TP-48512 | Fixed merge conflicts and updated tags in sql migration script

* TP-48512 | Fixed migration duplicate

* TP-48512 | Fixed migration fkey constraints
2023-12-07 18:39:58 +05:30
Ajay Devarakonda
57466e18ca TP-48512 | Fixed duplicate in migration script (#311)
* TP-38709 | Merging the changes to master on the logfix

* TP-48512 | Added button element for RCA section and implemented fill rca details

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Merging the changes to master on the logfix

# Conflicts:
#	cmd/app/handler/slack_handler.go

* TP-48512 | Added button element for RCA section and implemented fill rca details

# Conflicts:
#	common/util/common_util.go
#	common/util/constant.go
#	internal/processor/action/incident_resolve_action.go
#	internal/processor/action/incident_update_jira-links_action.go
#	internal/processor/action/incident_update_resolution_text_action.go
#	internal/processor/action/view/incident_resolution_text.go
#	internal/processor/action/view/incident_section.go
#	service/slack/slack_service.go

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

# Conflicts:
#	Makefile
#	service/incident/incident_service_v2_interface.go

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Added sql migration script for adding tags

* TP-48512 | Updated sql migration script for adding tags

* TP-48512 | Fixed merge conflicts and updated tags in sql migration script

* TP-48512 | Fixed migration duplicate
2023-12-07 18:28:30 +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
Ajay Devarakonda
a62ecbe0a5 TP-48512 | Implementation of RCA and tag migration (#296)
* TP-38709 | Merging the changes to master on the logfix

* TP-48512 | Added button element for RCA section and implemented fill rca details

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Merging the changes to master on the logfix

# Conflicts:
#	cmd/app/handler/slack_handler.go

* TP-48512 | Added button element for RCA section and implemented fill rca details

# Conflicts:
#	common/util/common_util.go
#	common/util/constant.go
#	internal/processor/action/incident_resolve_action.go
#	internal/processor/action/incident_update_jira-links_action.go
#	internal/processor/action/incident_update_resolution_text_action.go
#	internal/processor/action/view/incident_resolution_text.go
#	internal/processor/action/view/incident_section.go
#	service/slack/slack_service.go

* TP-48512 | Small fixes

* TP-48512 | adding unit tests

* TP-48512 | added unit tests

# Conflicts:
#	Makefile
#	service/incident/incident_service_v2_interface.go

* TP-48512 | updated color code for rca card

* TP-48512	| Removed duplicate interface

* TP-48512	| Added one more unit test

* TP-48512 | added comments for jira link validation and update

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Fixed merge conflicts

* TP-48512 | Added sql migration script for adding tags

* TP-48512 | Updated sql migration script for adding tags

* TP-48512 | Fixed merge conflicts and updated tags in sql migration script
2023-12-07 14:13:12 +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
Ajay Devarakonda
1cec0657db TP-49982 | Modified incidents to tag already resolved incidents as duplicates (#308)
* TP-38709 | Merging the changes to master on the logfix

* TP-49982 | Modified to accept resolved incidents for duplicating the incidents
2023-12-05 12:16:27 +05:30
Ajay Devarakonda
00fa66d13e TP-50458 | Fixed blank user info issue while creating the incident (#307)
* TP-38709 | Merging the changes to master on the logfix

* TP-50458 | Fixed user info in incident log for creating incident
2023-12-05 12:16:06 +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
35061f5d84 TP-50320 | making create-incident-v2 API workflow async (#304) 2023-12-01 19:31:45 +05:30
Sriram Bhargav
bcc288bb18 TP-47112 | Adding client for monitoring service (#301) 2023-11-30 15:57:57 +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
Vijay Joshi
527ba2c04f TP-44155, TP-47355 : Update incident web refractor + Update severity slack refractor with unit tests (#262)
* TP-44155 : Update incident web refractor

* Resolution of v1 and v2 service calls

* PR review changes

* Rebase fixes

* TP-47355 : Add slack update severity refractor

* Cors fix

* Rebase fix

* Second PR revice changes

* More review changes

* Add concurrency to slack calls

* rebase

* Setup interfaces

* Added unit tests for update incident refractor

* Add more test cases

* Rebase changes

* Fix responder addeb by

* Fix build error

* Fix concurretn slack calls

* Revert rebase bug

* Shorten function length: added slack workflows

* Made fucntion size smaller
2023-11-30 14:24:29 +05:30
Shashank Shekhar
805d45bb34 TP-49403 | restricting set status to Resolved (#299) 2023-11-30 13:39:06 +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
Gullipalli Chetan Kumar
4abb12f71f TP-47360 : Removed deleted_at column, changed text messages (#294)
* removed the deleted_at column and removed one extra space in the resolved,duplicated messages

* changed rca input entity stucture

* changes text in tests of rca service
2023-11-24 16:20:47 +05:30
Gullipalli Chetan Kumar
2dd4d710e5 TP-47360 : Created service for uploading slack conversations to s3 and send request to maverick for generating RCA (#290)
* TP-47360| created services to upload slack conversation to cloud and send urls to generate RCA

* created rca input repository

* TP-47360| enabled generating rca service on resolution

* resolved merge conflicts

* TP-47360| added migration script for creating rca input table

* changed json response structure according to contract

* added unit tests

* removed api to make gen ai call

* made changes in message format posted in slack

* changed entity struct and adding flag to enable rca generation

* attaching title, description and replies related to incident status block

* made design changes in message format
2023-11-24 14:39:34 +05:30
Vijay Joshi
a1d3d0dc39 TP-49039 : Schema changes to remove rca_input_links from rca table (#289) 2023-11-20 13:25:27 +05:30
Sriram Bhargav
28eeac680a TP-47105 | Removing logger input for document service (#287)
* TP-47105 | Removing logger input for documnet service

* TP-47105 | Removing logger input for documnet service
2023-11-17 12:11:30 +05:30
Sriram Bhargav
ebcd074286 TP-47105 | Removing logger input for documnet service (#286) 2023-11-17 11:54:46 +05:30