oncall-engine/engine/apps
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
..
alerts Fix the cause of retry of notify_all and notify_group tasks (#1376) 2023-02-23 09:28:13 +00:00
api Fix/rewrite flaky schedule tests (#1397) 2023-02-23 18:20:51 +00:00
api_for_grafana_incident Include alert details in Grafana Incident alert-group endpoint (#1280) 2023-02-03 13:43:21 +00:00
auth_token Change Organization Deleted/Moved Precedence (#1402) 2023-02-24 11:45:21 +00:00
base Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
email Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
grafana_plugin patch minor sync issue when HTTP 302 is received from Grafana API instance (#1393) 2023-02-23 13:23:57 +00:00
heartbeat Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
integrations Change Organization Deleted/Moved Precedence (#1402) 2023-02-24 11:45:21 +00:00
mobile_app Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
oss_installation Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
public_api Fix/rewrite flaky schedule tests (#1397) 2023-02-23 18:20:51 +00:00
schedules Revert "Revert "Rework schedules cached ical file values"" (#1382) 2023-02-22 07:30:19 +01:00
slack Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
social_auth Rework slack login to check backend before redirecting (#1306) 2023-02-08 09:08:18 -03:00
telegram Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
twilioapp Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
user_management patch minor sync issue when HTTP 302 is received from Grafana API instance (#1393) 2023-02-23 13:23:57 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00