New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance of package load and command execution #2819
Conversation
…figuration. - Removed unused configuration object/argv on application create.
* Fix Azure#1615. * Code review feedback.
…ure#2763) * Update test docs for running individual test and all tests in mod * Made feedback changes
Make lock command parameter aliases match up with resource commands.
…M in lab (Azure#2767) * WIP create linux + Windows vm in lab * Adding recording
Add more validation to resolve "lock level" for lock commands.
* Core:apply configured defaults on optional argument * add a test * add tests * update history doc * address review feedback
* Fix doc references to azure.cli.commands This module has moved to azure.cli.core.commands * Fix PyLint
* Add clearer guidelines on modifying changelog * A few smaller changes * another small format change * Code review changes
…idation fail… (Azure#2764) * nulling out the windows profile so that there isn't a valdiation failure for missing password ACS doesn't return a password on GET. az acs scale command does a GET then PUT, but since ACS doesn't return the password the verification is failing before the PUT is sent to ACS. There is a bug in ACS this exposes. So this shouldn't be merged until after the ACS rollout finishes. Should be about start of next week. * updating history * updating version in history * removing white space added by editor
…#2773) * Fix issues with VMSS and VM availability set update. * Update help. Fix Azure#2762.
…s up raw az command)
Codecov Report
@@ Coverage Diff @@
## master #2819 +/- ##
==========================================
+ Coverage 62.89% 62.94% +0.04%
==========================================
Files 480 481 +1
Lines 26012 26074 +62
Branches 3946 3956 +10
==========================================
+ Hits 16361 16412 +51
- Misses 8627 8634 +7
- Partials 1024 1028 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -852,6 +854,45 @@ def _load_transformed_arguments(self, handler): | |||
help=docstring)) | |||
|
|||
|
|||
def validate_client_parameters(namespace): | |||
"""Retrieves Batch connection parameters from environment variables""" | |||
from azure.mgmt.batch import BatchManagementClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just relocated or is it refactored? If so, might want @annatisch to review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is just relocated. Adding @annatisch as a reviewer either way. Good call!
FYI @oakeyc this may impact you also. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems okay to me :)
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Command Guidelines
(see Authoring Command Modules)
Delay load azure modules as much as possible to improve startup time.
az
(without parameters) to be very slow, particularly on systems with less powerful CPUs.