| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Replaces the occurrences of "204 No Content" with
the correct return and rtype.
Change-Id: Id782cda4d226c96c31d375fd2432e9d7e28e2f77
|
|
|
|
|
|
|
| |
This patch fixes some nits left by the review
I3961945a2833fcd4a04c8e2fa294ecd3a12cfbe2.
Change-Id: I8c7c4c926d60d0b0ba44c3c7a42e5eef7be9441c
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
swap instances of utils.positional with the positional library.
Change-Id: Id8a9961e68d287a802f25512fc970829e9feb5c2
|
|
|
|
|
| |
Change-Id: I572f5368669e33b48250799c436635d6a398271d
Closes-Bug: #1518511
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4d3dfebb0bbe3799c05b9bc39fe2454ccf300873
|
|
Change-Id: I027dbba3a0573fde590295be5b31e3701d8c01f5
|