mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 17:23:29 -05:00
Add migration service calls to migration wizard (#12090)
* Hook up migration apis WIP * WIP 2 * WIP 3 * Fix build breaks * Break 2 * WIP 4 * SKU recommendation page work * WIP 5 * A few minor fixes * Merge main * Add back assessment dialog * Address feedback Co-authored-by: Amir Omidi <amomidi@microsoft.com>
This commit is contained in:
@@ -32,12 +32,16 @@ export class SourceConfigurationPage extends MigrationWizardPage {
|
||||
).component();
|
||||
|
||||
await view.initializeModel(form);
|
||||
|
||||
let connectionUri: string = await azdata.connection.getUriForConnection(this.migrationStateModel.sourceConnection.connectionId);
|
||||
this.migrationStateModel.migrationService.getAssessments(connectionUri).then(results => {
|
||||
if (results) {
|
||||
this.migrationStateModel.assessmentResults = results.items;
|
||||
this.migrationStateModel.currentState = State.TARGET_SELECTION;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// private async createInformationGatheredPage(view: azdata.ModelView){
|
||||
|
||||
// }
|
||||
|
||||
private async enterErrorState() {
|
||||
const component = this.gatheringInfoComponent.component as azdata.TextComponent;
|
||||
component.value = COLLECTING_SOURCE_CONFIGURATIONS_ERROR(this.migrationStateModel.gatheringInformationError);
|
||||
|
||||
Reference in New Issue
Block a user