summaryrefslogtreecommitdiff
path: root/keystoneclient/v3/projects.py
Commit message (Collapse)AuthorAgeFilesLines
* Override find function in projectGage Hugo2018-01-261-0/+5
| | | | | | | | This change overrides the base find functionality within project in order to encode tags to a base string. Change-Id: I4599b8a4dafcb9d4178c973eb48a8ad3a7d292f5 (cherry picked from commit 53972d68f611a4d5a9dfd250807b373cd4f22ecb)
* Add project tags to keystoneclientSamuel Pilla2017-12-201-2/+110
| | | | | | | | | | | | | | | | | | Adds the client functionality for the following project tag calls: - Create a project tag on a project - Check if a project tag exists on a project - List project tags on a project - Modify project tags on a project - Delete a specific project tag on a project - Delete all project tags on a project Co-Authored-By: Jess Egler <jess.egler@gmail.com> Co-Authored-By: Rohan Arora <ra271w@att.com> Co-Authored-By: Tin Lam <tin@irrational.io> Partially Implements: bp project-tags Change-Id: I486b2969ae0aa2638842d842fb8b0955cc086d25
* Remove use of positional decoratorMorgan Fainberg2017-08-071-7/+0
| | | | | | | | | The positional decorator results in poorly maintainable code in a misguided effort to emulate python3's key-word-arg only notation and functionality. This patch removes keystoneclient's dependance on the positional decorator. Change-Id: I9e691cc8b0c04992f4a8dabd67e1b413d3220d23
* Fix no content return type docEduardo Magalhães2016-08-181-1/+2
| | | | | | | Replaces the occurrences of "204 No Content" with the correct return and rtype. Change-Id: Id782cda4d226c96c31d375fd2432e9d7e28e2f77
* Follow up patch for Improve docs for v3 projectsNisha Yadav2016-06-251-4/+8
| | | | | | | This patch fixes some nits left by the review I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2. Change-Id: I8c7c4c926d60d0b0ba44c3c7a42e5eef7be9441c
* Improve docs for v3 projectsNisha Yadav2016-06-221-27/+62
| | | | | | | | In preparation to add functional tests for v3 projects, this change proposes to detail the method docs, because the tests need to be based on them. Change-Id: I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2
* Fixing D202 and D203 PEP257 violation.Navid Pustchi2016-05-041-1/+0
| | | | | | | | | Currently tox ignores D202 and D203. D202: No blank lines allowed after function docstring. D203: 1 blank required before class docstring. This change removes D202 and D203 ignores in tox and fix violations. Change-Id: I97ef88c9cfd56774e47f789cbbcf8ccfe85d7737
* Fixing D204, D205, and D207 PEP257 violation.Navid Pustchi2016-05-041-0/+2
| | | | | | | | | | Currently tox ignores D204, D205, and D207. D204: 1 blank required after class docstring. D205: Blank line required between one-line summary and description. D207: Docstring is under-indented. This change removes D204, D205, and D207 ignores in tox and fix violations. Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
* use positional library instead of utilsSteve Martinelli2016-01-251-6/+7
| | | | | | swap instances of utils.positional with the positional library. Change-Id: Id8a9961e68d287a802f25512fc970829e9feb5c2
* Fixes warning for positional arg in project createdaniel-a-nguyen2015-11-201-1/+1
| | | | | Change-Id: I572f5368669e33b48250799c436635d6a398271d Closes-Bug: #1518511
* Implements subtree_as_ids and parents_as_idsRodrigo Duarte Sousa2015-03-131-6/+43
| | | | | | | | | | | This patch implements the new ways to get the project's hierarchy: 'subtree_as_ids': If True, returns projects IDs down the hierarchy as a structured dictionay. 'parents_as_ids': If True, returns projects IDs up the hierarchy as a structured dictionay. Change-Id: Ia3afe994893dfca059cb8361f7ab1c14e28e1ad5 Implements: blueprint hierarchical-multitenancy-improvements
* Hierarchical multitenancy basic callsThiago Paiva Brito2015-02-051-4/+48
| | | | | | | | | | | | | | | | | | This patch addresses changes needed to manage projects through keystoneclient API v3. The changes are: create: new param 'parent': set the parent project of the project being created get: new param 'subtree_as_list': If True, shows projects down the hierarchy new param 'parents_as_list': If True, shows projects up the hierarchy Co-Authored-By: Andre Aranha <afaranha@lsd.ufcg.edu.br> Co-Authored-By: Rodrigo Duarte <rodrigods@lsd.ufcg.edu.br> Change-Id: I0f02a66e6a29584197ed00cb32caecb50956f458 Implements: blueprint hierarchical-multitenancy
* Enumerate Projects with Unscoped TokensAdam Young2014-09-231-0/+1
| | | | | | | | Creating a client with a session using an Unscoped tokens now sets auth info in client. This Auth Info is necessary in order to enumerate projects. This is the standard login path for Horizon. Change-Id: I688a27cd0e7c98e7cf899ac65bb593a85171813f
* Start using positional decoratorJamie Lennox2014-03-251-0/+5
| | | | | | | | | Apply the positional decorator to functions. It has been added as I think best practice would dictate, though in some places it has been added in a way that doesn't break existing tests. Closes-Bug: #1295881 Change-Id: I4f7ddbede4cba4ab79d144ad1f9dc83ea76f204a
* Replace OpenStack LLC with OpenStack Foundation0.4.1ZhiQiang Fan2013-10-171-1/+1
| | | | | | | | | | Some files still use trademark OpenStack LLC in header, which should be changed to OpenStack Foundation. NOTE: tools/install_venv.py is not touched, should sync with oslo Change-Id: I01d4f6b64cf1a152c4e190407799ce7d53de845f Fixes-Bug: #1214176
* Adds support for passing extra tenant attributes to keystoneCharles V Bock2013-08-121-4/+6
| | | | | | | | | | | | Patch adds simple kwargs parsing to tenant update and create methods allowing users to exercise the extras functionality of keystone. As-per keystone data model docs: http://docs.openstack.org/developer/keystone/architecture.html#data-model Change-Id: I1c375c70a0ab4519626d2238d65fa0695f953dc5 Fixes: bug #1180317
* Refactor v3 API to support filteringJ. Matt Peterson2013-05-061-2/+11
| | | | | | | | | | | | | | | | | Fixes: bug #1175356 Future implementations of keystone API v3 will support server-side filtering using key/value attributes. See additional details: https://github.com/openstack/identity-api/blob/master/openstack-identity-api/src/markdown/identity-api-v3.md#list-entities-filtered-by-attribute To support this functionality **kwargs need to be passed from the v3 API classes to keystoneclient.base.CrudManager.list. This is not fully implemented server-side for all attributes so it's difficult to document exactly which attributes will work. An example of a working attribute is: keystone.users.list(name="someone") Change-Id: I148093fbe37700f890ed44148aa3f63f34ee5ff5
* v3 List projects for a userDolph Mathews2012-10-091-1/+3
| | | | Change-Id: I4d3dfebb0bbe3799c05b9bc39fe2454ccf300873
* v3 Project CRUDDolph Mathews2012-10-081-0/+80
Change-Id: I027dbba3a0573fde590295be5b31e3701d8c01f5