grafana/pkg/services/cloudmigration
lean.dev 0719f73f35
Cloud Migration: Remove ID migration in favor of UID (#86550)
* - Added migration to add a new collumn UID to both migration and migration_run tables.
- Added migration to set UID for records already existent in the database before adding a new column.
- Added UID field to CloudMigration and CloudMigrationRun dtos (model.go)

* Fix db migration

* Updating store and model

* Updating API to use UID

* fix typo

* update openapi specs and generated endpoints

* fix spec

* update openapi specs and generated endpoints

* Fixing db mapping

* Fix frontend

* fix migration

* remove migration uid from run fetch endpoint

* Revert "merge"

This reverts commit d654e4c530, reversing
changes made to 5fe0b483eb.

* manual merge

* rename some funcs for consistency

* make interfaces consistent

* validate uids

* update generated frontend api

* fix enterprise spec

* manually resolve api

* try again

* try yet again

* once more

---------

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
2024-05-01 12:29:25 -04:00
..
api Cloud Migration: Remove ID migration in favor of UID (#86550) 2024-05-01 12:29:25 -04:00
cloudmigrationimpl Cloud Migration: Remove ID migration in favor of UID (#86550) 2024-05-01 12:29:25 -04:00
cmsclient CMS: Create local implementation of cloud migration for dev use (#86637) 2024-04-20 23:51:58 -04:00
cloudmigration.go Cloud Migration: Remove ID migration in favor of UID (#86550) 2024-05-01 12:29:25 -04:00
model.go Cloud Migration: Remove ID migration in favor of UID (#86550) 2024-05-01 12:29:25 -04:00