oncall-engine/engine/apps/integrations
Michael Derynck 49946e6a4e
Change Organization Deleted/Moved Precedence (#1402)
# What this PR does
When an organization is migrated to a different cluster it has it's
`migration_destination_slug` set for redirection purposes but it also
needs to be deleted so scheduled tasks for it do not run in the old
cluster. By changing the order so moved has precedence over deleted API
calls will be correctly redirected for moved organizations while the
organization is still considered deleted to suppress tasks that are no
longer needed in the old cluster.

## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
2023-02-24 11:45:21 +00:00
..
metadata Conform URLs (#281) 2022-07-25 09:12:50 -06:00
mixins Change Organization Deleted/Moved Precedence (#1402) 2023-02-24 11:45:21 +00:00
templates Add escalation chain option when creating a direct page alert group (#1143) 2023-01-18 12:58:26 -03:00
tests Allow multiple database and celery broker types (#582) 2022-10-04 09:25:53 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
middlewares.py Add middleware to catch exception for missing integration, reduce spamminess of logs 2022-10-13 17:18:22 -06:00
tasks.py Cleanup ScenarioStep (#1213) 2023-02-21 20:22:11 +01:00
urls.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
views.py 1.1.5.5 -> dev (#1060) 2023-01-03 11:57:16 +08:00