oncall-engine/engine/apps/user_management/models
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
..
__init__.py Add basic organization moved exception handling and middleware 2022-10-20 15:04:58 -06:00
organization.py Peridic chatops proxy sync (#4565) 2024-06-24 04:35:59 +00:00
region.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
team.py Setup team uniqueness at DB level (#4396) 2024-05-27 17:41:20 +00:00
user.py Google OAuth2 flow + fetch Google Calendar OOO events (#4067) 2024-04-02 14:59:03 -04:00