mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Enables streaming job validation, minor bugfix (#13287)
* Enabling validation * Fixing issue where ESJ property isn't set during creation, only from sqlproj load * Bump dependency on azdata
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"preview": true,
|
"preview": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.30.1",
|
"vscode": "^1.30.1",
|
||||||
"azdata": ">=1.22.0"
|
"azdata": ">=1.24.0"
|
||||||
},
|
},
|
||||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||||
"icon": "images/sqlDatabaseProjects.png",
|
"icon": "images/sqlDatabaseProjects.png",
|
||||||
@@ -351,6 +351,11 @@
|
|||||||
"when": "view =~ /^(sqlDatabaseProjectsView|dataworkspace.views.main)$/ && viewItem == databaseProject.itemType.referencesRoot",
|
"when": "view =~ /^(sqlDatabaseProjectsView|dataworkspace.views.main)$/ && viewItem == databaseProject.itemType.referencesRoot",
|
||||||
"group": "4_dbProjects_addDatabaseReference"
|
"group": "4_dbProjects_addDatabaseReference"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"command": "sqlDatabaseProjects.validateExternalStreamingJob",
|
||||||
|
"when": "view =~ /^(sqlDatabaseProjectsView|dataworkspace.views.main)$/ && viewItem == databaseProject.itemType.file.externalStreamingJob",
|
||||||
|
"group": "5_dbProjects_streamingJob"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "sqlDatabaseProjects.exclude",
|
"command": "sqlDatabaseProjects.exclude",
|
||||||
"when": "view =~ /^(sqlDatabaseProjectsView|dataworkspace.views.main)$/ && viewItem == databaseProject.itemType.folder || viewItem =~ /^databaseProject.itemType.file/",
|
"when": "view =~ /^(sqlDatabaseProjectsView|dataworkspace.views.main)$/ && viewItem == databaseProject.itemType.folder || viewItem =~ /^databaseProject.itemType.file/",
|
||||||
|
|||||||
@@ -298,6 +298,7 @@ export class Project {
|
|||||||
const attributes = new Map<string, string>();
|
const attributes = new Map<string, string>();
|
||||||
|
|
||||||
if (itemType === templates.externalStreamingJob) {
|
if (itemType === templates.externalStreamingJob) {
|
||||||
|
fileEntry.sqlObjectType = constants.ExternalStreamingJob;
|
||||||
attributes.set(constants.Type, constants.ExternalStreamingJob);
|
attributes.set(constants.Type, constants.ExternalStreamingJob);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user