Граф коммитов

1610 Коммитов

Автор SHA1 Сообщение Дата
Derek Bekoe 974ee3cfcd Pull enums from SDKs (#470) 2016-06-30 09:08:35 -07:00
Derek Bekoe 7f0a3af710 Update command module generation scripts to work with recent changes (#476)
* Fix script that creates the generated file after cli_command changes

* Make changes to command module generation
2016-06-29 16:08:58 -07:00
Derek Bekoe 40edeb1599 Feedback Module (#465)
* 'az feedback' client_side logic (doesn't send data yet)

* Complete feedback module

* Use new instrumentation key & change version for dev

* Improve method/var names
2016-06-29 16:00:12 -07:00
Yugang Wang 95590e7a0f commands: group deployment validate & export (#464) 2016-06-29 11:36:04 -07:00
Burt Bielicki e25b9227a1 fold params into a single create/reference field for web app hosting plan (#446) 2016-06-28 14:45:03 -07:00
Derek Bekoe 89d09bb4cd Update from rc4 to rc5 of Azure SDK for Python (#460) 2016-06-27 17:18:04 -07:00
Yugang Wang 6f4ce26d8a commands: resource providers registration (#457) 2016-06-27 12:58:22 -07:00
Travis Prescott 0467c8fc4b Wrap value error in CLIError when an ID parsing error occurs in NIC create. (#455) 2016-06-24 14:41:12 -07:00
Derek Bekoe 5e4722f1a9 Case insensitive choices (#459) 2016-06-24 12:15:36 -07:00
Travis Prescott a3f4ca6be5 Remove 'x-ms-client-request-id' during automated tests (#456)
* Use alternate implementation of get_mgmt_service_client for test recording/playback.

* Move mock_service_client code into test base.
2016-06-24 10:40:45 -07:00
Derek Bekoe de212ecfbc Case insensitive ChoicesCompleter (argcomplete) (#454) 2016-06-24 10:03:21 -07:00
Derek Bekoe a0332a48ba Tab completion for subscription id and name for 'az account set' command (#453) 2016-06-24 10:01:26 -07:00
Derek Bekoe 0c4091b8f1 Include new command module package in Windows install doc (#444) 2016-06-22 16:36:40 -07:00
Yugang Wang 7e9bb65571 bug: fix #439 by validating & refreshing token before each rest call (#443) 2016-06-22 15:58:33 -07:00
Travis Prescott d440d252f8 NIC Smart Create (#430)
* Add NIC create smart create. Fix issues with deployment-name generation.

* Add public IP.  Add params for load balancer NAT rules and address pools (not implemented yet).

* Code review fixes.
2016-06-22 15:35:33 -07:00
Derek Bekoe 2b5989ef0f Automated smoke tests for Linux (with README) (#429)
* Automated smoke tests for Linux

* Code review improvements

* Improve docs

* Support python 2 & 3 strs
2016-06-22 14:08:54 -07:00
Yugang Wang 171ad01f44 Bug: fix #123 so return error code on CLIError (#442) 2016-06-22 11:42:01 -07:00
Travis Prescott 4ab0cb7469 Wrap JMESPath Exceptions in CLIError (#431)
* Fix issue #224

* Identify and catch JMESPath failures at parse time.
2016-06-22 10:30:53 -07:00
Burt Bielicki 0b3b6fd9e1 Commands/create vm outputs2 (#441)
* procure vm create outputs

* merge renames and add ID output
2016-06-22 09:31:53 -07:00
Burt Bielicki d9e2b69659 Commands/create vm (#435)
* VM Create: Add support for multiple existing NICs

* Rename vm mgmt folder
2016-06-21 15:28:47 -07:00
Johan Stenberg (MSFT) 12ede9be31 Johanste oss codeofconduct (#440)
* Update README.rst

* Update README.rst
2016-06-21 14:22:59 -07:00
Yugang Wang f560ab49ee Bug fixes: #374, #385, #432 (#438)
* fix #374: using Gib

* fix #385

* fix #432: before get bootlog: check boot-diagnostics is enabled
2016-06-21 09:43:26 -07:00
Yugang Wang 0c9991460b commands: acs (#428) 2016-06-16 19:14:26 -07:00
Travis Prescott 1527a6acb1 Fix issue where commands would be output multiple time. Make output valid JSON and address asks. (#426) 2016-06-16 16:58:26 -07:00
Travis Prescott 76857d6a32 Fix Load Balancer Outputs and Tests (#418)
* Fix lack of load balancer outputs. Update load balancer test to include
creation.

* Final code review comments.

* Address issue #347.
2016-06-16 15:31:33 -07:00
Yugang Wang b6f0c131b2 adal: use published 0.3.0 version (#427) 2016-06-16 14:51:52 -07:00
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -07:00
Johan Stenberg (MSFT) ac42b7d0dd Merge pull request #416 from derekbekoe/webapp-rg-param
Command modules should import azure.cli.commands.parameters
2016-06-15 17:46:14 -07:00
Johan Stenberg (MSFT) fe9195baef Merge pull request #422 from derekbekoe/completer-part3
Completer improvements part 3
2016-06-15 17:42:36 -07:00
Yugang Wang b597170663 command: vm data disk (#411) 2016-06-15 14:42:25 -07:00
Derek Bekoe b79eaf6ebc Resource completion for other resources 2016-06-15 13:16:12 -07:00
Derek Bekoe d4cccb39a8 FileCompleter for ssh key paths 2016-06-15 13:16:12 -07:00
Derek Bekoe 23e6f91728 Command modules must import azure.cli.commands.parameters in order to get the global resource group param
i.e. register_cli_argument('', 'resource_group_name', resource_group_name_type) in parameters.py
2016-06-15 13:15:45 -07:00
Derek Bekoe 3fb48c059b In the component module, 'link' is optional, not required. (#423) 2016-06-15 13:00:54 -07:00
Derek Bekoe cef7d4b9e1 Add comment that message must be changed (#424) 2016-06-15 13:00:38 -07:00
Johan Stenberg (MSFT) 2104c50d9b Merge pull request #415 from derekbekoe/pin-msrest
Set the minimum msrest and msrestazure versions required
2016-06-14 14:36:18 -07:00
Johan Stenberg (MSFT) be6824e58b Improve telemetry (#414)
* Provide a consistent 'x-ms-client-request-id' header value for all commands originating from a client factory constructed service client from within a given CLI command execution

Append the command executing to the user agent string

* Change from specifying command name in user agent string to custom header to match what we do in PowerShell

* Fix trailing space...
2016-06-14 14:35:50 -07:00
Derek Bekoe 685ebceb0a Check for error message in log text when running az for package verification (#404)
* Check for error message in log text when running az for package verification

* Simplify if statement
2016-06-14 14:20:34 -07:00
Derek Bekoe a27008b9bb Set the min. msrest and msrestazure versions required 2016-06-14 13:54:57 -07:00
Derek Bekoe 9f0d022343 Remove 'vpn-gateway reset' command that was commented out after rc4 update (#409)
The command is a complex command that works similarly to 'vpn-gateway create' which we also have not implemented.
So remove for now.
2016-06-14 11:49:22 -07:00
Travis Prescott 88563839ba Merge pull request #382 from tjprescott/AutomateFatClientGeneration
'Smart Create' Automation Scripts
2016-06-14 11:25:52 -07:00
Travis Prescott bbeb0382d2 Address code review comment. 2016-06-14 10:39:19 -07:00
Yugang Wang 9404293f34 vm access: rename set-windows-user-password to reset-windows-admin (#412) 2016-06-14 10:39:14 -07:00
Travis Prescott 807ba00b4b Address code review comments. 2016-06-14 09:15:48 -07:00
Travis Prescott 04f06aaab7 Add test plan and update VCR test to cover the test plan. 2016-06-13 17:01:00 -07:00
Travis Prescott 46f3a49a4a Created versioned 'public_ip_address' create. Add scripts for automated
smare creates.
2016-06-13 16:58:57 -07:00
Johan Stenberg (MSFT) 6b63110567 Merge pull request #408 from johanste/argparse_conflict_equals_error
Change conflict resolution for our parser from 'resolve' to 'merge'. …
2016-06-13 16:50:22 -07:00
Johan Stenberg 35a3a07f07 Change conflict resolution for our parser from 'resolve' to 'merge'. This means that it is now an error to have two arguments that overlap in option_strings.
Fixed up the existing conflicts.
2016-06-13 16:40:54 -07:00
Derek Bekoe a86c1f1b79 [Install] Prevent pip cache warnings (#343)
* Instead of specifying no-cache, set cache to be tmp dir

* Add check for dir and install
2016-06-13 16:11:58 -07:00
Johan Stenberg (MSFT) bbb424de4e Merge pull request #402 from derekbekoe/json-bytes-support
Support Bytes for JSON encoding
2016-06-13 15:26:02 -07:00