oncall-engine/engine/apps/alerts
Innokentii Konstantinov 17f448c506
Prepare OnCall for Unified Slack App (#4232)
This PR does a bunch of changes to prepare OnCall for Unified Slack App:
1. Install Slack via Chatops-Proxy. This change contains two parts:
getting a Slack install link from chatops-proxy
([code](https://github.com/grafana/oncall/pull/4232/files#diff-437a77d49fc04b92d315651b3df5991000b1ab74cf60aabb21aa77cb2823bf52R46))
and receiving a "slack installed" event from chatops-proxy
([code](https://github.com/grafana/oncall/pull/4232/files#diff-976d106f0962be5c1de5e35582193f68435ed0c17f2defd6bd2857bf6e27f65d)).
Also it means that OnCall doesn't need to register slack_links anymore
when slack is connected/disconnected. These changes are behind
UNIFIED_SLACK_APP_ENABLED flag and should be no-op if flag is not
enabled.
2. Get rid of Multiregionatily restrictions - instrument all slack
interactions with a ProxyMeta - json data telling chatops-proxy where to
route the interaction. Note, that it doesn't apply for "Add to
resolution notes" message action - it will be handled differently in
following PR.
3. Move all chatops-proxy related stuff from common/oncall-gateway to
apps/chatops-proxy

Minor changes:
1. Remove usage of **CHATOPS_V3** flag. Chatops v3 is already released
(It's a refactoring from previous quarter)

---------

Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Rares Mardare <rares.mardare@grafana.com>
2024-06-03 09:07:10 +00:00
..
escalation_snapshot Fix escalation chain webhooks executing when disabled (#4319) 2024-05-07 19:58:49 +00:00
grafana_alerting_sync_manager Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
incident_appearance Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
incident_log_builder Added Outgoing Web hooks to escalation policy log (#4150) 2024-04-05 15:57:48 +00:00
migrations cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
models Minor query optimizations (#4325) 2024-05-08 17:27:36 +00:00
tasks Update escalation auditor logs to expose succeeding count (#4431) 2024-05-31 18:29:31 +00:00
tests Fix order filtering when executing notify all/group steps from snapshot (#4381) 2024-05-23 12:36:28 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py Update alert group state by backsync (#4089) 2024-03-27 12:37:01 +00:00
integration_options_mixin.py Add support for integration additional settings via custom serializer (#4027) 2024-03-07 18:35:11 +00:00
paging.py Add transaction block and callbacks when triggering tasks (#3779) 2024-01-31 09:26:14 -05:00
representative.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
signals.py SNOW external ID (#4076) 2024-03-20 10:54:27 +00:00
utils.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00