3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/pkg/services/sqlstore
Serge Zaitsev faa1244518
Chore: Replace sqlstore with db interface ()
* 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
..
migrations Cloudmigration: create migration () 2024-03-29 01:55:27 +01:00
migrator Storage: Add support for sortBy selector () 2024-02-07 15:05:10 -05:00
permissions AuthN: Add IsAuthenticatedBy to identity interface and replace checks () 2024-03-27 15:22:13 +01:00
searchstore Folders: Switch order of the columns in folder table indexes so that org_id becomes first () 2024-02-16 21:10:46 +02:00
session Chore: add/update sqlstore-related helper functions () 2023-11-03 10:30:52 -04:00
sqlutil Chore: Update test database initialization () 2024-02-09 09:35:39 -05:00
bulk_test.go Chore: use any rather than interface{} () 2023-08-30 18:46:47 +03:00
bulk.go Chore: use any rather than interface{} () 2023-08-30 18:46:47 +03:00
database_config_test.go Postgres: Allow disabling SNI on SSL-enabled connections () 2024-03-12 12:03:24 +02:00
database_config.go SQLStore: Enable migration locking by default () 2024-03-22 21:22:29 +02:00
database_wrapper.go Tracing: Standardize on otel tracing () 2023-10-03 14:54:20 +02:00
logger.go Chore: add/update sqlstore-related helper functions () 2023-11-03 10:30:52 -04:00
session_test.go SQLStore: Fix SQLite error propagation if query retries are disabled () 2023-03-17 12:57:13 +02:00
session.go Tracing: Standardize on otel tracing () 2023-10-03 14:54:20 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement () 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement () 2022-08-31 08:54:32 -04:00
sqlstore_test.go Chore: Update test database initialization () 2024-02-09 09:35:39 -05:00
sqlstore.go Chore: Replace sqlstore with db interface () 2024-04-04 15:04:47 +02:00
tls_mysql.go Chore: Extract DatabaseConfig parsing from SQLStore () 2024-01-24 16:49:49 +01:00
transactions_test.go SQLStore: Add test for nested transactions events () 2023-01-23 14:17:56 +01:00
transactions.go SQLStore: Add test for nested transactions events () 2023-01-23 14:17:56 +01:00
user_test.go Bug(sqlstore): fix issue with postgres unable to find existing main organization () 2023-08-30 11:45:20 -04:00
user.go Auth: Enable case insensitive logins/emails by default () 2024-03-22 16:45:18 +01:00