mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 17:20:28 -04:00
Move protocol client out (#643)
* close * connection is working * formatting * adds all * formatting * formatting and changing how features are initialized * formatting * changed named of typings file * update * updated to use dataprotocol npm * formatting * removed unneeded logging * readd npm shrinkwrap * still not working * removed unnecessary codfe * addressed comments * readded azure resource provider * fix capabilities cacheing * added backwards capat for older protocol * update shrinkwrap * update shrinkwrap * updated shrinkwrap * fixed tests * removed dead code * remove dead code * fix compile * remove backcompat stuff * change location of npm * vbump sqltools * merge master * fix imports * fix build breaks * update for sqlops * update yarn dependencies
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as data from 'data';
|
||||
import * as sqlops from 'sqlops';
|
||||
import { TPromise } from 'vs/base/common/winjs.base';
|
||||
import {CredentialManagementEvents, ICredentialsService} from "sql/services/credentials/credentialsService";
|
||||
import {IDisposable} from "vs/base/common/lifecycle";
|
||||
import { CredentialManagementEvents, ICredentialsService } from 'sql/services/credentials/credentialsService';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
|
||||
export class CredentialsTestProvider implements data.CredentialProvider {
|
||||
export class CredentialsTestProvider implements sqlops.CredentialProvider {
|
||||
handle: number;
|
||||
|
||||
public storedCredentials: {[K: string]: data.Credential} = {};
|
||||
public storedCredentials: { [K: string]: sqlops.Credential } = {};
|
||||
|
||||
saveCredential(credentialId: string, password: string): Thenable<boolean> {
|
||||
this.storedCredentials[credentialId] = {
|
||||
@@ -23,7 +23,7 @@ export class CredentialsTestProvider implements data.CredentialProvider {
|
||||
return TPromise.as(true);
|
||||
}
|
||||
|
||||
readCredential(credentialId: string): Thenable<data.Credential> {
|
||||
readCredential(credentialId: string): Thenable<sqlops.Credential> {
|
||||
return TPromise.as(this.storedCredentials[credentialId]);
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export class CredentialsTestService implements ICredentialsService {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
readCredential(credentialId: string): Thenable<data.Credential> {
|
||||
readCredential(credentialId: string): Thenable<sqlops.Credential> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user