oncall-engine/engine/apps/api/tests
Vadim Stepanov 16bbfbbe73
Alert list view & caching rework (#216)
* remove cache usage in AlertGroupView

* remove CustomSearchFilter

* remove caching for alerts

* remove readonly db setup

* render templates on alert creation

* serialize only necessary fields on alert groups list

* optimize AlertGroupListSerializer

* return on-demand templating for alerts

* return on-demand templating for alert groups

* use CursorPaginator

* remove templating on alert create

* pass alert to AlertGroupWebRenderer

* alert_count -> alerts_count

* make sql joins after pagination

* add migration

* bring alert.save() back

* fix tests

* fix tests

* fix tests

* add perpage query param

* add cursor pagination to incidents page

* remove cached_render_for_web usage

* post merge fix

* keep cursor

* lint

* remove get_alert_groups_and_days_for_previous_same_period

* fix pagination on navigate

* refine search_fields on AlertGroupView

Co-authored-by: Maxim <hello.makson@gmail.com>
Co-authored-by: Maxim <maxim.mordasov@grafana.com>
2022-07-14 15:19:25 +01:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_group.py Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
test_alert_receive_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_receive_channel_template.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_channel_filter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_custom_button.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_escalation_chain.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_escalation_policy.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_features.py Fix tests 2022-06-08 20:33:53 +04:00
test_gitops.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_integration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_live_settings.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_organization.py Remove unused messaging backends feature flag 2022-06-10 11:09:05 -03:00
test_organization_log_record.py Merge dev to main (#54) 2022-06-13 16:39:58 -06:00
test_postmortem_messages.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_preview_template_options.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_route_regex_debugger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_schedule_export.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_schedules.py Fix tests 2022-07-12 11:47:37 -06:00
test_set_general_log_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_slack_channels.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_slack_team_settings.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_subscription.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_team.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_telegram_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_terraform_renderer.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_user.py Add API support for user timezone and working hours (#201) 2022-07-11 13:16:56 +01:00
test_user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_user_notification_policy.py Remove unused messaging backends feature flag 2022-06-10 11:09:05 -03:00
test_user_schedule_export.py World, meet OnCall! 2022-06-03 08:09:47 -06:00