oncall-engine/engine/apps/alerts/tests
Yulya Artyukhina 58a9a39efe
Improve getting/updating contact points for Grafana Alerting integration (#2742)
This PR improves Grafana Alerting integration:
- get alerting contact points "on fly" instead of keeping them in db
- add ability to connect more than one contact point
- add ability to create new contact point on create Grafana Alerting
integration
- show warnings in integration settings for non-active contact points
- remove creation alerting notification policies on create Grafana
Alerting integration

## 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)

---------

Co-authored-by: Rares Mardare <rares.mardare@grafana.com>
2023-08-18 12:12:29 +02:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
factories.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
test_acknowledge_reminder.py Fix Slack acknowledgment reminders (#2769) 2023-08-11 09:41:56 +00:00
test_alert.py Fix "Continue escalation if >X alerts per Y minutes" escalation step (#2636) 2023-07-26 13:33:24 +01:00
test_alert_group.py remove some references to amixr (#2698) 2023-08-01 14:22:42 -04:00
test_alert_group_renderer.py remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
test_alert_manager.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_receiver_channel.py Add alertmanager integration for heartbeat support (#2807) 2023-08-17 13:22:37 +00:00
test_channel_filter.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_check_escalation_finished_task.py minor improvements for check_escalation_finished celery task (#2554) 2023-07-17 14:04:53 +00:00
test_custom_button.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
test_custom_webhook_result.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
test_default_templates.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
test_escalation_chain.py Allow changing team for escalation chains (#1658) 2023-03-30 10:43:00 +01:00
test_escalation_policy_snapshot.py Refactoring schedule final events (#2651) 2023-07-28 11:59:33 +00:00
test_escalation_snapshot.py Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
test_escalation_snapshot_mixin.py Fix "Continue escalation if >X alerts per Y minutes" escalation step (#2636) 2023-07-26 13:33:24 +01:00
test_grafana_alerting_sync.py Improve getting/updating contact points for Grafana Alerting integration (#2742) 2023-08-18 12:12:29 +02:00
test_incident_log_builder.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_maintenance.py remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
test_notify_ical_schedule_shift.py Filter out untaken swaps from final schedule and shift notifications (#2748) 2023-08-04 17:43:54 +00:00
test_notify_user.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_paging.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
test_representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_silence.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
test_utils.py Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00
test_wipe.py World, meet OnCall! 2022-06-03 08:09:47 -06:00