summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0
Commit message (Collapse)AuthorAgeFilesLines
* Identity v3 testsDean Troyer2013-09-091-2/+8
| | | | | | | | | * Add project, user, role and service v3 tests * Fix issues in commands with enable/disable * Make commands and tests more consistent between versions * Make formatting and comments more consistent Change-Id: Id21e7a5abd7e421a7742f937861ec46b53095fc7
* Prepare for Identity v3 testsDean Troyer2013-09-093-38/+93
| | | | | | | | | * Split identity/fakes.py for v2_0 and v3 * Split identity/test_identity.py for v2_0 and v3 * Fix issues in commands with enable/disable * Clean up v2 commands Change-Id: I6e536b6a130fc556dbd7dcf9f2e76d939ca1bc1c
* Add Identity v2 role and service testsDean Troyer2013-09-041-8/+19
| | | | | | | | | * Add current auth info (auth_ref) to ClientManager * Fix identity.v2_0.role.ListUserRole to get default user/project from ClientManager.auth_ref * Fix identity.v2_0.role.AddRole call to roles.add_user_role() Change-Id: Ie8bf41c491d97b0292a2b86bdc9b7580989a7f97
* Add Identity v2 user testsDean Troyer2013-08-191-28/+42
| | | | | | | | | * implement Identity command tests for v2 user Also re-work the user create and set commands for exclusive options (--enable|--disable) to actually behave properly. Yay tests! Change-Id: Ie1ec2569b3d85a9d556ee70f2e8f69fd2a3c03c8
* Add Identity v2 project testsDean Troyer2013-08-161-17/+27
| | | | | | | | | | | | * establish the the form of cliff command classes * implement some common fake objects * implement Identity command tests for v2 project * fix stdout/stderr capture Also re-work the project create and set commands for exclusive options (--enable|--disable) to actually behave properly. Yay tests! Change-Id: Icbb313db544c1f8dd3c9af7709971838b5a4d115
* Remove tenant round 2 - Identity APIDean Troyer2013-07-313-110/+199
| | | | | | | Rename everything in the Identity v2 code including the file and classes. * role, tenant, user Change-Id: I0b99c60a24f5875120136d2f216aa3b6bce1c641
* Begin Python 3 compatabilityDean Troyer2013-07-296-21/+28
| | | | | | | | | | | * use six.iteritems() * replace basestring with six.string_types * convert print statements to functions (they're all debugging and should be removed eventually anyway) * clean up OpenStack copyright: LLC -> Foundation Change-Id: Icb14212bcb408e63816bfec3922a697bc1a6c946
* Add --catalog to service showDean Troyer2013-07-161-23/+44
| | | | | | Shows endpoints from the service catalog rather than the system services. Change-Id: I842916af9f7c0a76c4d3e27e419bf0fec059ec78
* Remove api = apiName calls from each methodSteve Martinelli2013-07-126-29/+0
| | | | | | | | | | | As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
* Add EC2 credentials CRUDDean Troyer2013-07-031-0/+185
| | | | | | ec2 credentials: create, delete, list, show Change-Id: I82ff84ed433cd9a2da9534bf5f584a2e1a3fe68c
* Fix flake8 errors in anticipation of flake8 patch.Monty Taylor2013-05-143-4/+8
| | | | Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
* Multiple API version supportDean Troyer2013-02-061-2/+2
| | | | | | | | | | | | | | | | * Use multiple entry point groups to represent each API+version combination supported * Add some tests Try it out: * Right now only '* user' commands have multiple overlapping versions; you can see the selection between v2.0 and v3 by looking at the command help output for 'tenant' vs 'project': os --os-identity-api-version=2.0 help set user os --os-identity-api-version=3 help set user Change-Id: I7114fd246843df0243d354a7cce697810bb7de62
* Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.Josh Kearney2013-01-315-175/+98
| | | | | | | | Made all the necessary changes to pass new PEP8 standards. Also cleaned up docstrings to conform to the HACKING stanards. Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
* Standardize on a copyright header and ensure all files have them.Josh Kearney2013-01-246-60/+64
| | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* Remove incorrect 'raise'.Josh Kearney2013-01-221-2/+0
| | | | | | Fixes bug 1096102. Change-Id: Ibcdccd949566f47bb516c7562149d6b0100fce18
* Refactor cliff.Command.run()Dean Troyer2012-06-205-80/+80
| | | | | | | * All commands now perform their action in take_action(). Those producing output are derived from DisplayCommandBase. Change-Id: Ic93ba9a2ad449d84242b6aa8624b41379c4fb79a
* Fix pep8 issues.Clark Boylan2012-06-131-1/+1
| | | | | | | | Fix several pep8 issues and pin the pep8 test to pep8 version 1.1. This should prevent future changes from being unmergable by the pep8 gate after a pep8 upgrade. Change-Id: I4678a9179579fb5c7afe795fb43a8a89a99ad717
* removing print call in roles get_dataMatt Joyce2012-05-231-1/+0
| | | | Change-Id: I2aebf6099821212d4bd4b4b6d78b9752085168b2
* Merge "Fix 'set user' command"Jenkins2012-05-221-1/+6
|\
| * Fix 'set user' commandDean Troyer2012-05-181-1/+6
| | | | | | | | | | | | | | | | | | * missing --name arguemnt in parser for SetUser() * correct Identity api call for SetUser() Fix bug 1001384 Change-Id: I51169a0585c1bfe106ddd2e390269f69fc32852c
* | Add role CRUD commandsDean Troyer2012-05-181-0/+268
|/ | | | | | * add {add|create|delete|list|remove|show|user-list} role commands Change-Id: I27129168a9f58154fcdb062a533fa926737f822f
* Add endpoint CRUD commandsDean Troyer2012-05-181-0/+226
| | | | | | * add {create|delete|list|show} endpoint commands Change-Id: Ife9fa789d5818d63288b09687b43d802b1b97858
* Clean up tenant and serverDean Troyer2012-05-161-23/+17
| | | | | | | | * remove '_' from class names * add class name to log instances * some cleanups to HACKING Change-Id: I1f6334318ee0d7d83cd3cea0e71ba4f05dd2b5c5
* Merge "Add user CRUD commands"Jenkins2012-05-161-0/+247
|\
| * Add user CRUD commandsDean Troyer2012-05-151-0/+247
| | | | | | | | | | | | | | * add {create|delete|list|set|show} user commands * fix pep8 issues Change-Id: I46fe2375b8b4f95b82d8ba31ee8fb660a067d50a
* | Update service commandsDean Troyer2012-05-151-24/+78
|/ | | | | | | * add {create|delete} service * allow 'service' arg to also search type attribute in show command Change-Id: I992359dc95fab1fbdab0666d5cbb75e44ba6e0f3
* Revise command boolean flagsDean Troyer2012-05-111-29/+54
| | | | | | | * use --enable|--disable form for boolean 'enabled' value * clean up logging strings Change-Id: Ib4016bbef1763c27ec5a9edf36b926dc0d0b265c
* Add tenant CRUD commandsDean Troyer2012-05-112-79/+156
| | | | | | | | | * add {create|delete|set} tenant commands * move get_XXXX_properties() to common.utils.get_item_properties() add mixed_case_fields as an optional arg Change-Id: I7b3bd9cefb08e39730886b31213cbe422b5a8453
* Add tenant commands, work on serviceDean Troyer2012-05-102-2/+183
| | | | | | | * adds {list|show} tenant * fleshes out service commands (still WIP) Change-Id: I9dabb6ed3f128a30f140146928320f033d097a06
* Add 'list service' command and common modulesDean Troyer2012-04-272-0/+44