Skip to content

Loading versioned models for network and resources (2015 profile support) - #2812

Merged
Derek Bekoe (derekbekoe) merged 1 commit into
Azure:api-profile-supportfrom
derekbekoe:2015-network-resources
Apr 10, 2017
Merged

Derek Bekoe (derekbekoe) merged 1 commit into
Azure:api-profile-supportfrom
derekbekoe:2015-network-resources

Conversation

@derekbekoe

Copy link
Copy Markdown
Member

No description provided.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #2812 into api-profile-support will decrease coverage by <.01%.
The diff coverage is 61.81%.

Impacted file tree graph

@@                   Coverage Diff                   @@
##           api-profile-support    #2812      +/-   ##
=======================================================
- Coverage                63.02%   63.02%   -0.01%     
=======================================================
  Files                      483      483              
  Lines                    26212    26225      +13     
  Branches                  3973     3978       +5     
=======================================================
+ Hits                     16520    16528       +8     
- Misses                    8653     8657       +4     
- Partials                  1039     1040       +1
Impacted Files Coverage Δ
...ource/azure/cli/command_modules/resource/custom.py 51.22% <100%> (+0.1%) ⬆️
...etwork/azure/cli/command_modules/network/custom.py 62.42% <61.11%> (-0.05%) ⬇️
...dback/azure/cli/command_modules/feedback/custom.py 34.69% <0%> (ø) ⬆️
...-cli-role/azure/cli/command_modules/role/custom.py 19.28% <0%> (ø) ⬆️
src/azure-cli-core/azure/cli/core/util.py 68.99% <0%> (ø) ⬆️

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 852e535...d4ea302. Read the comment docs.

@derekbekoe
Derek Bekoe (derekbekoe) merged this pull request into Azure:api-profile-support Apr 10, 2017
@derekbekoe
Derek Bekoe (derekbekoe) deleted the 2015-network-resources branch April 10, 2017 21:56
'private_ip_address': private_ip_address,
'subnet': Subnet(id=subnet)
}
if get_api_version(ResourceType.MGMT_NETWORK) in ['2016-09-01']:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean we're going to have to manually add '2016-12-01' to everywhere this list occurs to support the next API version? This would imply that this block applies only to this API version--nothing prior or later.

@tjprescott

Travis Prescott (tjprescott) commented Apr 10, 2017

Copy link
Copy Markdown
Member

Why was this merged with no reviewer approval?
EDIT: Ah, I see--this was a merge to local branch.

@derekbekoe

Copy link
Copy Markdown
Member Author

Travis Prescott (@tjprescott) Yeah I'm taking a look at this, #2579, #2578 and #2577 before my PR to master branch.

Derek Bekoe (derekbekoe) added a commit that referenced this pull request Apr 11, 2017
- 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
Derek Bekoe (derekbekoe) added a commit that referenced this pull request Apr 13, 2017
- 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
Derek Bekoe (derekbekoe) added a commit that referenced this pull request Apr 14, 2017
* 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
Kerwin(Kaihui) Sun (00Kai0) pushed a commit to 00Kai0/azure-cli that referenced this pull request Apr 7, 2021
* chore: clean up recordings

* add recording processor

* replace with mocks

* revert arg change
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.

6 participants