mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Mount delete, refresh and default to new folder for mount create (#7702)
* Mount delete, refresh and default to new folder for mount create - Delete mount action added - Refresh mount action added - Added "mymount" to theend of existing path so that we don't use already-existing HDFS folder. The call fails unless folder doesn't exist
This commit is contained in:
@@ -49,6 +49,14 @@
|
||||
{
|
||||
"command": "bigDataClusters.command.mount",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.refreshmount",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.deletemount",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
@@ -80,6 +88,16 @@
|
||||
"command": "bigDataClusters.command.mount",
|
||||
"when": "nodeType=~/^mssqlCluster/ && nodeType!=mssqlCluster:message && nodeSubType=~/^(?!:mount).*$/",
|
||||
"group": "1mssqlCluster@10"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.refreshmount",
|
||||
"when": "nodeType == mssqlCluster:folder && nodeSubType==:mount:",
|
||||
"group": "1mssqlCluster@11"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.deletemount",
|
||||
"when": "nodeType == mssqlCluster:folder && nodeSubType==:mount:",
|
||||
"group": "1mssqlCluster@12"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -112,6 +130,14 @@
|
||||
{
|
||||
"command": "bigDataClusters.command.mount",
|
||||
"title": "%command.mount.title%"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.refreshmount",
|
||||
"title": "%command.refreshmount.title%"
|
||||
},
|
||||
{
|
||||
"command": "bigDataClusters.command.deletemount",
|
||||
"title": "%command.deletemount.title%"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user