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

172 Коммитов

Автор SHA1 Сообщение Дата
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