mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Port the Azure Resource Explorer extension to core. (#2701)
* Port the Azure Resource Explorer extension to core. This will enable Azure viewlet by default in the next release. - Moving this code from the SQL Server 2019 extension to Azure Data Studio core - Ported tests and verified they work in the integration tests.sh file - Fixed an issue that caused integration tests to fail if you have a SQL Server 2019 big data cluster endpoint listed, but the extension isn't installed.
This commit is contained in:
@@ -1349,8 +1349,12 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
* TODO this could be a map reduce operation
|
||||
*/
|
||||
public buildConnectionInfo(connectionString: string, provider: string): Thenable<sqlops.ConnectionInfo> {
|
||||
return this._providers.get(provider).onReady.then(e => {
|
||||
return e.buildConnectionInfo(connectionString);
|
||||
});
|
||||
let connectionProvider = this._providers.get(provider);
|
||||
if (connectionProvider) {
|
||||
return connectionProvider.onReady.then(e => {
|
||||
return e.buildConnectionInfo(connectionString);
|
||||
});
|
||||
}
|
||||
return Promise.resolve(undefined);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user