mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 09:35:38 -05:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user