grafana/pkg/services/sqlstore
Michael Mandrus 8a8f97b0e4
CloudMigrations: Implement snapshot management apis (#89296)
* add new apis

* add payloads

* create snapshot status type

* add some impl

* finish implementing update

* start implementing build snapshot func

* add more fake build logic

* add cancel endpoint. do some cleanup

* implement GetSnapshot

* implement upload snapshot

* merge onprem status with gms result

* get it working

* update comment

* rename list endpoint

* add query limit and offset

* add helper method to snapshot

* little bit of cleanup

* work on swagger annotations

* manual merge

* generate swagger specs

* clean up curl commands

* fix bugs found during final testing

* fix linter issue

* fix unit test
2024-06-19 09:20:52 -04:00
..
migrations CloudMigrations: Implement snapshot management apis (#89296) 2024-06-19 09:20:52 -04:00
migrator Storage: Watch tests (#85496) 2024-04-08 11:42:12 -04:00
permissions chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
searchstore RBAC: Only check for the write action when listing editable dashboards/folders (#88518) 2024-06-10 14:44:34 +03:00
session Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
sqlutil Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
bulk_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
bulk.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
database_config_test.go Postgres: Allow disabling SNI on SSL-enabled connections (#83892) 2024-03-12 12:03:24 +02:00
database_config.go Experimental Feature Toggle: databaseReadReplica (#89232) 2024-06-18 11:07:15 -04:00
database_wrapper.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
logger.go Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
replstore.go Experimental Feature Toggle: databaseReadReplica (#89232) 2024-06-18 11:07:15 -04:00
session_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
session.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 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 (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
sqlstore.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
tls_mysql.go Chore: Extract DatabaseConfig parsing from SQLStore (#81157) 2024-01-24 16:49:49 +01:00
transactions_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
transactions.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
user_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
user.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00