oncall-engine/engine/apps/chatops_proxy
Innokentii Konstantinov 48b7eca26d
Peridic chatops proxy sync (#4565)
Adds a pediodic job to sync tenants with chatops-proxy. Register request
will behave as upsert, allowing us to backfill new tenant's columns:
stack_id and stack_slug. Upsert is not merged on chatops-proxy, so
that's why task handling 409 status on /tenants/register request.
On top of that, I did small refactoring and introduced a new
register_oncall_tenant func, which receives org as an argument to not to
write `register_tenant(org.uuid, org.stack_id, org.stack_slug,.....)`
every time.
Part of https://github.com/grafana/oncall-gateway/issues/247
Need to be merged after https://github.com/grafana/oncall/pull/4559.
2024-06-24 04:35:59 +00:00
..
events Handle slack uninstall event from chatops-proxy (#4510) 2024-06-14 07:46:14 +00:00
tests Handle slack uninstall event from chatops-proxy (#4510) 2024-06-14 07:46:14 +00:00
__init__.py Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
client.py Post stack slug to chatops proxy (#4559) 2024-06-21 06:40:34 +00:00
register_oncall_tenant.py Peridic chatops proxy sync (#4565) 2024-06-24 04:35:59 +00:00
tasks.py Peridic chatops proxy sync (#4565) 2024-06-24 04:35:59 +00:00
urls.py Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00
utils.py Peridic chatops proxy sync (#4565) 2024-06-24 04:35:59 +00:00
views.py Prepare OnCall for Unified Slack App (#4232) 2024-06-03 09:07:10 +00:00