mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Adjusting ADS to support new changes for CloudServerType for SQLOD (#12824)
* Add CodeQL Analysis workflow (#10195) * Add CodeQL Analysis workflow * Fix path * Adjusting ADS to support new changes for CloudServerType for SQLOD * Using existing constants instead of hardcoded values * Updating STS version Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d1b8c15e11
commit
9fcd85e640
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/v{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
||||
"version": "3.0.0-release.45",
|
||||
"version": "3.0.0-release.46",
|
||||
"downloadFileNames": {
|
||||
"Windows_86": "win-x86-netcoreapp3.1.zip",
|
||||
"Windows_64": "win-x64-netcoreapp3.1.zip",
|
||||
|
||||
@@ -488,11 +488,6 @@
|
||||
"field": "isCloud",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"field": "engineEditionId",
|
||||
"operator": "!=",
|
||||
"value": "11"
|
||||
}
|
||||
],
|
||||
"databaseProperties": [
|
||||
@@ -571,6 +566,11 @@
|
||||
"field": "isCloud",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"field": "engineEditionId",
|
||||
"operator": "!=",
|
||||
"value": "11"
|
||||
}
|
||||
],
|
||||
"databaseProperties": [
|
||||
@@ -632,10 +632,6 @@
|
||||
{
|
||||
"displayName": "%cloud.databaseProperties.compatibilityLevel%",
|
||||
"value": "compatibilityLevel"
|
||||
},
|
||||
{
|
||||
"displayName": "%cloud.databaseProperties.owner%",
|
||||
"value": "owner"
|
||||
}
|
||||
],
|
||||
"serverProperties": [
|
||||
|
||||
@@ -21,9 +21,9 @@ enum ContextKeys {
|
||||
}
|
||||
|
||||
const isCloudEditions = [
|
||||
5,
|
||||
6,
|
||||
11
|
||||
azdata.DatabaseEngineEdition.SqlDatabase,
|
||||
azdata.DatabaseEngineEdition.SqlDataWarehouse,
|
||||
azdata.DatabaseEngineEdition.SqlOnDemand
|
||||
];
|
||||
|
||||
function setCommandContext(key: ContextKeys | string, value: any) {
|
||||
|
||||
Reference in New Issue
Block a user