E2C: Create Snapshot frontend (#89901)

* First pass at using new async apis

* async api tweaks

* clean up async api usage

* Update public/app/features/migrate-to-cloud/onprem/Page.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/app/features/migrate-to-cloud/onprem/Page.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* fix syntax

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
Josh Hunt
2024-07-03 11:42:00 +01:00
committed by GitHub
parent bfe77ab530
commit 7448f22f91
6 changed files with 237 additions and 93 deletions

View File

@@ -12,14 +12,21 @@ const config: ConfigFile = {
apiFile: '../public/app/features/migrate-to-cloud/api/baseAPI.ts',
apiImport: 'baseAPI',
filterEndpoints: [
'createCloudMigrationToken',
'getSessionList',
'getSession',
'createSession',
'deleteSession',
'runCloudMigration',
'getCloudMigrationRun',
'getCloudMigrationRunList',
'createSession',
'getShapshotList',
'getSnapshot',
'uploadSnapshot',
'createSnapshot',
'cancelSnapshot',
'createCloudMigrationToken',
'deleteCloudMigrationToken',
'getCloudMigrationToken',
'getDashboardByUid',
],
},