grafana/pkg/services/dashboards
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
..
dashboardaccess Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
database CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00
service CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00
accesscontrol_test.go Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
accesscontrol.go RBAC: Return the underlying error instead of internal server or bad request for managed permission endpoints (#80974) 2024-01-25 16:24:52 +00:00
dashboard_provisioning_mock.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
dashboard_service_mock.go CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00
dashboard.go CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00
errors.go Nested folders: Allow creating folders with duplicate names in different locations (#77076) 2024-01-25 11:29:56 +02:00
models_test.go Remove folderid service test (#80433) 2024-01-12 16:43:39 +01:00
models.go Stats: Remove ACL references (#82112) 2024-02-08 17:19:24 +01:00
store_mock.go CloudMigrations: Implement migrations API (#85348) 2024-04-03 13:36:13 +02:00