grafana/pkg/services/ngalert/api
Alexander Weaver 8310789ef1
Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857)
* Test composition simplification from last PR

* Policies use proper API model everywhere

* Expose policy provenance in API, miss some dep injection

* Complete injection

* fix args

* Tests for provenance value

* Extract test helpers so tests are very readable

* Single source adapter struct that was copied in 3 places

* Drop redundant test

* Resolve merge conflicts on changelog
2022-04-22 11:57:56 -05:00
..
test-data Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
tooling Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 2022-04-22 11:57:56 -05:00
api_admin.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
api_alertmanager_test.go Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 2022-04-22 11:57:56 -05:00
api_alertmanager.go Alerting: Refactor GET/POST alerting config routes to be more extensible (#47229) 2022-04-14 13:06:21 -05:00
api_prometheus_test_fixtures.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
api_prometheus_test.go Alerting: Add check for datasource permission in alert rule read API (#47087) 2022-04-11 17:37:44 -04:00
api_prometheus.go Alerting: Add check for datasource permission in alert rule read API (#47087) 2022-04-11 17:37:44 -04:00
api_provisioning_test.go Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 2022-04-22 11:57:56 -05:00
api_provisioning.go Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 2022-04-22 11:57:56 -05:00
api_ruler_test.go Alerting: Add check for datasource permission in alert rule read API (#47087) 2022-04-11 17:37:44 -04:00
api_ruler_validation_test.go Alerting: validate rules and calculate changes in API controller (#45072) 2022-02-23 11:30:04 -05:00
api_ruler_validation.go Alerting: validate rules and calculate changes in API controller (#45072) 2022-02-23 11:30:04 -05:00
api_ruler.go Alerting: unwrap upsert into insert and update function (#47731) 2022-04-14 14:21:36 +02:00
api_testing_test.go Alerting: update rule test endpoints to respect data source permissions (#47169) 2022-04-02 02:00:23 +02:00
api_testing.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
api.go Alerting: Refactor GET/POST alerting config routes to be more extensible (#47229) 2022-04-14 13:06:21 -05:00
authorization_test.go Alerting: Provisioning API - Contact points (#47197) 2022-04-13 22:15:55 +02:00
authorization.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
fork_ruler.go Alerting: rules delete API to check data source authorization (#46906) 2022-03-25 12:39:24 -04:00
forked_admin.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
forked_am.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
forked_prom.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
forked_provisioning.go Alerting: Provisioning API - Contact points (#47197) 2022-04-13 22:15:55 +02:00
forked_testing.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
generated_base_api_alertmanager.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
generated_base_api_configuration.go Alerting: update authorization logic to use proper legacy roles when fine-grained access is disabled (#46931) 2022-03-24 17:13:47 -04:00
generated_base_api_prometheus.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
generated_base_api_provisioning.go Alerting: Provisioning API - Contact points (#47197) 2022-04-13 22:15:55 +02:00
generated_base_api_ruler.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
generated_base_api_testing.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
lotex_am.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
lotex_prom.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
lotex_ruler_test.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
lotex_ruler.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Alerting: check upstream response content type in lotex proxy (#34760) 2021-05-27 14:12:29 +03:00
testing.go Alerting: Remove mis-behaving fake and fix masked test failure in AM config API (#47747) 2022-04-13 19:31:57 -05:00
util_test.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
util.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00