* Implemented sql show-capabilities command
* Separate filter and search argument groups
* Beginning support for elastic pool capabilities
* Fixed errors loading sdk operations
* Design change: prune based on depth
* Added capabilities help and examples
* More capabilities help
* Add test stub and fix lint errors
* Added first verification
* Fixed prune by depth logic
* Split up db and pool capabilities
* Added show param to db capabilities
* Pool capability params
* Case insensitive comparison
* Hide with empty instead of deleting
* Initial tests for capabilities
* Help for new db/pool capabilities commands
* Fix style
* details -> detail (better?) and documented dtu param
* Fixed test failures
* Fixed style-related feedback
* Removed VS upgrade log
* Removed 'is not None' per feedback
* Reverted parameters.py change
* Finished capabilities testing
* Add storage/max-size alias to elastic-pool create
* `is None` -> `not`
* FIxed indentation
* `--show-details`/`-d` to harmonize with `az vm show`
* Add Search arg group for pool capabilities
* Fixed style errors
* Simplify list comprehension with truthiness
* Renamed to list-editions; removed enum check on edition/slo args
* Fixed wonky help text
* Fixed pylint
* Added comments regarding elastic-pool param names
* Fixed testsdk style error
* Added history.rst entry for list-editions commands
* Fixed syntax error on python 2
* Progress on new alert rules.
* Fix alert rules client.
* Alternate alert rule create.
* Progress.
* Add mechanism to support resource name components or ID.
* Continue work
* Alert rule progress.
* Finish up work on alert update.
* Tests and tweaks.
* Code review feedback.
* Add custom exception handler to fix#3334.
* DocumentDB cmdlets
added the support for documentdb database and collection management
database management:
create: Creates an Azure DocumentDB database.
delete: Deletes an Azure DocumentDB database.
exists: Returns a boolean indicating whether the database exists.
list : Lists all Azure DocumentDB databases.
read : Reads an Azure DocumentDB database.
collection management:
create: Creates an Azure DocumentDB collection.
delete: Deletes an Azure DocumentDB collection.
exists: Returns a boolean indicating whether the collection exists.
list : Lists all Azure DocumentDB collections.
read : Reads an Azure DocumentDB collection.
update: Updates an Azure DocumentDB collection.
* azure-cli documentdb data-plane improvement
* support for error handling
* support for account key/name/url-connection from env variable
* minor improvements
* documentdb: updated HISTORY.rst and bumped version to 0.1.4
* documentdb: fixed a typo in setup.py
added the missing ','
* re-ordering imports
* reordering imports
* minor code style cleanup
* minor code style cleanup
* minor code style cleanup
* pylint: trailing spaces removed
* addressed all pylint code style warnings and print out command result
* pyling code style warnings addressed
* now we print out some results from update and create operation
* pylint py35 addressed
* set default indexing policy to range range
* documentdb: addressed review comments
* changed cliError to cli_error
* minor improvements:
* using resource group name and account name, key is retrieved
* a new exception handler added
* changing the profile name to match powershell profile name and removing the unused profile
* Changes in the API Format validation for supporting the literal 'profile' as part of the profile name
* unit test changes for profile names
* Update storage tests
1. Move tests from test_storage.py to other test files;
2. Adopt ScenarioTests
3. Retire old storage test base
* Update and remove storage test recordings
* Performance: fix up namespace
* Exclude azure_bdist_wheel.py from flak8 verification
* Ignore remaining azure_bdist_wheel.py files from flake8 and stop running pylint on azure-cli-nspkg namespace package
* Temporarily fix up flake8 script to exclude the azure_bdist_wheel.py files
* Add missing azure_bdist_wheel file for the testsdk
* Allow empty __init__.py files and exclude azure_bdist_wheel.py files from check for valid license header
* Add azure_bdist_wheel.py files to project file
* Bump minor version for all modules
* Accidentally bumped the dependency on the azure-nspkg to 3.0.0 or later (which obviously can't be found)
* Revert version bump - we'll do that when we release instead.
* Partial add of azure-cli-command_modules-nspkg to allow reuse of the same azure_bdist_wheel.py file that the azure sdk is using
* - Change things so we use an identical azure_bdist_wheel.py/setup.cfg file as the rest of the azure sdk. This required adding an azure-cli-command_modules-nspkg package since the sdk version uses the name of the package as the path in which to look for/exclude __init__.py files.
* Update actual name of src/azure-cli-command_modules-nspkg to azure-cli-command-module-nspkg since that makes setuptools happier.
* Stop building sdists
* Address code review feedback:
- set correct version requirement for azure-cli-nspkg in the command_modules nspkg setup.py
- Remove hard-coded dependency on azure cli nspkg from azure cli core and let the bdist_wheel extension added it required.
* wip
* refresh tests
* move acs tests to acs modules
* fix style check error
* update history
* add test for kubenetes create
* support ssh keygen in test
* Set official version for ADL
* Renaming feedback for data lake, first iteration.
This renames all of the data lake commands to dla and dls
It breaks them into separate modules
It updates our params to more nicely follow the '-' standard.
Updates tests to use new naming.
Updates help to use new naming.
* Add ACL and expiry support to DLS and tests
* Add all the information to history for dla and dls
* Fix pylint errors.
Ran an older version of check_style which didn't catch these.
* Address PR feedback
remove "optional" strings in help text
update history
update versions
update dependencies.
* fixed the access test and put it in the right test
* Sync to latest and re-record test
This test was failing due to a change in the test recording processor
that I hadn't sync. After sync and re-record, test passes.
* Address one last PR comment
Turns out, after additional testing, that I do not even need to do any
quoting at all, since it is handled during URI crafting by the
underlying client. Removing it and using isoformat.
* Add examples, custom code handling, and testing for Import/Export using SAS key
* Fix help section
* Change test to be Python 2 compatible, re-do recording
* Addressed comments, fix linter issues
* Update dependency to azure-mgmt-sql==0.4.0
* Fixed Import/Export examples
* Fixed auth_type param in db export
* Added special output transformers
* Fixed names with hyphens
* Add the table format for commands.
* added mgmt table transforms
* Some fixes to table formatting
* style fixes
* Some test fixes
* Removed duplicate formatting
* Replica command redesign. Implemented failover command.
* Initial db replica test which creates multiple resource groups
* replica cmd work
* Fixed failover test error
* Failover test succeeded
* Dont use exceptions for control flow. Fixed style
* Rename --secondary-* params to --partner-* for consistency
* Fixed indentation warning
* Fixed style errors in vcr base
* Rename failover to set-primary-replica.
This makes it clearer that the operation is performed on the secondary. Also makes replica-related commands more visually distinct.
* Move replica commands into sql db replica subgroup
* Removed --partner prefix from replica create properties where possible
* Converting tests to ScenarioTest
* All tests except server mgmt are recorded
* server mgmt is now recorded
* Revert change to vcr test base
* Updated sql tests path in pyproj
* Another pyproj change
* Fully revert vcr test base
* Refactor sql tests. Stop being so selfish.
* Reverted line break change in preparers
* Initial ADLS and ADLA commands
This just gets initial structure in place based on redis commands. This
has not yet been replaced to have functional ADL commands yet.
initial functional ADL commands in python
Update versions and add initial custom functions
Add customizations and flesh out commands.
Add full help and fix up custom logic for ADL
Add filesystem commands.
explicitly convert to ints.
* Update to fix my one test and get all the help in
* Remove my debug logic.
* Address PR feedback.
add dashes into some command names
commonize parameters
fix help
add the ability to determine location based on resource group
* remove common params that are globally defined.
* Add more tests, address some comments
Address comments about help
Still todo:
Tests for job, catalog and file
Add validators.
* Add tests and fixes for filesystem.
* pylint and test fixes for ADL
There is one test remaining that needs to be fixed, and validators are
required, but this covers pretty much all necessary changes.
* Add validators and fix pylint and tests
Add resource group validator
Fix tests for scrubbing Job IDs
Re-record job test
Address remaining pylint issues.
* fix help, address 2.7 pylint.
* Address PR comments
* add help and functionality for the generic @file
* Fix pylint error.
* Address final PR comments
Move mock.patch to my test file
move mock_get_uuid_str() to my test file
move all tests to the root of azure-cli-datalake
fix single params to work properly (missing empty second param)
* Fixing tests.
* Missing comma breaking tests
* fix incorrect param in help.