summaryrefslogtreecommitdiff
path: root/keystoneclient/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix and enable Gating on H404Dirk Mueller2013-08-151-17/+9
| | | | | | | Enable gating on the Hacking H404 check - docstring should start with a summary. Change-Id: I80612a15bd11f689e9e9f4dc2ff812138630ddbd
* Reorganize url creation.Jamie Lennox2013-07-291-41/+56
| | | | | | | | | | | | Make build_url extract used parameters from keyword arguments so they are not sent as the body to create, or as query parameters. Allow specifying a class level base_url that is used unless one is specifically provided. Break filtering function into a decorator as it seems the perfect usecase and it prevents a dictionary copy. Fixes: bug 1198772 Change-Id: I6d370ed504c300b9997199f351322e3083650c69
* Merge "Add find() method to CrudManager"Jenkins2013-06-061-0/+22
|\
| * Add find() method to CrudManagerDean Troyer2013-05-301-0/+22
| | | | | | | | | | | | | | Add a find() methods to CrudManager to maintain compatability with existing CLI lookups using utils.find_resource(). Change-Id: Ia9b38b975bb88fb361f3471b66f98c7e81bbc6de
* | Make ManagerWithFind abstract and fix TokenManagerAlessio Ababilov2013-05-191-0/+8
|/ | | | | | | | | ManagerWithFind requires list() method in its descendants. Make it abstract and fix its improper descendant TokenManager that do not implement list(). Change-Id: I83ae47d894c02d5cd1eb0da437dd05796d0b0160 Fixes: bug #1180393
* Revert "Use TokenManager to get token"Dolph Mathews2013-04-301-3/+2
| | | This reverts commit 22228f526d6ea08b7006be1287afe959b93c23db which appears to be breaking the keystone gating
* Use TokenManager to get tokenJulien Danjou2013-04-191-2/+3
| | | | | | | | Instead of implementing token retrieval twice, let's use the code provided by the TokenManger to get a token in raw format from Keystone. Change-Id: I769be118ee137580cabd5cabcf7843e7afe1e456 Signed-off-by: Julien Danjou <julien@danjou.info>
* Add name arguments to keystone command.Ken'ichi Ohmichi2013-01-171-3/+7
| | | | | | | | | | | | | | | | | | | | | | This patch adds name arguments to the following subcommands: * role-delete * role-get * service-delete * service-get * tenant-delete * tenant-get * tenant-update * user-delete * user-get * user-password-update * user-role-add * user-role-list * user-role-remove * user-update Fixes bug 1100648 Change-Id: I73c08c0ba553a72ec57ff3a684a00be4ef1294a6
* Use requests module for HTTP/HTTPSDean Troyer2012-12-181-1/+1
| | | | | | | | | | | | | * Implement correct certificate verification * Add requests to tools/pip-requires * Fix OS_CACERT env var help text * Add info to README * Rework tests to use requests Pinned requests module to < 1.0 as 1.0.2 is now current in pipi as of 17Dec2012. Change-Id: I120d2c12d6f20ebe2fd7182ec8988cc73f623b80
* Add command to allow users to change their own passwordDerek Higgins2012-11-271-3/+5
| | | | | | | | | | | | Fixes Bug 1082539 The Equivalent of doing curl -X PATCH http://localhost:5000/v2.0/OS-KSCRUD/users/<userid> \ -H "Content-type: application/json" \ -H "X_Auth_Token: <authtokenid>" \ -d '{"user": {"password": "ABCD", "original_password": "DCBA"}}' Change-Id: Ia1a907c5fd138c4252196145b361f43671047a1a
* fixes 1075376Joe Heck2012-11-061-2/+2
| | | | | | | removes setting loaded=True on resource loads where it hasn't been fully loaded - breaking keystone master tests Change-Id: I889782d605637f7d5bbd2462d1a2dfb1574e4624
* Fixed httplib2 mocking (bug 1050091, bug 1050097)Dolph Mathews2012-10-091-1/+4
| | | | | | | | | - 204 No Content should be mocked with empty response bodies - Content-Type headers should not be mocked with empty response bodies - httplib2 would never return None as a response body - The Identity API never expects a req/resp body with a string value of "null" Change-Id: Ie22e8e5288573268165ed06049978195955f8ca6
* Manager for generic CRUD on v3Dolph Mathews2012-10-041-0/+111
| | | | Change-Id: I15944f2e171e26b5209b55356edd1110b301310c
* Add generic entity.delete()Dolph Mathews2012-09-111-0/+3
| | | | Change-Id: I00188326b6343a4eb4d1dd1b6a24e691ffd30415
* Add support for HEAD and PATCHDolph Mathews2012-09-111-2/+7
| | | | Change-Id: Ic874c49b791e9d2cb3d44b15511cbb467a551589
* Don't need to lazy load resources loaded from APIDolph Mathews2012-09-111-3/+3
| | | | Change-Id: Ibff7feabc8cba062bc9367c6755279b88a9a3c04
* pep8 1.1 changes and updatesJoe Heck2012-06-011-2/+2
| | | | Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
* Fixes user update methods.Tihomir Trifonov2012-02-151-2/+8
| | | | | | | | | | 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
* Updates client to work with keystone essex roles API routes.Gabriel Hurley2012-01-281-2/+4
| | | | | | | Also adds pep8 to requirements since it was missing, and adds the automatically-created venv to the gitignore list. Change-Id: Iafa05c1889d7706b79d0f9392a9ac24f2f5a1719
* Initial commit.Gabriel Hurley2011-10-251-0/+191