grafana/pkg/tests/api/alerting
Yuriy Tseretyan 4d02f73e5f
Alerting: Persist rule position in the group (#50051)
Migrations:
* add a new column alert_group_idx to alert_rule table
* add a new column alert_group_idx to alert_rule_version table
* re-index existing rules during migration

API:
* set group index on update. Use the natural order of items in  the array as group index
* sort rules in the group on GET
* update the version of all rules of all affected groups. This will make optimistic lock work in the case of multiple concurrent request touching the same groups.

UI:
* update UI to keep the order of alerts in a group
2022-06-22 10:52:46 -04:00
..
api_admin_configuration_test.go Alerting: Add api client to integration tests (#50970) 2022-06-21 11:39:22 -04:00
api_alertmanager_configuration_test.go Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
api_alertmanager_test.go Alerting: Add api client to integration tests (#50970) 2022-06-21 11:39:22 -04:00
api_available_channel_test.go Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
api_notification_channel_test.go Alerting: Add api client to integration tests (#50970) 2022-06-21 11:39:22 -04:00
api_prometheus_test.go Alerting: Add api client to integration tests (#50970) 2022-06-21 11:39:22 -04:00
api_provisioning_test.go Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
api_ruler_test.go Alerting: Persist rule position in the group (#50051) 2022-06-22 10:52:46 -04:00
testing.go Alerting: Persist rule position in the group (#50051) 2022-06-22 10:52:46 -04:00