grafana/pkg/services/ngalert/store
Serge Zaitsev faa1244518
Chore: Replace sqlstore with db interface (#85366)
* replace sqlstore with db interface in a few packages

* remove from stats

* remove sqlstore in admin test

* remove sqlstore from api plugin tests

* fix another createUser

* remove sqlstore in publicdashboards

* remove sqlstore from orgs

* clean up orguser test

* more clean up in sso

* clean up service accounts

* further cleanup

* more cleanup in accesscontrol

* last cleanup in accesscontrol

* clean up teams

* more removals

* split cfg from db in testenv

* few remaining fixes

* fix test with bus

* pass cfg for testing inside db as an option

* set query retries when no opts provided

* revert golden test data

* rebase and rollback
2024-04-04 15:04:47 +02:00
..
admin_configuration_store_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
admin_configuration.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
alert_rule_test.go Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
alert_rule.go Chore: Bump golangci-lint v1.57.1 (#84998) 2024-03-25 15:28:24 +01:00
alertmanager_test.go Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
alertmanager.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
database.go Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
deltas_test.go Alerting: Update provisioning API to support regular permissions (#77007) 2024-03-22 15:37:10 -04:00
deltas.go Alerting: Update provisioning API to support regular permissions (#77007) 2024-03-22 15:37:10 -04:00
image_test.go Alerting: Use URLs in image annotations (#66804) 2023-04-26 13:06:18 -03:00
image.go Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
instance_database_test.go feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00
instance_database.go feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00
org.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
provisioning_store_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
provisioning_store.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
range_to_instant_test.go Alerting: Apply query optimization to eval endpoints (#78566) 2023-11-28 19:44:28 -05:00
range_to_instant.go Alerting: Apply query optimization to eval endpoints (#78566) 2023-11-28 19:44:28 -05:00
testing.go Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
transactions.go Alerting: Provisioning API - Notification Policies (#46755) 2022-04-05 16:48:51 -05:00