Enable offline migration mode on sql migration extension (#16459)

This commit is contained in:
Rachel Kim
2021-07-30 23:15:09 -07:00
committed by GitHub
parent 2427cbe3c6
commit b3e9428898
17 changed files with 614 additions and 355 deletions

View File

@@ -101,7 +101,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
await view.initializeModel(this._form.component());
}
public async onPageEnter(): Promise<void> {
public async onPageEnter(pageChangeInfo: azdata.window.WizardPageChangeInfo): Promise<void> {
this._subscription.value = this.migrationStateModel._targetSubscription.name;
this._location.value = await getLocationDisplayName(this.migrationStateModel._targetServerInstance.location);
@@ -137,7 +137,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
});
}
public async onPageLeave(): Promise<void> {
public async onPageLeave(pageChangeInfo: azdata.window.WizardPageChangeInfo): Promise<void> {
this.wizard.registerNavigationValidator((pageChangeInfo) => {
return true;
});