oncall-engine/engine/apps/public_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 Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
test_alerts.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_custom_actions.py Rename field webhook to url for outgoing webhook public api endpoint, update tests 2022-06-21 12:53:22 +03:00
test_escalation_chain.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_escalation_policies.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_incidents.py Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
test_integrations.py Update tests for routes in public api 2022-07-07 16:34:01 +03:00
test_maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_on_call_shifts.py Initial web schedule model and serializers. Add override shift type. 2022-07-05 12:41:55 -03:00
test_personal_notification_rules.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_ratelimit.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_resolution_notes.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_routes.py Update tests for routes in public api 2022-07-07 16:34:01 +03:00
test_schedule_export.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_schedules.py Disable web schedule create/update from public API 2022-07-08 12:03:18 -03:00
test_slack_channels.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_teams.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_users.py List all users in public users endpoint 2022-06-22 14:46:23 -03:00