Add support for CosmosDB - Mongo API (#19386)

* Display cdb nodes to browse azure tree

* Update icons

* Update node label

* Remove console logs

* Fix i18n in cosmosDbMongoTreeDataProvider

* Disable Mongo provider in azure tree for now

* Revert "Disable Mongo provider in azure tree for now"

This reverts commit 8b2d2079f43624596a41b82a71a5e40eef1ad4b1.

* Fix build issues related to merge

* Add COSMOSDB_MONGO in provider extension map

* Define providerId string as constant. Rename constants to follow azurecore/ naming conventions (all caps)
This commit is contained in:
Laurent Nguyen
2022-05-19 20:12:53 +02:00
committed by GitHub
parent 1bceb04a4a
commit 97a4ecdfbb
9 changed files with 191 additions and 2 deletions

View File

@@ -27,7 +27,8 @@ export const clientCapabilities = {
export const ConnectionProviderAndExtensionMap = new Map<string, string>([
['PGSQL', 'microsoft.azuredatastudio-postgresql'],
['KUSTO', 'microsoft.kusto'],
['LOGANALYTICS', 'microsoft.azuremonitor']
['LOGANALYTICS', 'microsoft.azuremonitor'],
['COSMOSDB_MONGO', 'microsoft.azure-cosmosdb-ads-extension']
]);
/**