mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-26 14:50:31 -04:00
Update product references from 'sqlops' to 'azdata' (#4259)
* Update extensions to use azdata * Switch core code to use azdata
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as sqlops from 'sqlops';
|
||||
import * as azdata from 'azdata';
|
||||
import { TPromise } from 'vs/base/common/winjs.base';
|
||||
import { CredentialManagementEvents, ICredentialsService } from 'sql/platform/credentials/common/credentialsService';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
|
||||
export class CredentialsTestProvider implements sqlops.CredentialProvider {
|
||||
export class CredentialsTestProvider implements azdata.CredentialProvider {
|
||||
handle: number;
|
||||
|
||||
public storedCredentials: { [K: string]: sqlops.Credential } = {};
|
||||
public storedCredentials: { [K: string]: azdata.Credential } = {};
|
||||
|
||||
saveCredential(credentialId: string, password: string): Thenable<boolean> {
|
||||
this.storedCredentials[credentialId] = {
|
||||
@@ -23,7 +23,7 @@ export class CredentialsTestProvider implements sqlops.CredentialProvider {
|
||||
return TPromise.as(true);
|
||||
}
|
||||
|
||||
readCredential(credentialId: string): Thenable<sqlops.Credential> {
|
||||
readCredential(credentialId: string): Thenable<azdata.Credential> {
|
||||
return TPromise.as(this.storedCredentials[credentialId]);
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export class CredentialsTestService implements ICredentialsService {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
readCredential(credentialId: string): Thenable<sqlops.Credential> {
|
||||
readCredential(credentialId: string): Thenable<azdata.Credential> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user