mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -05:00
First check in for Migration Dashboard (#14309)
* Adding Dashboard Fixing auth keys api create status Dialog * making some changes requested in the PR * switched to text component from dom component * Adding TODO comment * Fixing image url to work on windows * Fixing stuff pointed out in PR comments * adding return type to dasboard register function * Adding more todos
This commit is contained in:
@@ -453,7 +453,7 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
Scope: this._targetManagedInstance.id
|
||||
}
|
||||
};
|
||||
console.log(requestBody);
|
||||
|
||||
const response = await startDatabaseMigration(
|
||||
this.azureAccount,
|
||||
this._targetSubscription,
|
||||
@@ -464,9 +464,8 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
requestBody
|
||||
);
|
||||
|
||||
console.log(response);
|
||||
if (!response.error) {
|
||||
MigrationLocalStorage.saveMigration(currentConnection!, response, this._targetManagedInstance, this.azureAccount, this._targetSubscription);
|
||||
if (response.status === 201) {
|
||||
MigrationLocalStorage.saveMigration(currentConnection!, response.databaseMigration, this._targetManagedInstance, this.azureAccount, this._targetSubscription);
|
||||
}
|
||||
|
||||
vscode.window.showInformationMessage(constants.MIGRATION_STARTED);
|
||||
|
||||
Reference in New Issue
Block a user