mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
SQL Assessment Database Selector (#16030)
* wip * wip * database selector table * fixed db icon * wip * fixed assessment results table * replaced large query * fix build error * updated spacing and other fixes * removed commented code * added search bar, fix margins, disable checkbox for offline db * change width of checkbox column * changed api to require databases * Revert "changed api to require databases" This reverts commit 20fe2d8bd223bae90dfb09609225a1781267a01d. * removed optional flag from databases parameter * removed icons on assessment dialog page * formatting changes, fixed search * bump STS * bumped extension version number * one excludeDbs
This commit is contained in:
@@ -29,8 +29,8 @@ export class SqlMigrationService implements mssql.ISqlMigrationService {
|
||||
context.registerService(constants.SqlMigrationService, this);
|
||||
}
|
||||
|
||||
async getAssessments(ownerUri: string): Promise<mssql.AssessmentResult | undefined> {
|
||||
let params: contracts.SqlMigrationAssessmentParams = { ownerUri: ownerUri };
|
||||
async getAssessments(ownerUri: string, databases: string[]): Promise<mssql.AssessmentResult | undefined> {
|
||||
let params: contracts.SqlMigrationAssessmentParams = { ownerUri: ownerUri, databases: databases };
|
||||
try {
|
||||
return this.client.sendRequest(contracts.GetSqlMigrationAssessmentItemsRequest.type, params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user