grafana/pkg/tests
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
..
api Alerting: Add recording rules to ruler API and validation (#87779) 2024-05-21 14:39:28 -05:00
apis Errors: Update errutil to be compatible with k8s errors (#87605) 2024-05-20 18:11:37 +03:00
testinfra User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00
testsuite Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
web Session: set authID and authenticatedBy (#85806) 2024-04-11 10:25:29 +02:00
README.md Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
utils.go User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00

Integration tests

This directory contains Grafana server integration tests.