grafana/pkg/tests/api
Alexander Weaver 49c8deb1ea
Alerting: Add recording rules to ruler API and validation (#87779)
* Read path, main API

* Define record field for incoming requests

* Refactor several alerting specific validators into two paths

* Refactor validateCondition actually contain all the condition validation logic

* Move condition validation inside rule path

* Validators for recording rules

* Wire feature flag through to validators

* Test for accepting a valid recording rule

* Tests for negative case, no UID

* Test for ignoring alerting fields

* Build conditions based on recording rules as well

* Regenerate swagger docs

* Fix CRUD test to cover the right thing

* Re-generate swagger docs with backdated v0.30.2 version

* Regenerate base spec

* Regenerate ngalert specs

* Regenerate top level specs

* Comment and rename

* Return struct instead of modifying ref
2024-05-21 14:39:28 -05:00
..
alerting Alerting: Add recording rules to ruler API and validation (#87779) 2024-05-21 14:39:28 -05:00
azuremonitor Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
correlations Correlations: improve error handling (#87810) 2024-05-20 10:35:47 +02:00
dashboards User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00
elasticsearch Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
folders RBAC: Adding action set resolver for RBAC evaluation (#86801) 2024-05-09 10:18:03 +01:00
graphite Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
influxdb Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
loki Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
metrics remove flaky cloudwatch test (#45800) 2022-02-23 13:59:53 -06:00
opentdsb Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
plugins Add apiVersion to plugin models (#87510) 2024-05-14 13:58:27 +02:00
prometheus Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
stats User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00