373 Commits

Author SHA1 Message Date
Vijay Joshi
9448e8ec83 INFRA-3529 - Truncated title in slack channel name (#433)
* INFRA-3529 - Truncated title in slack channel name

* INFRA-3529 : Minor fix

* INFRA-3529 : Dashboard inconsistency fix

* INFRA-3529 : Remove role from daily reminder message
2024-07-09 15:07:43 +05:30
Amit Jambotkar
820357f23b INFRA-3437 : Severity changes fix (#432)
* INFRA-3437|Amit|Severity reduction

* INFRA-3437|Amit|Severity reduction

* INFRA-3437|Amit|Severity reduction
2024-06-18 20:14:14 +05:30
Amit Jambotkar
4e3e7dd253 INFRA-3437|Amit|Severity reduction (#431) 2024-06-18 19:22:21 +05:30
Vijay Joshi
ee22f4790f INFRA-3437 : UT failure fix (#430)
* INFRA-3437 : Compilation error fix

* INFRA-3437 : UT failure fix
2024-06-18 18:08:43 +05:30
Vijay Joshi
4ccbc55c60 INFRA-3437 : Compilation error fix (#429) 2024-06-18 18:01:30 +05:30
Amit Jambotkar
3a3a0a7c26 INFRA-3437|Amit|Severity reduction (#427)
* INFRA-3437|Amit|Severity reduction

* INFRA-3437|Amit|Severity reduction

* INFRA-3437|Amit|Severity reduction
2024-06-18 17:54:10 +05:30
Vijay Joshi
3186979c34 INFRA-3362 : Filters based on reporting teams and products (#428)
* INFRA-3362 : Filters based on reporting teams and products

* INFRA-3362 : Add grouping in query

* INFRA-3362 : Fix formatting

* INFRA-3362 : Fix formatting
2024-06-18 15:01:28 +05:30
Sriram Bhargav
4950c48038 TP-63844 | Update channel name logic (#426)
* TP-63844 | Update channel name logic
2024-06-06 17:15:10 +05:30
Vijay Joshi
dbf408380f INFRA-3233 : Remove create role (#425) 2024-05-27 11:39:31 +05:30
Vijay Joshi
f00757c590 INFRA-3233 : Grant dbz heartbeat access (#424) 2024-05-27 11:25:37 +05:30
Vijay Joshi
9a0d844e11 INFRA-3233 : Add dbz hearbeat (#422) 2024-05-26 11:51:03 +05:30
Vijay Joshi
b91d71e817 INFRA-3012 : Change ssl to require (#421) 2024-04-26 15:37:19 +05:30
Vijay Joshi
0d4400fc77 INFRA-3012 : migration ssl fix (#419) 2024-04-26 15:16:49 +05:30
Vijay Joshi
29f0c7bacc INFRA-3012 : Houston topic changes according to new construct (#415)
* INFRA-3012 : Houston title changes according to new construct

* INFRA-3012 : add titkle change for resolve and duplicate case

* INFRA-3012 : Failing tests fix

* INFRA-3012 : Added migration script for backfilling
2024-04-26 14:52:12 +05:30
dependabot[bot]
bd5e479e0f Bump golang.org/x/net in the go_modules group across 1 directory
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-21 05:55:01 +00:00
Vijay Joshi
1f1679b272 INFRA-3126 : Cleanup of deprecated API's and dead code (#414)
* INFRA-3126 : Cleanup of deprecated API's and dead code

* INFRA-3126 : More cleanup
2024-04-15 17:28:39 +05:30
Vijay Joshi
0ed941abc3 INFRA-3151 : Add unarchival listener to add houston bot to incident slack channel (#416)
* INFRA-3151 : Add unarchival listener to add houston bot to incident slack channel

* INFRA-3151 : review comments

* INFRA-3151 : format fix
2024-04-12 18:53:06 +05:30
Vijay Joshi
602db7741c INFRA-2887 : Incident reminder dm cron refactor/re-implementation (#413)
* INFRA-2887 : Incident reminder cron refactor/reimplementation

* INFRA-2887 : remove cron code

* INFRA-2887 : remove comment

* INFRA-2887 : Minor changes

* INFRA-2887 : PR comments

* INFRA-3121 : CLEANUP CRON, remove shedlock table and add UT's

* INFRA-2887 : Add default ack

* INFRA-2887 : Handler changes
2024-04-02 18:49:11 +05:30
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
0d613a4bfb INFRA-2887 : SLA breach heads up cron refactor/reimplementation (#411)
* INFRA-2887 : SLA breach heads up cron refactor/reimplementation

* INFRA-2887 : Code review comments
2024-04-01 19:18:38 +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
a8a0d44da9 INFRA-3098 : Auto escalate refactor (#409)
* INFRA-3098 : Auto escalate refactor

* INFRA-3098 : Delete old cron code

* INFRA-2887 : File and api name changes

* INFRA-2887 : Code review comments
2024-03-27 19:06:22 +05:30
Vijay Joshi
164a29cb86 INFRA-2887 : Added api for post team metrics (#407)
* INFRA-2887 : Added api for post team metrics

* INFRA-2887 : Separate services into cron specific purpose

* INFRA-2887 : PR Review changes

* INFRA-2887 : Old cron cleanup

* INFRA-2887 : Add util fn

* INFRA-2887 : Ashvin's review comments

* INFRA-2887 : empty check on team channel
2024-03-25 14:26:44 +05:30
Shashank Shekhar
b88006f469 INFRA-2866 | removing houston user check from get user products API (#408) 2024-03-22 17:17:42 +05:30
Shashank Shekhar
256fd54d36 Revert "INFRA-2830 | adding version column in incident entity (#403)" (#406)
This reverts commit 3945abcb8f.
2024-03-21 10:38:40 +05:30
Shashank Shekhar
5a22250533 INFRA-3077 | sorting reporting team list by name (#405) 2024-03-20 18:37:05 +05:30
Shashank Shekhar
d0e7f8dbbe INFRA-2830 | adding version column in incident entity (#404) 2024-03-20 16:39:41 +05:30
Shashank Shekhar
3945abcb8f INFRA-2830 | adding version column in incident entity (#403) 2024-03-20 16:26:56 +05:30
Shashank Shekhar
38d5095fd9 INFRA-2866 | Fix inactive teams (#401)
* INFRA-2866 | adding condition to fetch only active teams

* INFRA-2866 | adding condition to fetch only active teams
2024-03-19 17:49:37 +05:30
Shashank Shekhar
233c632d38 INFRA-2866 | Create and update incident with assigner and responder from slack (#394)
* INFRA-2866 | create incident modal with product

* INFRA-2866 | Update product flow

* INFRA-2866 | Resolving review comments

* INFRA-2866 | Adding default values for product, assigner and responder

* INFRA-2866 | bug fix in getting assigner and responder team

* INFRA-2866 | bug-fix: users in no team are not getting products

* INFRA-2866 | adding log lines

* INFRA-2866 | adding assigner team members into incident

* INFRA-2866 | updated help command response text

* INFRA-2866 | adding assigner team members by severity

* INFRA-2866 | updating product list for users with no product

* INFRA-2866 | assigner teams = (teamsOfUser ++ teamsOfSelectedProducts)

* INFRA-2866 | renamed assigner to reporting team

* INFRA-2866 | query to seed product as others for current open incidents without any product
2024-03-19 16:26:30 +05:30
Vijay Joshi
e9845b3a38 INFRA-3026 : Oncall fix: global severity users not gettin added in incident creations (#400) 2024-03-19 12:35:02 +05:30
dependabot[bot]
947a57716d Bump the go_modules group across 1 directory with 2 updates
Bumps the go_modules group with 2 updates in the / directory: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and google.golang.org/protobuf.


Updates `github.com/jackc/pgx/v5` from 5.3.1 to 5.5.4
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.5.4)

Updates `google.golang.org/protobuf` from 1.31.0 to 1.33.0

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  dependency-group: go_modules-security-group
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 07:07:03 +00:00
Vijay Joshi
f40eb669a3 INFRA-3026 : Skip already_in_channel error for alerting during auto escalation (#398) 2024-03-14 14:44:57 +05:30
Vijay Joshi
04252b8248 INFRA-3026 : Make email regex lenient (#396) 2024-03-14 11:03:39 +05:30
Vijay Joshi
9e97bc8d98 INFRA-3009 : Exclude monitoring state incidents from auto escalation (#395)
* INFRA-3009 : Exclude monitoring state incidents from auto escalation

* INFRA-3009 : Constant for sla statuses
2024-03-13 16:27:24 +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
Vijay Joshi
b7f9e6b7e1 Revert "INFRA-2931 : Add null state archival cleanup of channels (#390)" (#392)
This reverts commit 1eea987453.
2024-03-07 11:05:24 +05:30
Vijay Joshi
1eea987453 INFRA-2931 : Add null state archival cleanup of channels (#390) 2024-03-06 15:02:06 +05:30
Shashank Shekhar
8a9c15cccc INFRA-3000 | FIX: adding oncall into houston incidents (#391) 2024-03-06 14:56:51 +05:30
Vijay Joshi
793c9183ec INFRA-2931 : Auto archival of all severity incidents (#387)
* INFRA-2931 : Basic setup for auto archival

* INFRA-2931 : Cron implemented for auto archival

* INFRA-2931 : query based on config map

* INFRA-2931 : change query to is false

* INFRA-2931 : Minor changes in names and duplicate archival conditions
2024-03-05 19:25:18 +05:30
Shashank Shekhar
de7639d6fe INFRA-2866 | moving update team modal ack before async workflow (#389) 2024-03-05 16:40:17 +05:30
Shashank Shekhar
00b9459a96 INFRA-2866 | renaming variables (#388) 2024-03-05 15:43:05 +05:30
Shashank Shekhar
d4d7da3328 INFRA-2866 | Create and update incident api changes (#386)
* INFRA-2866 | added APIs to get product for user and to get asigner and responder teams

* INFRA-2866 | added create-incident-v3 API

* INFRA-2866 | migration script to fill team_severity, team_user and team_user_severity tables

* INFRA-2866 | adding team severity users upon team and severity update

* INFRA-2866 | using update team v2 in slack action

* INFRA-2866 | update product flow

* INFRA-2866 | fixed user not invited issue

* INFRA-2866 | updated API paths

* INFRA-2866 | using constant for header fetching

* INFRA-2866 | PR review changes
2024-03-05 15:26:00 +05:30
Vijay Joshi
8ad6a842f8 INFRA-2971 : Add member api segregated (#385)
* INFRA-2971 : Add member api segregated

* INFRA-2971 : pr review changes

* INFRA-2971 : Message updated
2024-03-05 13:03:56 +05:30
Vijay Joshi
eda6e689e3 INFRA-2901 : rename migration (#384) 2024-02-28 19:40:48 +05:30
Vijay Joshi
17acefb2a8 INFRA-2901 : Add severity team function for incident use cases (#383)
* INFRA-2901 : Add severity team function for incident use cases

* INFRA-2901 : Add migration scripts as single and add nullability in bot and channel response

---------

Co-authored-by: Shashank Shekhar <shashank.shekhar@navi.com>
2024-02-28 18:20:10 +05:30
Shashank Shekhar
c349cd65d5 INFRA-2945 | incident_products entity, repo, service and handler (#382)
* INFRA-2945 | incident_products entity, repo, service and handler

* INFRA-2945 | added product details in the incident DTO and removed incident_product_handler
2024-02-28 14:35:22 +05:30
Vijay Joshi
983c743609 INFRA-2873 : Team Management V2 - Update team, remove member, make manager, get team details Phase 2 changes (#381)
* INFRA-2873 : Completed till update team and remove member flow

* INFRA-2873 : Complete make manager, remove member, get teams flow

* INFRA-2873 : Minor auth service and rebase changes

* INFRA-2873 : Minor changes

* INFRA-2873 : Minor changes

* INFRA-2873 : PR Review changes

* INFRA-2873 : Added UTs

* INFRA-2873 : Second round review changes
2024-02-27 17:02:22 +05:30
Shashank Shekhar
9b1ff52994 INFRA-2922 | product-team orchestration service (#379)
* INFRA-2922 | product-team orchestration service

* INFRA-2922 | UT fixes
2024-02-26 13:29:49 +05:30
Vijay Joshi
7c1282711b INFRA-2873 : Severity wise team member list - Team Management Module - Add team (#372)
* INFRA-2873 : Boilerplate setup for team management revamp:

* INFRA-2873 : Complete till add team flow

* INFRA-2873 : Added unit tests and migration scripts

* INFRA-2873 : Code review comments

* INFRA-2873 : Add getter for team severity

* INFRA-2873 : Second round of review
2024-02-23 16:05:20 +05:30