Skip to content

Commit

Permalink
{cosmosdb-preview} Update extension for managed identity (#5368)
Browse files Browse the repository at this point in the history
* initial change

* fix the sdk

* update recordings

* update tests
  • Loading branch information
ashwinisingh01 authored Sep 21, 2022
1 parent 981cc99 commit eedf3f0
Show file tree
Hide file tree
Showing 24 changed files with 5,692 additions and 8,284 deletions.
2 changes: 1 addition & 1 deletion src/cosmosdb-preview/azext_cosmosdb_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
from azure.cli.core.azclierror import InvalidArgumentValueError
from azure.core.exceptions import ResourceNotFoundError

from azure.mgmt.cosmosdb.models import (
from azext_cosmosdb_preview.vendored_sdks.azure_mgmt_cosmosdb.models import (
Location,
CreateMode,
ConsistencyPolicy,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def test_cosmosdb_sql_container_adaptiveru(self, resource_group):
db_name = self.create_random_name(prefix='cli', length=15)
# Assumption: There exists a cosmosTest rg with the account adrutest2. This test only creates the database and collection
self.kwargs.update({
'rg' : 'cosmosTest',
'acc': 'adrutest2',
'rg' : 'canary-sdk-test',
'acc': 'sqladru2',
'db_name': db_name,
'col': col,
'loc': 'australiaeast',
Expand Down Expand Up @@ -64,8 +64,8 @@ def test_cosmosdb_mongodb_collection_adaptiveru(self, resource_group):
db_name = self.create_random_name(prefix='cli', length=15)

self.kwargs.update({
'rg':'cosmosTest',
'acc': 'adrutest3',
'rg':'canary-sdk-test',
'acc': 'sqladru3',
'db_name': db_name,
'col': col,
'loc': 'australiaeast',
Expand Down

0 comments on commit eedf3f0

Please sign in to comment.