changes for 2015-* profile to work against azure stack #2794
changes for 2015-* profile to work against azure stack #2794derekbekoe merged 2 commits intoAzure:api-profile-supportfrom
Conversation
|
@bganapa, |
|
cc:@derekbekoe |
derekbekoe
left a comment
There was a problem hiding this comment.
The changes look promising but added some comments.
There was a problem hiding this comment.
This doesn't look correct.
This is a dataplane command for storage and the API version is wrong.
There was a problem hiding this comment.
Currently, we support 2015-06-15 and 2016-04-30-preview.
So there's nothing else to add to this list right now.
There was a problem hiding this comment.
style: pylint will likely complain. There should be a space after the ,
There was a problem hiding this comment.
Should get the API version from get_api_version like you do for vm_api_version above.
There was a problem hiding this comment.
Same with av_set_api_version below.
There was a problem hiding this comment.
fixed them.. thanks for the review Derek!
4fb721f to
cd1064b
Compare
89a4df6 to
79dc4a2
Compare
Squashed commit: [89a4df6] loading versioned object models for vm [0ec5d8a] loading 0.30.0 version of the package azure-storage [4ac06ba] resolving a bad merge, replacing _util with util [a361e61] vm template builder changes for 2015-* profile [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+5 squashed commit) Squashed commit: [4ac06ba] resolving a bad merge, replacing _util with util [a361e61] vm template builder changes for 2015-* profile [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+3 squashed commit) Squashed commit: [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+1 squashed commits) Squashed commits: [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles
79dc4a2 to
6cca271
Compare
Codecov Report
@@ Coverage Diff @@
## api-profile-support #2794 +/- ##
=======================================================
- Coverage 63.03% 63.02% -0.01%
=======================================================
Files 483 483
Lines 26184 26203 +19
Branches 3963 3971 +8
=======================================================
+ Hits 16504 16515 +11
+ Misses 8653 8649 -4
- Partials 1027 1039 +12
Continue to review full report at Codecov.
|
* addressing cr comments and fixing pylint errors (+7 squashed commit) Squashed commit: [89a4df6] loading versioned object models for vm [0ec5d8a] loading 0.30.0 version of the package azure-storage [4ac06ba] resolving a bad merge, replacing _util with util [a361e61] vm template builder changes for 2015-* profile [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+5 squashed commit) Squashed commit: [4ac06ba] resolving a bad merge, replacing _util with util [a361e61] vm template builder changes for 2015-* profile [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+3 squashed commit) Squashed commit: [6e84045] Loading versioned Resources client and versioned models in VM [cf28976] Updating the supported api-versions for the 2015-example profile [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles (+1 squashed commits) Squashed commits: [b58cad7] Fixing network , compute sdk load errors for 2015-* profiles * resolving a badmerge and fixing storage dataplane reference
- Use published SDKs available on PyPI now - Loading versioned models for network and resources, object model initialization changes for 2015-* profile (#2812) - Custom ca certs - Setting Requests_ca_bundle environment variable (#2813) - changes for 2015-* profile to work against azure stack (#2794) - Loading versioned Resources client and versioned models in VM - Updating the supported api-versions for the 2015-example profile - Fixing network, compute sdk load errors for 2015-* profiles (+5 squashed commit) - Support multi-API versioned Storage dataplane SDK (#2796) - Support multi-versioned mgmt SDK (#2526) - Fix token "management" endpoint is being used in the place of "activeDirectoryResourceId" (#2410) - Add profile switching params and profile listing command (#2398) - Use ARM 'resource manager' endpoint if ASM 'management' endpoint not set
- Use published SDKs available on PyPI now - Loading versioned models for network and resources, object model initialization changes for 2015-* profile (#2812) - Custom ca certs - Setting Requests_ca_bundle environment variable (#2813) - changes for 2015-* profile to work against azure stack (#2794) - Loading versioned Resources client and versioned models in VM - Updating the supported api-versions for the 2015-example profile - Fixing network, compute sdk load errors for 2015-* profiles (+5 squashed commit) - Support multi-API versioned Storage dataplane SDK (#2796) - Support multi-versioned mgmt SDK (#2526) - Fix token "management" endpoint is being used in the place of "activeDirectoryResourceId" (#2410) - Add profile switching params and profile listing command (#2398) - Use ARM 'resource manager' endpoint if ASM 'management' endpoint not set
* API Profile Support - Use published SDKs available on PyPI now - Loading versioned models for network and resources, object model initialization changes for 2015-* profile (#2812) - Custom ca certs - Setting Requests_ca_bundle environment variable (#2813) - changes for 2015-* profile to work against azure stack (#2794) - Loading versioned Resources client and versioned models in VM - Updating the supported api-versions for the 2015-example profile - Fixing network, compute sdk load errors for 2015-* profiles (+5 squashed commit) - Support multi-API versioned Storage dataplane SDK (#2796) - Support multi-versioned mgmt SDK (#2526) - Fix token "management" endpoint is being used in the place of "activeDirectoryResourceId" (#2410) - Add profile switching params and profile listing command (#2398) - Use ARM 'resource manager' endpoint if ASM 'management' endpoint not set * Address code review feedback Fix pylint and pep8 (+7 squashed commits) Squashed commits: [f1d4d52] Refactor to use joint method [f43785a] Use generic method to get versioned SDK attributes [2100dd2] Add log debug if enum default not found [5767f41] Add single_placement_group back in for vmss [05ca8bc] Revert a test change. It has been fixed in master. [cdf4211] Simplify str override method [281c755] Clarify use of getattr * Fix patching the operation versions * Fix wrong import * Rename shared to _shared * Add message to cloud debug message * Remove public method ‘get_versioned_sdk_path’ from azure.cli.core.profiles * Remove unused import * Use setattr * Add API version comparisons * Add method docs * Fix failing test
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Command Guidelines
(see Authoring Command Modules)