grafana/pkg/services/ngalert/provisioning
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
..
alert_rules_test.go Nested folders: Add alert rule counts and deletion to folder registry (#67259) 2023-06-02 16:38:02 +02:00
alert_rules.go Alerting: Return empty list on export if no rules exist (#69023) 2023-05-25 14:12:18 +02:00
compat.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
config.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
contactpoints_test.go Alerting: Fix panic when reparenting receivers to groups following an attempted rename via Provisioning (#67167) 2023-04-24 21:23:23 -04:00
contactpoints.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
errors.go Alerting: Code-gen parsing of URL parameters and fix related bugs (#50731) 2022-06-23 15:13:39 -05:00
mute_timings_test.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
mute_timings.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
notification_policies_test.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
notification_policies.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
persist_mock.go Plugins: Improve instrumentation by adding metrics and tracing (#61035) 2023-03-28 11:01:06 +02:00
persist.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
provenance.go Alerting: Allow provenance disable in alerting provisioning API (#63650) 2023-04-18 15:10:36 +02:00
provisioning_store_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
quota_checker_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
templates_test.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
templates.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
testing.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00