mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
Adding Integration Runtime Page to Migration extension wizard (#14020)
* - Fixed GetMigrationController - Added createMigrationController and getControllerAuthKeys API in azure core. - Added typings for Migration Controller - Fixed database backup page validation logic - Added IR page with create controller * Fixing all the comments from the PR * Fixed typings
This commit is contained in:
@@ -7,6 +7,7 @@ import * as azdata from 'azdata';
|
||||
import * as vscode from 'vscode';
|
||||
import * as mssql from '../../../mssql';
|
||||
import { SKURecommendations } from './externalContract';
|
||||
import { azureResource } from 'azureResource';
|
||||
|
||||
export enum State {
|
||||
INIT,
|
||||
@@ -86,6 +87,7 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
private _assessmentResults: mssql.SqlMigrationAssessmentResultItem[] | undefined;
|
||||
private _azureAccount!: azdata.Account;
|
||||
private _databaseBackup!: DatabaseBackupModel;
|
||||
private _migrationController!: azureResource.MigrationController | undefined;
|
||||
|
||||
constructor(
|
||||
private readonly _extensionContext: vscode.ExtensionContext,
|
||||
@@ -156,6 +158,14 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
return this._stateChangeEventEmitter.event;
|
||||
}
|
||||
|
||||
public set migrationController(controller: azureResource.MigrationController | undefined) {
|
||||
this._migrationController = controller;
|
||||
}
|
||||
|
||||
public get migrationController(): azureResource.MigrationController | undefined {
|
||||
return this._migrationController;
|
||||
}
|
||||
|
||||
dispose() {
|
||||
this._stateChangeEventEmitter.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user