Skip to content

[AutoPR cosmos-db/resource-manager] Swagger changes to introduce REST APIs for offline and online region for the Cosmos DB account#2481

Merged
AutorestCI merged 5 commits intorestapi_auto_cosmos-db/resource-managerfrom
restapi_auto_2962
May 9, 2018
Merged

[AutoPR cosmos-db/resource-manager] Swagger changes to introduce REST APIs for offline and online region for the Cosmos DB account#2481
AutorestCI merged 5 commits intorestapi_auto_cosmos-db/resource-managerfrom
restapi_auto_2962

Conversation

@AutorestCI
Copy link
Contributor

fix the compiling error for the json
@AutorestCI
Copy link
Contributor Author

AutorestCI commented Apr 27, 2018

(message created by the CI based on PR content)

Installation instruction

Package azure-mgmt-cosmosdb

You can install the package azure-mgmt-cosmosdb of this PR using the following command:
pip install "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_2962#egg=azure-mgmt-cosmosdb&subdirectory=azure-mgmt-cosmosdb"

You can build a wheel to distribute for test using the following command:
pip wheel --no-deps "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_2962#egg=azure-mgmt-cosmosdb&subdirectory=azure-mgmt-cosmosdb"

If you have a local clone of this repository, you can also do:

  • git checkout restapi_auto_2962
  • pip install -e ./azure-mgmt-cosmosdb

Or build a wheel file to distribute for testing:

  • git checkout restapi_auto_2962
  • pip wheel --no-deps ./azure-mgmt-cosmosdb

Direct download

Your files can be directly downloaded here:

@codecov-io
Copy link

codecov-io commented Apr 27, 2018

Codecov Report

Merging #2481 into restapi_auto_cosmos-db/resource-manager will decrease coverage by 0.01%.
The diff coverage is 40.42%.

Impacted file tree graph

@@                             Coverage Diff                             @@
##           restapi_auto_cosmos-db/resource-manager    #2481      +/-   ##
===========================================================================
- Coverage                                    54.46%   54.45%   -0.02%     
===========================================================================
  Files                                         6181     6185       +4     
  Lines                                       138036   138126      +90     
===========================================================================
+ Hits                                         75186    75220      +34     
- Misses                                       62850    62906      +56
Impacted Files Coverage Δ
...ure-mgmt-cosmosdb/azure/mgmt/cosmosdb/cosmos_db.py 100% <100%> (ø) ⬆️
...mt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py 100% <100%> (ø) ⬆️
azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/version.py 100% <100%> (ø) ⬆️
...osmosdb/operations/database_accounts_operations.py 59.15% <12%> (-6.67%) ⬇️
...mosdb/azure/mgmt/cosmosdb/models/error_response.py 63.63% <63.63%> (ø)
...b/azure/mgmt/cosmosdb/models/error_response_py3.py 63.63% <63.63%> (ø)
.../mgmt/cosmosdb/models/region_for_online_offline.py 71.42% <71.42%> (ø)
...t/cosmosdb/models/region_for_online_offline_py3.py 71.42% <71.42%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6a4806...25bdf11. Read the comment docs.

define a new region parameter for online/offline
actually fixing the bug where the region parameter was part of query instead of body
another try to specify the correct swagger changes
@AutorestCI AutorestCI merged commit 52d7d5c into restapi_auto_cosmos-db/resource-manager May 9, 2018
@AutorestCI
Copy link
Contributor Author

This PR has been merged into #2556

lmazuel pushed a commit that referenced this pull request May 15, 2018
* [AutoPR cosmos-db/resource-manager] Swagger changes to introduce REST APIs for offline and online region for the Cosmos DB account (#2481)

* Generated from f874740b2a678460b05083d316f0332701c43df7

fix the compiling error for the json

* Generated from fa9bc3028e4c1394bab3ee2c29bcfaaae752cb1b

define a new region parameter for online/offline

* Generated from ab30108303e8b0af64abcac225babb39f1040974

actually fixing the bug where the region parameter was part of query instead of body

* Generated from f2366fb3019c4625f0351dbf06bf4af52c814f6c

another try to specify the correct swagger changes

* Generated from 90571350169f9fa1de9d74a9588479d776cae2b8

Added default error response

* Latest Autorest fixes

* CosmosDB packaging 0.4.1
@lmazuel lmazuel deleted the restapi_auto_2962 branch June 14, 2018 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments