summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fixing pep8 formatting for 1.0.1+ pep8Joe Heck2012-08-292-64/+55
| | | | Change-Id: I3a4f9d43f3e36dac8f976100587d709736ad34ab
* Support 2-way SSL with Keystone server if it is configured to enforceLiem Nguyen2012-07-031-0/+60
| | | | | | | 2-way SSL. See also https://review.openstack.org/#/c/7706/ for the corresponding review for the 2-way SSL addition to Keystone. Change-Id: If0cb46a43d663687396d93604a7139d85a4e7114
* Merge "decoding json only on 2xx success response bug 1007661"Jenkins2012-07-031-0/+15
|\
| * decoding json only on 2xx success responseJoe Heck2012-06-261-0/+15
| | | | | | | | | | | | bug 1007661 Change-Id: I9090c78bb9a19ae46d865fca80af0b3bf4257dc6
* | Change CLI options to use dashesDean Troyer2012-06-281-0/+104
|/ | | | | | | | | | Change documented options to use dashes instead of underscores in option names. Continue to support old underscore names for backward compatibility for a release or two (TBD). Blueprint: command-options Change-Id: Ied0d325a9fdd32f80bf8c993887e1975aa6adf16
* pep8 1.1 changes and updatesJoe Heck2012-06-0111-279/+274
| | | | Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
* Change --user to --user_id and --role to --role_id in the keystone client ↵Everett Toews2012-05-111-4/+4
| | | | | | | | | | for consistency. Also changed an out-of-place tenant to tenant_id and removed unnecessary nargs in do_user_list. Fixes bug 994744. Change-Id: I418c07c8523f40822ca3251e85cd630ec877b45f
* Updated tox.ini to work properly with Jenkins.Monty Taylor2012-03-211-1/+6
| | | | | As part of doing that, fixed a unittest to work with python2.6. Change-Id: I575a8534bf008077c1a24a25336f1d711f742297
* Backslash continuations (python-keystoneclient)Zhongyue Luo2012-03-179-322/+438
| | | | | | | | Fixes bug #940023 Backslash continuations removal for python-keystoneclient Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
* Change CLIAuth arg namesDean Troyer2012-03-141-24/+30
| | | | | | | | | | | | | | | | | | Change the argument names used for common Keystone authentication per the updated http://wiki.openstack.org/CLIAuth: --auth_url -> --os_auth_url --password -> --os_password --username -> --os_username --tenant_id -> os_tenant_id --tenant_name -> os_tenant_name --region -> os_region_name All old args are depricated but available for backward compatibility. Fixes bug 954532 Change-Id: I26f8e0cf491549f5836c4079ff86e4823c0ef9a7
* Add endpoint commands help textDean Troyer2012-03-091-0/+22
| | | | | | | | Makes the new endpoint-* commands help text consistient with the other keystone commands. Also removes 'nargs' from options that require arguments. Change-Id: Idc638883b3675cf1d30163064e58ffe761c6f08b
* Merge "Make ec2-credentials-* commands work properly for non-admin user"Jenkins2012-03-072-2/+9
|\
| * Make ec2-credentials-* commands work properly for non-admin userDean Troyer2012-03-062-2/+9
| | | | | | | | | | | | | | | | | | | | * Add user id to token-get output * Save authenticated user and tenant IDs in client in Client._extract_service_catalog() * Handle default user and tenant IDs in ec2-credentials-* commands Fixed bug 947011 Change-Id: I97750f666ba03f32f0bb1be0c2df5ad8a321b433
* | Removed ?fresh=nonsense (bug 936405)Dolph Mathews2012-03-077-22/+21
|/ | | | Change-Id: I69f7411967ef23348854c206efc79a3cf7d3755d
* Merge "Endpoints: Add create, delete, list support"essex-4Jenkins2012-02-281-0/+117
|\
| * Endpoints: Add create, delete, list supportAdam Gandelman2012-02-271-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the ability for admins to list, create and delete endpoints in the service catalog. New endpoints can be created and associated with an existing service, similar to the original Keystone. The current, file-backed templated catalog driver does not support these actions. This requires that the SQL catalog backend is merged: https://review.openstack.org/#change,4464 Update: As per discussion on above review, Remove use of OS-KSADM key, update tests accordingly. Change-Id: Ie6f219fe989327bd61e293ce100b70dbf7f6de52
* | Clean up EC2 CRUDDean Troyer2012-02-271-0/+23
|/ | | | | | | | | | | | | Fixes bug 932427 * adds ec2-credentials-get * cleans up ec2-credentials-list output * display status of 3c2-credentials-delete * add basic shell tests Rebased 27Feb2012 Change-Id: Ic06ba9e2e49bad872f9091e1830d5296b0d411aa
* Fix --tenant_id corner case with ec2-create-creds commandDean Troyer2012-02-241-2/+34
| | | | | | | | | And add some tests for that case Rebased after CLI changes merged Rebased again after more bit rot discovered Change-Id: I95fa5ab19bff1d5e884b5c3675a123b134866e21
* Merge "Use unittest2 instead of unittest."Jenkins2012-02-231-1/+1
|\
| * Use unittest2 instead of unittest.Ken Thomas2012-02-151-1/+1
| | | | | | | | | | | | | | | | | | This allows the test to run on RHEL 6.2 and python 2.6. Fixed bug 933076 Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199
* | Merge "Fix inconsistient method names and add tests"Jenkins2012-02-232-0/+172
|\ \
| * | Fix inconsistient method names and add testsDean Troyer2012-02-202-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 937104 https://review.openstack.org/3527 renamed methods in RoleManager: get_user_role_refs() -> roles_for_user() add_user_to_tenant() -> add_user_role() remove_user_from_tenant() -> remove_user_role() * Calls to old method names in Tenant and TenantManager are fixed. * Add tests for all renamed and affected methods. Change-Id: Idf569d7dd737c5ccc38b4ea8212d5336998ae0f1
* | | Move --version to --identity_api_versionBrian Waldon2012-02-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Default to OS_IDENTITY_API_VERSION before KEYSTONE_VERSION * Copy in 'env' function from python-novaclient hat supports multiple env var names * Fixes bug 936162 Change-Id: I3b4013408465ea45788517cb31afb7fc652e6e95
* | | Remove internal '-' from flag namesDean Troyer2012-02-201-1/+36
|/ / | | | | | | | | | | | | | | Fixes bug 936400 * global --auth-url becomes --auth_url * user-create --default-tenant becomes --tenant_id Change-Id: I483bb369556f4da2a6de61a39d00a7adbe1cf12e
* | Add tenant commands to cliDean Troyer2012-02-171-4/+52
| | | | | | | | | | | | | | | | | | | | * Adds tenant-list, tenant-get and tenant-update to keystone command * Removes tenant-enable and tenant-disable * Fixes more overlap in cli args, clean up command args, particularly removing nargs from arguments that are not optional. * Fixes bug 932235 Change-Id: I1aafec1b2a3943e0f6c86f0228ab29f181a7ffce
* | Display token and service catalog for userBrian Waldon2012-02-161-0/+21
| | | | | | | | | | | | | | * Adds commands 'token', 'catalog' and 'endpoint-get' to keystone CLI * Fixes bug 930421 Change-Id: I9eceea3bf98a5c87b122fa663c96f7119ef8d3cc
* | Restores proper PUT method for user update now that KSL supports it.Gabriel Hurley2012-02-161-1/+1
| | | | | | | | Change-Id: Ifd68a9878489efa29442f1035d0393ada9c6d3ff
* | Fixes user update methods.Tihomir Trifonov2012-02-151-9/+13
|/ | | | | | | | | | 1. Fixes the url for user update methods to reflect extension status, e.g. 'users/{user_id}/tenant' to 'users/{user_id}/OS-KSADM/tenant', as per Keystone API. 2. Fixes the update_user method, as it expects a POST instead of PUT. Change-Id: I045ca7650b2ef8969af695900da1b4f62d4da6bd
* Merge "Correct tenant update HTTP method."Jenkins2012-02-011-1/+1
|\
| * Correct tenant update HTTP method.Gabriel Hurley2012-01-301-1/+1
| | | | | | | | Change-Id: I274104336f908922396c64ca0ee4ac5a7f5e2937
* | Merge "Added delete token"Jenkins2012-01-301-36/+21
|\ \ | |/ |/|
| * Added delete tokenDolph Mathews2012-01-301-36/+21
| | | | | | | | Change-Id: I202f89f74702df6b775d4fa3ca3fca2111709949
* | Merge "Enabling/disabling users should use OS-KSADM extension (bug 922394)"Jenkins2012-01-301-1/+1
|\ \ | |/ |/|
| * Enabling/disabling users should use OS-KSADM extension (bug 922394)Dolph Mathews2012-01-271-1/+1
| | | | | | | | Change-Id: I11bf244ea123092df2f0ae8e0e7c9196e3cd1e2c
* | Add limit and marker to user_list and tenant_listAnthony Young2012-01-262-0/+96
|/ | | | | | | * This will ultimately enable seeing more than 10 users/tenants at a time in horizon :) Change-Id: I54ab6305746a16fda8e57c9c67c48ea2d6b906c6
* Support for version and extension discoveryessex-3Ziad Sawalha2012-01-202-2/+130
| | | | | | | | | | | | | | | | | | | | | | | - Supports unauthenticated call to Keystone to discover supported API versions - Added command-line support (usage: keystone discover) - Added client support (keystoneclient.genenric client). Client returns dicts, whereas shell command prints formated output. - Added tests for genenric client - Replicates 'nove discover' in python-novaclient - Starts to address blueprint keystone-client - keystone discover output looks like this: $ keystone discover Keystone found at http://localhost:35357 - supports version v1.0 (DEPRECATED) here http://localhost:35357/v1.0 - supports version v1.1 (CURRENT) here http://localhost:35357/v1.1 - supports version v2.0 (BETA) here http://localhost:35357/v2.0 - and HP-IDM: HP Token Validation Extension - and OS-KSADM: Openstack Keystone Admin - and OS-KSCATALOG: Openstack Keystone Catalog Change-Id: Id16d34dac094c780d36afb3e31c98c318b6071ac
* update ec2 crud responses we test againstJesse Andrews2012-01-161-14/+14
| | | | | | this is to support blueprint: generate-ec2-access-secret Change-Id: I55c2758e68b207adc363cde22e82ff9b5fdbf1f4
* support ec2 crud callsJesse Andrews2012-01-161-0/+132
| | | | | | This is to support blueprint generate-ec2-access-secret Change-Id: I4474acc7d2193c4b04ecb11028d8ecb13e523266
* should have had tenant_nameJesse Andrews2011-12-191-1/+1
|
* finish removing project_idJesse Andrews2011-12-191-2/+2
|
* update test env shellJesse Andrews2011-12-181-4/+4
|
* remove X-Auth-Project-Id, re-add auth by token support (most tests pass)Jesse Andrews2011-12-188-36/+20
|
* remove print statements and uncomment exceptionsJesse Andrews2011-12-171-1/+0
|
* switching back per docsJoe Heck2011-11-111-1/+1
|
* fixing up the VerifyAll() bitsJoe Heck2011-11-102-7/+1
|
* more pep8 cleanupJoe Heck2011-11-108-170/+193
|
* Initial commit.Gabriel Hurley2011-10-2514-0/+1170