grafana/pkg/services/ngalert/store
Alexander Weaver dde0b93cf1
Alerting: Provisioning API - Notification Policies (#46755)
* Base-line API for provisioning notification policies

* Wire API up, some simple tests

* Return provenance status through API

* Fix missing call

* Transactions

* Clarity in package dependencies

* Unify receivers in definitions

* Fix issue introduced by receiver change

* Drop unused internal test implementation

* FGAC hooks for provisioning routes

* Polish, swap names

* Asserting on number of exposed routes

* Don't bubble up updated object

* Integrate with new concurrency token feature in store

* Back out duplicated changes

* Remove redundant tests

* Regenerate and create unit tests for API layer

* Integration tests for auth

* Address linter errors

* Put route behind toggle

* Use alternative store API and fix feature toggle in tests

* Fixes, polish

* Fix whitespace

* Re-kick drone

* Rename services to provisioning
2022-04-05 16:48:51 -05:00
..
admin_configuration.go Alerting: Send alerts to external Alertmanager(s) (#37298) 2021-08-06 13:06:56 +01:00
alert_rule.go Alerting: handle folder permissions when fine-grained access enabled (#47035) 2022-04-01 19:33:26 -04:00
alertmanager_test.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00
alertmanager.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00
database.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00
instance_database_test.go Add context.Context to InstanceStore (#45049) 2022-02-08 13:49:04 +00:00
instance_database.go Add context.Context to InstanceStore (#45049) 2022-02-08 13:49:04 +00:00
org.go Alerting: create wrapper for Alertmanager to enable org level isolation (#37320) 2021-08-24 11:28:09 +01:00
provisioning_store_test.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00
provisioning_store.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00
testing.go Alerting: handle folder permissions when fine-grained access enabled (#47035) 2022-04-01 19:33:26 -04:00
transactions.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00