grafana/pkg/services/dashboards/database
idafurjes b885da09da
CloudMigrations: Implement migrations API (#85348)
* Implement run migration endpoint

* Refactor RunMigration method into separate methods

* Save migration runs fix lint

* Minor changes

* Refactor how to use cms endpoint

* fix interface

* complete merge

* add individual items

* adds tracing to getMigration

* linter

* updated swagger definition with the latest changes

* CloudMigrations: Implement core API handlers for cloud migrations and migration runs (#85407)

* implement delete

* add auth token encryption

* implement token validation

* call token validation during migration creation

* implement get migration status

* implement list migration runs

* fix bug

* finish parse domain func

* fix urls

* fix typo

* fix encoding and decoding

* remove double decryption

* add missing slash

* fix id returned by create function

* inject missing services

* finish implementing (as far as I can tell right now) data migration and response handling

* comment out broken test, needs a rewrite

* add a few final touches

* get dashboard migration to work properly

* changed runMigration to a POST

* swagger

* swagger

* swagger

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
2024-04-03 13:36:13 +02:00
..
migrations Folders: Switch order of the columns in folder table indexes so that org_id becomes first (#82454) 2024-02-16 21:10:46 +02:00
database_folder_test.go Chore: Add support bundle for folders (#83360) 2024-02-26 11:27:22 +01:00
database_provisioning_test.go Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
database_test.go Chore: Add support bundle for folders (#83360) 2024-02-26 11:27:22 +01:00
database.go CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00