Updating config to point to latest service layer (#12058)

This commit is contained in:
Jorge Berumen
2020-09-01 17:10:06 -07:00
committed by GitHub
parent 5d4afae616
commit 7b099e703a
3 changed files with 14 additions and 15 deletions

View File

@@ -1,18 +1,18 @@
{
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/v{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
"version": "2.0.0-release.15",
"version": "3.0.0-release.23",
"downloadFileNames": {
"Windows_86": "win-x86-netcoreapp2.2.zip",
"Windows_64": "win-x64-netcoreapp2.2.zip",
"OSX": "osx-x64-netcoreapp2.2.tar.gz",
"CentOS_7": "rhel-x64-netcoreapp2.2.tar.gz",
"Debian_8": "rhel-x64-netcoreapp2.2.tar.gz",
"Fedora_23": "rhel-x64-netcoreapp2.2.tar.gz",
"OpenSUSE_13_2": "rhel-x64-netcoreapp2.2.tar.gz",
"RHEL_7": "rhel-x64-netcoreapp2.2.tar.gz",
"SLES_12_2": "rhel-x64-netcoreapp2.2.tar.gz",
"Ubuntu_14": "rhel-x64-netcoreapp2.2.tar.gz",
"Ubuntu_16": "rhel-x64-netcoreapp2.2.tar.gz"
"Windows_86": "win-x86-netcoreapp3.1.zip",
"Windows_64": "win-x64-netcoreapp3.1.zip",
"OSX": "osx-x64-netcoreapp3.1.tar.gz",
"CentOS_7": "rhel-x64-netcoreapp3.1.tar.gz",
"Debian_8": "rhel-x64-netcoreapp3.1.tar.gz",
"Fedora_23": "rhel-x64-netcoreapp3.1.tar.gz",
"OpenSUSE_13_2": "rhel-x64-netcoreapp3.1.tar.gz",
"RHEL_7": "rhel-x64-netcoreapp3.1.tar.gz",
"SLES_12_2": "rhel-x64-netcoreapp3.1.tar.gz",
"Ubuntu_14": "rhel-x64-netcoreapp3.1.tar.gz",
"Ubuntu_16": "rhel-x64-netcoreapp3.1.tar.gz"
},
"installDirectory": "../sqltoolsservice/{#platform#}/{#version#}",
"executableFiles": ["MicrosoftKustoServiceLayer.exe", "MicrosoftKustoServiceLayer"],

View File

@@ -29,8 +29,7 @@ export class KustoServer {
public async start(context: AppContext): Promise<SqlOpsDataClient> {
try {
const installationStart = Date.now();
const path = await this.download(context); // TodoKusto: Remove this commented line once the Kusto service layer has been published to Github. Until then copy manually for debugging.
// const path = "e:\\repos\\azuredatastudio\\extensions\\kusto\\sqltoolsservice\\Windows\\2.0.0-release.15\\MicrosoftKustoServiceLayer.exe";
const path = await this.download(context);
const installationComplete = Date.now();
let serverOptions = generateServerOptions(context.extensionContext.logPath, path);
let clientOptions = getClientOptions(context);

View File

@@ -51,7 +51,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<IExten
// initialize client last so we don't have features stuck behind it
const server = new KustoServer();
context.subscriptions.push(server);
// await server.start(appContext); // Commented out until we have Kusto binaries properly setup in Blob location.
await server.start(appContext); // Commented out until we have Kusto binaries properly setup in Blob location.
return createKustoApi(appContext);
}