Modifying the migration extension to use its own service. (#21781)

* Adding migration service to sql migrations

* enabling auto flush log

* Adding support for env variable

* Adding TDE Migration service

* code cleanup

* updating service downloader

* Removing custom output channel

* remove unnecessary await

* Updated service version to get latest code

* Consolidate TDE into migration service

* Sync to latest main

* Update sql-migration package version

* Fix merge conflict error

* Fixing all merge conflicts

* Fixing stuff

* removing extra whitespace

* Cleaning up

---------

Co-authored-by: Akshay Mata <akma@microsoft.com>
This commit is contained in:
Aasim Khan
2023-02-12 09:59:09 -08:00
committed by GitHub
parent 12a3bf6b3b
commit 837236be0f
18 changed files with 1569 additions and 69 deletions

View File

@@ -11,6 +11,20 @@ import { formatNumber, ParallelCopyTypeCodes, PipelineStatusCodes } from './help
import { ValidationError } from '../api/azure';
const localize = nls.loadMessageBundle();
export const serviceName = 'Sql Migration Service';
export const providerId = 'SqlMigration';
export const extensionConfigSectionName = 'sqlMigration';
export const sqlConfigSectionName = 'sql';
export const configLogDebugInfo = 'logDebugInfo';
export function serviceCrashMessage(error: string): string {
return localize('serviceCrashMessage', "Migration service component could not start. {0}", error);
}
export const serviceCrashed = localize('serviceCrashed', "Service component crashed.");
export function waitingForService(serviceName: string): string {
return localize('waitingForService', "Waiting for {0} component to start.", serviceName);
}
export const serviceProviderInitializationError = localize('serviceProviderIntializationError', "Service provider could not be initialized.");
// mirrors MigrationState as defined in RP
export enum MigrationState {
Canceled = 'Canceled',