grafana/pkg/services/dashboards
Arati R 6cb1a5e368
Nested folders: Add alert rule counts and deletion to folder registry (#67259)
* Let alert rule service implement registry service
* Add count method to RuleStore interface
* Add implementation for deletion of alert rules
* Rename uid to folderUID in registry methods
* Check forceDeleteRule value for registry deletion
* Register alerting store with folder service
* Move folder test functions to separate package
* Add testing for alert rule counting, deletion
* Remove redundant count method
* Fix deleteChildrenInFolder signature
* Update pkg/services/ngalert/store/alert_rule.go
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* Add tests for nested folder deletion
* Refactor TestIntegrationNestedFolderService
* Add rules store as parameter for alertng provider

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-06-02 16:38:02 +02:00
..
database Dashboards: Improve delete dashboard performance due to slow annotations query (#68544) 2023-06-01 15:31:03 +03:00
service Nested folders: Add alert rule counts and deletion to folder registry (#67259) 2023-06-02 16:38:02 +02:00
accesscontrol_test.go Access Control: revert to using folder store from the scope resolvers (#64132) 2023-03-03 10:56:33 -05:00
accesscontrol.go RBAC: Do not search for parents of the root folder (#67746) 2023-05-04 09:36:36 +01:00
dashboard_acl_test.go chore: move dashboard_acl models into dashboard service (#62151) 2023-01-26 08:46:30 -05:00
dashboard_acl.go chore: move dashboard_acl models into dashboard service (#62151) 2023-01-26 08:46:30 -05:00
dashboard_provisioning_mock.go RBAC: remove unused dash and folder permission logic (#68968) 2023-05-24 15:33:35 +01:00
dashboard_service_mock.go RBAC: remove unused dash and folder permission logic (#68968) 2023-05-24 15:33:35 +01:00
dashboard.go Nested folders: Add alert rule counts and deletion to folder registry (#67259) 2023-06-02 16:38:02 +02:00
errors.go Previews: remove dashboard previews backend (#66176) 2023-04-13 21:42:24 +04:00
models_test.go Kinds: Use apimachinery ObjectMeta for metadata (#68668) 2023-05-24 09:13:44 -07:00
models.go Kinds: Use apimachinery ObjectMeta for metadata (#68668) 2023-05-24 09:13:44 -07:00
store_mock.go RBAC: remove unused dash and folder permission logic (#68968) 2023-05-24 15:33:35 +01:00