Add connection API method to get URI (#2021)

This commit is contained in:
Matt Irvine
2018-07-30 10:52:24 -07:00
committed by GitHub
parent e9ef95ef1f
commit d2b6f6844d
10 changed files with 61 additions and 18 deletions

View File

@@ -63,7 +63,7 @@ export class ConnectionController implements IConnectionComponentController {
tempProfile.password = password;
tempProfile.groupFullName = '';
tempProfile.saveProfile = false;
let uri = this._connectionManagementService.getConnectionId(tempProfile);
let uri = this._connectionManagementService.getConnectionUri(tempProfile);
return new Promise<string[]>((resolve, reject) => {
if (this._databaseCache.has(uri)) {
let cachedDatabases: string[] = this._databaseCache.get(uri);