CloudMigrations: Add support for migration of plugin resources (#95612)

* start plugins migration

* more plugin work

* add warning

* fakepluginsettings test

* tests get plugins

* lint

* load logos

* go lint

* get all plugins once

* locales

* josh suggestion to inject query in rtk

* more plugin filters

* remove datasource warning

* access control for plugins

* remove unused method

* lint

* use gcom list
This commit is contained in:
Dana Axinte
2025-01-06 10:37:15 +00:00
committed by GitHub
parent 6ca6ad4df7
commit 1699dfa307
23 changed files with 431 additions and 264 deletions
+1 -1
View File
@@ -131,6 +131,7 @@ const (
NotificationPolicyType MigrateDataType = "NOTIFICATION_POLICY"
NotificationTemplateType MigrateDataType = "NOTIFICATION_TEMPLATE"
MuteTimingType MigrateDataType = "MUTE_TIMING"
PluginDataType MigrateDataType = "PLUGIN"
)
// swagger:enum ItemStatus
@@ -158,7 +159,6 @@ const (
ErrResourceConflict ItemErrorCode = "RESOURCE_CONFLICT"
ErrUnexpectedStatus ItemErrorCode = "UNEXPECTED_STATUS_CODE"
ErrInternalServiceError ItemErrorCode = "INTERNAL_SERVICE_ERROR"
ErrOnlyCoreDataSources ItemErrorCode = "ONLY_CORE_DATA_SOURCES"
ErrGeneric ItemErrorCode = "GENERIC_ERROR"
)