mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 09:35:40 -05:00
Modify connection management to support Active Directory authType for non-SQL DBs (#8434)
* First attempt to add Azure MFA login for PostgreSQL * Finish merge with master * Fix auth type default selection * Add AzureMFAAndUser auth type for Orcas * Fix formatting * Update change log * Incorporate some review comments * Missed an occurrence of AzureResource * Try to move all changes out of azdata.d.ts and sqlops.d.ts * Concrete implementation of ConnectionProfile in azdata no longer has azureAccount * Use enum names instead of numbers in config files
This commit is contained in:
@@ -132,6 +132,21 @@ const ConnectionProviderContrib: IJSONSchema = {
|
||||
defaultValue: {
|
||||
type: 'any'
|
||||
},
|
||||
defaultValueOsOverrides: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
os: {
|
||||
type: 'string',
|
||||
enum: ['Windows', 'Macintosh', 'Linux']
|
||||
},
|
||||
defaultValueOverride: {
|
||||
type: 'any'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
objectType: {
|
||||
type: 'any'
|
||||
},
|
||||
|
||||
@@ -26,7 +26,8 @@ suite('notebookUtils', function (): void {
|
||||
saveProfile: true,
|
||||
id: '',
|
||||
options: {},
|
||||
azureTenantId: undefined
|
||||
azureTenantId: undefined,
|
||||
azureAccount: undefined
|
||||
};
|
||||
|
||||
test('Should format server and database name correctly for attach to', async function (): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user