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

270 Коммитов

Автор SHA1 Сообщение Дата
Burt Bielicki 23ae073124 Generic Update Command support. (#558)
* Generic Update Command support.  Allows an update command (e.g. az vm
update) to be registered, which then updates fields with a generic
set/add/remove syntax.

* Use namespace to store ordered arguments and add a test for --ids param
2016-07-29 14:54:08 -07:00
Yugang Wang 385df00e9f basic graph object read for erasier role assignment creation (#553) 2016-07-28 11:38:27 -07:00
Johan Stenberg (MSFT) dbf4a529ab Basic support for redis cache (#542)
* Initial "bronze level" redis cache implementation

* Add some more semantic type information for parameters

* Fix broken choice list for key_type

* - Add output support for datetime.timedelta (simply calling str in it for now)
- Add support for redis patch-schedule (including basic support for set by passing in a json object

* Pylint fixes + missed changes from refactoring of parameter names

* Update license per code review comments
2016-07-25 11:28:01 -07:00
Burt Bielicki 157db18c19 Add tagging to VM and WebApp, refactor to eliminate nested templates (#538)
* Add tagging to VM and WebApp, refactor to eliminate nested templates

* Add copyright headers to generated files.  Also add a script that can auto-add the copyright to all *.py files.  Update the generate smart create script to add headers so we don't have to run the auto-add script after regenerating.
2016-07-21 15:30:55 -07:00
Burt Bielicki e5a16ad5e1 Commands/tagging2 (#534)
* Add tagging to LB, refactor to eliminate nested templates

* Add tagging to App Gateway, refactor to eliminate nested templates
2016-07-20 10:43:25 -07:00
Burt Bielicki 220f0e6412 Add tagging support to network create commands. Refactor templates to use master copies. (#532) 2016-07-19 16:02:51 -07:00
Travis Prescott b699dfd77d Application-Gateway Create (#477)
* First version of 'application gateway create'.

* Add application-gateway creation tests.

* Add validator for address prefixes.

* Code review feedback.

* Add application gateway completers.

* Code review fix.
2016-07-12 12:42:20 -07:00
Johan Stenberg (MSFT) 631017d798 Refactor AzureResourceId class and rename azure_resource_id to arm (#505)
* Rename the azure_resource_id module to arm as it provides generally usable ARM commands.

Also changed the parsing/creation of resource IDs to functions instead of having a class

* Fix minor bug where is_valid_resource_id throws if invalid id is passed in instead of returning Falsy.

* Partially working

* Fix up pylint violation in arm.py
Fix splitting bug for resource types in param_folding.
Fix missing import of argparse in network/_validatorys.py

* Fix broken merge from upstream still referencing now defunct AzureResourceId class

* Fix up lint errors

* Code review feedback.

- Moved parameter folding to central location (template_create module)
- Moved basic id validation from validator to type to get correct argument name in error message

* Update changes from upstream to work with new parameter folding/resource id refactoring

* Remove accidentally added newline
2016-07-07 18:30:31 -07:00
Burt Bielicki 5349089ac1 VM Enhancements Round 1 (#485)
* update AzureResourceId to strip whitespace and quotes (which are often passed in from the command line, especially from jmespath query results)

* change default vm size, fix output bug for multi-nic vms

* Fold VM Create Params

* Fold VM params part 2

* update tests to work with output adjustments

* Fix name collisions on delete/re-create.  Add fail if VM already exists with --force option to override.

* Add default so vm create help shows automatic SSH key read capability.

* Re-record VM tests, change os disk default to CLI-side

* update example text, move os-disk-name calculation to validator, remove
--force

* Update VM Create tests
2016-07-06 17:34:17 -07:00
Travis Prescott ffc7a6f06e Load Balancer Subresource Commands (#449)
* Alter LB create to be more bare-bones. Add supporting commands.

* Fix decorator issue with Python 2.7

* Address code review comments and add automated tests.

* Restore default backend address pool.

* Name/id parameter folding.

* Code review fixes.
2016-07-05 13:47:01 -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
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
Yugang Wang 171ad01f44 Bug: fix #123 so return error code on CLIError (#442) 2016-06-22 11:42:01 -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
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
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -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
Burt Bielicki fbbe37234b rename _help_files to help_files. Move test code out of help_files … (#380)
* rename _help_files to help_files.  Move test code out of help_files  Remove help doc gen.
2016-06-10 15:30:13 -07:00
Burt Bielicki 25a24d75fe Create NSG command and test (#366)
* Create NSG command and test

* Create NSG Rule command, remove rules from NSG create

* Create NSG rule create and test
2016-06-09 16:07:50 -07:00
Yugang Wang 239572f2a0 vm command: support capture (#381)
* vm command: support capture

* command: vm capture need not take a file option for template content
2016-06-09 15:17:52 -07:00
Yugang Wang 3a19a05c6f tests: convert VM and network vcr tests into python unit test (#367)
tests: convert VM and network vcr tests into python unit test
2016-06-07 17:34:44 -07:00
Burt Bielicki e8f3bfdb86 VM/VMSS test plan (#359)
* version VMSS templates, add test plan, update params to match VM

add support for custom images in vm create

* add handle auth types to scaleset add missing behavior for custom images
to VMSS

* add custom image support to vm create

implement custom vhd support for vm create

* fix merge errors

* fix some commands that broke during the command registration changes
2016-06-07 16:18:49 -07:00
Johan Stenberg c4dfad60a9 Cleaned up azure.cli.commands to make it clear what is supposed to be part of the public surface area for command authors and what is internal.
Changed the command package protocol back to using a single command table defined in the azure.cli.commands packge instead of expecting a get_command_table method for each command package.

Moved argument aliasing and updating logic from application into azure.cli.commands since that is where it belongs.
2016-06-07 15:34:18 -07:00
Travis Prescott 70ae348aa6 Create ACL commands and tests for blob and file services. 2016-06-03 14:48:56 -07:00
Johan Stenberg 8af1b5eb60 Remove defunct support for localization 2016-06-03 13:51:00 -07:00
Travis Prescott 519d995c0d Merge branch 'master' into convert_storage_commands
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py
2016-06-02 10:07:16 -07:00
Burt Bielicki b3e142a6da Commands/create vm (#344)
* Redirect templates, fix NSG rule bug

* fix private static IP address bug, rename IP Allocations to lower case
2016-06-02 09:39:17 -07:00
Travis Prescott c17284e152 Post merge fixes. 2016-06-02 08:42:42 -07:00
Travis Prescott ae3f0e14ee Merge branch 'master' of https://github.com/johanste/azure-cli into convert_storage_commands
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_custom_vm_commands.py
2016-06-01 09:26:00 -07:00
Travis Prescott 9ab8a50d61 Covert all modules to new style command registration and aliasing. 2016-06-01 09:11:42 -07:00
Johan Stenberg (MSFT) 7d4b65d118 Merge pull request #320 from BurtBiel/commands/CreateVM
Commands/create vm Add NSG support
2016-05-26 16:09:40 -07:00
Burt Bielicki 61c587e067 Add NSG support to Create VM 2016-05-26 15:59:03 -07:00
Travis Prescott acea1bd33c THIS WILL BE BROKEN!
Merge branch 'master' of https://github.com/johanste/azure-cli into convert_storage_commands

# Conflicts:
#	scripts/dump_command_table.py
#	src/azure/cli/commands/__init__.py
#	src/azure/cli/utils/command_test_script.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/command_specs.py
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_params.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/generated.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs_vm_create.py
2016-05-26 12:35:26 -07:00
Travis Prescott 515e96939f Tag scenario tests and enhanced interactive testing debugging. 2016-05-25 17:01:07 -07:00
Travis Prescott 2059d7f2a9 Fix bug in command coverage. Handle quoted strings properly when splitting. Add tag scenario test.
Add Role module and tests.
2016-05-25 17:00:19 -07:00
Travis Prescott b09b6db778 Add Role and Role Assignment auto-commands. 2016-05-25 16:59:25 -07:00
Burt Bielicki df61a4a1a2 Add vm container create command (#327) 2016-05-25 16:40:41 -07:00
Travis Prescott bc7e724d66 Create simplified 'cli_command' method. 2016-05-25 15:42:55 -07:00
Yugang Wang cb204b10e2 vm extension: support 'set' and 'list' (#326)
* list extension image list

* extract common helper logic to vm_utils
2016-05-25 13:37:53 -07:00
Travis Prescott 3e03ebc6a0 Convert storage module commands. 2016-05-25 10:14:39 -07:00
Travis Prescott e1b61200b4 Resource Commands (#304)
* Add support to list resources by resource group. Add resource set command
to add or clear tags from a resource.

* Address code review comments and add 'resource provider list' and 'resource provider show' commands.
2016-05-24 13:50:19 -07:00
Johan Stenberg 4f2462a37f Move command argument modifications out of _autocommand.build_command to application 'command table loaded' event (and exposed 'command table loaded' event from the application). This way, parameter aliasing/providing of metadata works for all commands, not only auto-command commands.
Added validate/morph argument value capabilities to the aliasing subsystem. Previously, one had to use an awkward mix of argparse.Action to populate the namespace attributes and then add an event handler to manipulate the values of the namespace if you wanted to validate combination of arguments or combine argument values from multiple arguments into a single attribute on the namespace (example of the latter is typed $filter parameters)

Currently, network and compute are passing tests. The compute actions (particularly for create scenarios) need to be moved to the new functionality.
2016-05-20 19:23:17 -07:00
Burt Bielicki e84c1238ce Create webapp command (#303) 2016-05-20 14:27:25 -07:00
Burt Bielicki 7b4a283985 Commands/create vmss (#273)
* basic scale set deploy working

* working deployments, needs some more testing and lb broken out

* new, existing or no load balancer options.  Need to not create PublicIP on none option

* fully working VMSS create

* lint

* add modules to setup, add help examples

* initial working LB create, using no IP not working, needs subnet ref?...

* Revert "initial working LB create, using no IP not working, needs subnet ref?..."

This reverts commit 9802e2eaf93f56b208b1fb9840a53c56e4d981b5.

* add subnet ref when no IP is used
2016-05-19 15:02:42 -07:00
Burt Bielicki cb7e017d34 fully working LB create (#283) 2016-05-19 13:19:55 -07:00
Travis Prescott 60f90f12aa Merge pull request #277 from tjprescott/RemoveTokenAuthFromVCRV2
Remove Auth Tokens From VCR Tests
2016-05-19 13:08:24 -07:00
Burt Bielicki 562c938b58 create public IP address command (#229) 2016-05-18 16:13:09 -07:00
Travis Prescott 2f4dfb7bee Add test to fail if any cassette exposes a security token. 2016-05-17 07:21:32 -07:00
Burt Bielicki cd519efa0a Merge branch 'master' 2016-05-10 18:13:04 -07:00
Travis Prescott 2009837ec1 Fix regressions and add tests to cover future regressions. 2016-05-10 17:08:24 -07:00
Burt Bielicki 06309d3064 proj file 2016-05-10 15:11:58 -07:00
Travis Prescott 28cc5ac9aa Merge branch 'master' of https://github.com/tjprescott/azure-cli into ConvertHandAuthoredCommands
# Conflicts:
#	src/azure/cli/_logging.py
#	src/azure/cli/utils/command_test_script.py
#	src/azure/cli/utils/command_test_util.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/expected_results.res
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_images_list_by_aliases.yaml
2016-05-10 09:40:48 -07:00
Travis Prescott 949fc75fde Merge Yugang's changes to VM 2016-05-09 13:06:58 -07:00
Travis Prescott 4f60b0d19c Progress on resource group scenario tests and test framework enhancements. 2016-05-09 10:06:35 -07:00
Travis Prescott 05085eeda9 Merge branch 'master' of https://github.com/tjprescott/azure-cli into ConvertHandAuthoredCommands
# Conflicts:
#	azure-cli.pyproj
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
2016-05-06 16:30:32 -07:00
Travis Prescott 4521a41cf4 Convert task help and clean up. 2016-05-06 16:12:47 -07:00
Burt Bielicki 3651112786 merge master 2016-05-06 14:34:49 -07:00
Burt Bielicki 83e53ee728 Create availability set 2016-05-06 14:31:18 -07:00
Burt Bielicki 74c32d9012 Merge pull request #219 from BurtBiel/commands/CreateVM
more vm polish
2016-05-06 12:41:41 -07:00
Burt Bielicki 2264f6e82d include vm files 2016-05-06 10:31:06 -07:00
Travis Prescott 4b73df753e Progress on converting network. 2016-05-05 16:06:26 -07:00
Travis Prescott ac5f3a8a74 Updates to work with "patches vm" commands and VM create command. 2016-05-05 14:54:38 -07:00
Travis Prescott 45f2bebd09 Fix resource group commands 2016-05-05 10:31:59 -07:00
Travis Prescott 4b53467e27 Merge branch 'AddResourceGroupCommand' of https://github.com/tjprescott/azure-cli into ConvertHandAuthoredCommands
# Conflicts:
#	azure-cli.pyproj
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_params.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
2016-05-05 10:16:55 -07:00
Travis Prescott ff3ea55f9d Merge branch 'master' of https://github.com/tjprescott/azure-cli into ConvertHandAuthoredCommands
# Conflicts:
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
2016-05-05 09:38:36 -07:00
Travis Prescott bcc237da7d Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceGroupCommand
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
2016-05-05 09:29:56 -07:00
Travis Prescott 9b2caab1bf Much closer to completion! 2016-05-04 17:04:35 -07:00
Travis Prescott 79cab04b51 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceGroupCommand
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
2016-05-04 09:05:16 -07:00
Travis Prescott 15cfc69222 Code review comments. 2016-05-03 14:44:46 -07:00
Travis Prescott a7352ceb7e Post-merge fixes. Fix bug where request URI differs between Python 2 and 3. 2016-05-03 09:25:17 -07:00
Travis Prescott e306c9fae3 Expose resouce group 'create', 'delete', 'show' and 'exists' commands. 2016-04-29 15:40:26 -07:00
Burt Bielicki 3739e4f4f7 merge master 2016-04-29 09:43:00 -07:00
Yugang Wang 84d0b35ee6 move vm image tests to a right location (#188) 2016-04-28 20:48:19 -07:00
Burt Bielicki 318ac20eeb Merge branch 'master'
Conflicts:
	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/__init__.py
2016-04-28 18:05:50 -07:00
Burt Bielicki 559f2c1654 include new proj files 2016-04-28 13:58:40 -07:00
Johan Stenberg c355722221 Update broken merge for project file 2016-04-26 17:38:15 -07:00
Johan Stenberg 7d80fb8f1f Added tests, fixed broken filter when missing tags argument 2016-04-26 17:35:58 -07:00
Travis Prescott 2b03f7a769 Combine list and list-all VM commands. 2016-04-26 09:47:28 -07:00
Burt Bielicki 7039e0af0b cleanup + troubleshooting optional storage account (broken) 2016-04-26 09:18:03 -07:00
Burt Bielicki 534fb99b60 working vm create with new autorest 2016-04-22 10:33:35 -07:00
Burt Bielicki a7f9b0b6f1 all scenarios for availability set and ssh key working 2016-04-21 16:45:22 -07:00
Burt Bielicki 3685252d23 working refactored vm create, only support no avail set and password auth 2016-04-21 12:12:41 -07:00
Johan Stenberg 8714af95f5 Added simple unit test for minmaxvalue 2016-04-20 18:14:29 -07:00
Johan Stenberg ea90a6d69a Add vm disk attach/detach + vm get ip addresses convenience function.
Also, split vm command module into two files; generated and custom.py
2016-04-20 18:12:13 -07:00
Burt Bielicki 0b3a986c67 Merge branch 'master' 2016-04-20 16:15:50 -07:00
Burt Bielicki 3d11330267 add module paths 2016-04-19 13:25:38 -07:00
Burt Bielicki 3526d1e086 Create VM command with included autorest output 2016-04-15 09:34:20 -07:00
Burt Bielicki ce099cab78 disable pylint on autorest code 2016-04-12 15:28:52 -07:00
Burt Bielicki 557f21c9c0 fat client vnet create 2016-04-12 14:30:11 -07:00
Travis Prescott a40fcbdb90 Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAccountMergeAttempt2
# Conflicts:
#	azure-cli.pyproj
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/__init__.py
#	testall.bat
2016-04-08 16:23:49 -07:00
Travis Prescott d18b646d6a Update command_test_util and start on reworking network tests. 2016-04-07 10:35:25 -07:00
Travis Prescott a944c52784 Hide trivial __init__.py files by excluding them from the project file. 2016-04-07 09:54:50 -07:00
Travis Prescott 22a4a5bf2f Update project settings to include missed files and hide others. 2016-04-07 09:17:10 -07:00
Travis Prescott 4dd796bde7 Work on migrating my work to command module structure. 2016-04-06 16:59:40 -07:00
Travis Prescott 6b7724fedc Attempt to cleanup project file. Update testall.bat to catch all tests, not just those in the core package. 2016-04-06 16:34:06 -07:00
Travis Prescott 7ae61a9a56 Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAccountMergeAttempt2
# Conflicts:
#	src/azure/cli/tests/command_specs/__init__.py
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.test_vm_usage_list_westus.yaml
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.vm_usage_list_westus.yaml
#	src/azure/cli/tests/test_commands.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/__init__.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/command_specs.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/recordings/test_network_usage_list.yaml
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/command_specs.py
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/recordings/test_resource_group_list.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_check.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_list.yaml
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/__init__.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_usage_list_westus.yaml
2016-04-06 16:19:05 -07:00
Travis Prescott 1438d124ad Fixes for conflicts with command module/package PR. 2016-04-06 15:42:37 -07:00
Travis Prescott b099098fb4 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands 2016-04-06 15:19:00 -07:00
Travis Prescott 3f3627b9fd Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAutoCommands
# Conflicts:
#	azure-cli.pyproj
#	src/azure/cli/tests/test_commands.py
2016-04-06 10:25:25 -07:00
Derek Bekoe 06b4bbbe72 Merge branch 'master' into acquisition-pip
# Conflicts:
#	setup.py
#	src/azure/cli/tests/test_commands.py
#	src/command_modules/azure-cli-profile/azure/cli/command_modules/profile/account.py
#	src/command_modules/azure-cli-profile/azure/cli/command_modules/profile/login.py
2016-04-06 10:12:47 -07:00
Travis Prescott a99e200d1e Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands 2016-04-06 10:09:47 -07:00
Yugang Wang 5d718e6cda Support login with live-id and creds sharing with azure-xplat-cli 2016-04-06 09:52:06 -07:00
Derek Bekoe c4851a87b9 Update .pyproj with references to new files 2016-04-05 13:00:20 -07:00
Travis Prescott 8773ccbc37 Address code review comments. Update storage VCR test defintions. 2016-04-04 09:05:45 -07:00
Travis Prescott 55e5496a49 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-04-01 16:43:58 -07:00
Travis Prescott c6456b1111 Fix all pylint errors. 2016-03-30 17:23:42 -07:00
Travis Prescott 84eb5760ae Merge branch 'StorageDataPlaneAutoCommand' of https://github.com/tjprescott/azure-cli into StorageAutoCommands
# Conflicts:
#	azure-cli.pyproj
#	src/azure/cli/commands/_auto_command.py
#	src/azure/cli/commands/storage.py
2016-03-30 15:25:37 -07:00
Travis Prescott 1c03816be2 Allow auto-commands to process extra command line arguments without messing up the SDK call. 2016-03-30 13:30:41 -07:00
Travis Prescott ea9279ac69 Test auto-command implementation for storage containers. 2016-03-29 14:45:03 -07:00
Travis Prescott f70c7825f3 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-03-29 08:30:21 -07:00
Johan Stenberg 365d513395 Fix up renamed artifacts in vs project file. 2016-03-28 15:08:59 -07:00
Johan Stenberg 9b1199b8db Merge from upstream (mainly help conflicts) 2016-03-28 15:00:18 -07:00
Johan Stenberg 16e94bc778 Fixed output, auto command tests (broken by refactoring)
Added tests for application, parser
Fixed minor issues in the code discovered by the tests
2016-03-28 14:51:46 -07:00
Travis Prescott 9e5ca4d80a Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommandsPhase2
# Conflicts:
#	azure-cli.pyproj
2016-03-28 14:28:56 -07:00
Travis Prescott 89ada05604 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddResourceShowAndSetCommands
# Conflicts:
#	azure-cli.pyproj
2016-03-28 14:22:32 -07:00
Travis Prescott f4c06cd5eb Add "uncommon" parameters to batch 1 storage plane commands. 2016-03-28 14:17:56 -07:00
Johan Stenberg e4106b8707 - Removed now defunct 'unexpected parameters' parameter for all command handlers
- Fixed up storage account/key/connection string parameter combinations where they were accidentally set to always be required when they in fact are part of mutually exclusive parameter sets. We need to handle this better in the future
- Renamed 'options' to 'arguments' in our command table.
- Fixed up resource group alias (from --rg to -g)
- Refactored application/session/configuration/command loading. The command package is now responsible for loading submodules. Renamed session to configuration and made it responsible for knowing what hints to give to the command modules in order to load the right set of modules. Moved event registreation and raising from what was previously the session object to the application object.
- Moved transforming of returned SDK objects from Output to the Application module and made output only responsible for figuring out which formatter to use
2016-03-25 19:46:04 -07:00
Travis Prescott ee1d0ed85b Update _resolve_tags method. Add automated tests. 2016-03-25 09:06:30 -07:00
Johan Stenberg bd35da6b94 Merge from upstream 2016-03-24 13:14:19 -07:00
Johan Stenberg 0d60821e5c Add files to pyproj 2016-03-24 13:09:20 -07:00
Travis Prescott d2ede2fe73 Rollback interpreter and extra environment changes. 2016-03-24 10:14:31 -07:00
Travis Prescott d464c1dfec Update batch 2 commands. 2016-03-23 16:48:10 -07:00
Travis Prescott a63e6fae5f Remove cmd line arguments. 2016-03-23 11:48:47 -07:00
Travis Prescott be5ad5a255 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommands 2016-03-23 10:56:55 -07:00
Travis Prescott ded6bad7a2 Unit tests and refactoring for "resolve_api_version" method. 2016-03-23 10:55:34 -07:00
Travis Prescott 23f8f73567 Merge branch 'master' of https://github.com/tjprescott/azure-cli into AddStorageDataPlaneCommandsPhase2 2016-03-22 21:10:01 -07:00
Travis Prescott 8728cafc28 Address code review comments. 2016-03-22 15:47:01 -07:00
Travis Prescott 2fe27f7985 Address code review comments. 2016-03-22 15:18:46 -07:00
Burt Bielicki 0992cc5411 update proj file 2016-03-21 15:41:38 -07:00
Burt Bielicki 673c2f2e6b Working help generation 2016-03-18 14:52:27 -07:00
Travis Prescott 2257b40b51 Replace manual commands with auto-commands. 2016-03-18 10:20:17 -07:00
Travis Prescott c9b6b11228 Split out 'resouce create' and 'resource set' commands. Lookup location for set. Wrap list indexing in try/catch. 2016-03-17 16:30:20 -07:00
Burt Bielicki 0a565a1899 merge master 2016-03-17 16:03:23 -07:00
Burt Bielicki 7bc62e0380 addressed code review feedback and fixed pylint 2016-03-17 16:00:03 -07:00
Travis Prescott c6ed63b462 Fix post-merge conflict. 2016-03-16 16:34:54 -07:00
Johan Stenberg f27e19f7c8 Merge branch 'master' into eventdispatch 2016-03-15 18:03:16 -07:00
Burt Bielicki f4b7eded16 update proj again 2016-03-15 17:01:25 -07:00
Burt Bielicki 8637fccad3 update proj 2016-03-15 17:00:49 -07:00
Burt Bielicki 4447ea2f08 make param help optional 2016-03-15 16:39:52 -07:00
Johan Stenberg 2da941fa24 Move event dispatcher into extensions and fix up pylint errors.
Added explicit register function to individual extensions
2016-03-15 16:05:08 -07:00
Burt Bielicki 6813687e56 fix proj file 2016-03-15 14:13:43 -07:00
Burt Bielicki 7841f907b5 Add some basic help behaviors 2016-03-15 14:11:59 -07:00
Johan Stenberg dadabed56c Separate transform from filter events to ensure a more sane ordering between the two... 2016-03-15 13:50:41 -07:00
Burt Bielicki 0ed770c95a working completions 2016-03-15 13:22:32 -07:00
Burt Bielicki 76092a4a28 added tabbed output 2016-03-15 12:57:11 -07:00
Burt Bielicki 6c9bbb0cf4 initial version, changing direction 2016-03-14 20:46:27 -07:00