oncall-engine/engine/engine
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
..
management/commands Add ability to migrate one org (#3809) 2024-02-01 18:25:36 +08:00
tests Improve performance for deleted integration lookups (#4163) 2024-04-05 16:16:30 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
celery.py Remove kwargs from celery logging (#4316) 2024-05-07 14:29:49 +00:00
included_path.py Add openapi schema generation for internal api (#2771) 2023-08-16 06:13:56 +00:00
integrations_urls.py Add settings to allow detaching integrations server (#3203) 2023-10-26 12:55:02 +00:00
middlewares.py Improve performance for rate-limited, banned and deleted integrations (#4137) 2024-04-04 18:05:34 +00:00
schema.py Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
urls.py Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
views.py Improve performance for deleted integration lookups (#4163) 2024-04-05 16:16:30 +00:00
wsgi.py Instrument requests lib (#4008) 2024-03-05 05:22:34 +00:00