mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Migrate cert validation error handling to mssql extension (#21829)
This commit is contained in:
@@ -50,7 +50,7 @@ suite('SQL Connection Tree Action tests', () => {
|
||||
connected: true,
|
||||
errorMessage: undefined,
|
||||
errorCode: undefined,
|
||||
callStack: undefined
|
||||
messageDetails: undefined
|
||||
};
|
||||
let capabilitiesService = new TestCapabilitiesService();
|
||||
const logService = new LogService(new ConsoleLogger());
|
||||
|
||||
@@ -20,6 +20,7 @@ import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storag
|
||||
import { IOpenerService } from 'vs/platform/opener/common/opener';
|
||||
import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement';
|
||||
import { mssqlProviderName } from 'sql/platform/connection/common/constants';
|
||||
import { TelemetryView } from 'sql/platform/telemetry/common/telemetryKeys';
|
||||
|
||||
export class NotifyEncryptionDialog extends ErrorMessageDialog {
|
||||
private static NOTIFY_ENCRYPT_SHOWN = 'workbench.notifyEncryptionShown';
|
||||
@@ -52,7 +53,7 @@ export class NotifyEncryptionDialog extends ErrorMessageDialog {
|
||||
return;
|
||||
}
|
||||
|
||||
super.open(Severity.Info,
|
||||
super.open(TelemetryView.NotifyEncryptionDialog, Severity.Info,
|
||||
localize('notifyEncryption.title', 'Important Update'),
|
||||
localize('notifyEncryption.message', 'Azure Data Studio now has encryption enabled by default for all SQL Server connections. This may result in your existing connections no longer working unless certain Encryption related connection properties are changed.{0}We recommend you review the link below for more details.', '\n\n'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user