oncall-engine/engine/apps/alerts
Vadim Stepanov 29d532e40d
Improve APIs for creating/updating direct paging integrations (#2603)
# What this PR does

- Disallow creating direct paging integrations for a team that already
has one + make sure this constraint is also enforced on update
- Refactor some direct paging API parts to be more reusable & simple
- Add tests

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-21 10:01:58 +00:00
..
escalation_snapshot Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
grafana_alerting_sync_manager continue addressing mypy violations (#2170) 2023-06-27 10:23:08 +00:00
incident_appearance Update Slack "invite" feature to use direct paging (#2562) 2023-07-18 08:36:11 +00:00
incident_log_builder modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
migrations fix migrations that were causing issues (#2581) 2023-07-19 06:20:39 -04:00
models Improve APIs for creating/updating direct paging integrations (#2603) 2023-07-21 10:01:58 +00:00
tasks remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
tests Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
constants.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
integration_options_mixin.py Remove INTEGRATIONS_TO_REVERSE_URL_MAP (#2533) 2023-07-17 04:43:24 +00:00
paging.py Update Slack "invite" feature to use direct paging (#2562) 2023-07-18 08:36:11 +00:00
representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
signals.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
utils.py Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00