The requests module dropped all configuration with the 1.0.0 release.
There's no danger_mode and no 'verbose'' mode. The former
shouldn't be necessary anymore and the latter can be done by setting
a different log handler for the request.logging root logger.
Change-Id: I41bfaf2574f6d7fc21f86e0124ceae7df6481eee
Signed-off-by: Chuck Short <chuck.short@canonical.com>
`keystone help` only pulls a one line summary from docstrings, so this
summary needed to be condensed.
Change-Id: I9b08c6a8153101b1cc338955078d0d3b6a0aa02e
requests.request() does not accept the keyword argument 'config'
(used on keystoneclient/client.py:339) after version 1.0.0.
Fixes bug #1116740
Change-Id: I0a778849ff44a76a2647aa46057fdb35401fae5f
Bump the version requirements for requests so it does
not conflict with the version of requests required
for glance (unpinned).
Change-Id: I06479b8ceb04df749a6d7f7dc584892a688cd449
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Config object supports masking values when writing out if the secret
flag is set on the option definition. This change flags all
python-keystoneclient options containing a password.
Change-Id: I1ffc9727ab66c7acc6d4cf8e5870bb32f5e68b67
domains.py
added list method
added args private_project_names and private_user_names to create and update
credentials.py
added list method
Change-Id: I0d231e909742bb56b79c91d3d0f7dac3bd3ec552
Fixes bug 1103282
When creating a Client object with region_name specified, url_for
will return an endpoint url for that region.
Change-Id: Ia5c95503fe2ed5e53de93040d70ba08a9c09f286
- There's no need to call parent init function since that's the default
behaviour.
- The token attribute is nor used nor updated anywhere.
Change-Id: Ib0b2729a396a2d761931ce0e178c49c49814eb21
Signed-off-by: Julien Danjou <julien@danjou.info>
The python function string.find() returns -1 on a miss,
which is also evaluated as True. Therefore use the
"X in Y" approach instead.
Also added a rather trivial test to test for this
code bug. In order to make the code easier to test,
I've changed the parameters to operate on the command
output, not the exception object and updated all callers.
Change-Id: If0b4fed6fe676cad50512267c1b601a3a8a631e5
Python 2.6 did not have a keyword argument 'output'
in the constructor defined yet, which caused a TypeError
exception
Change-Id: I4d455bef3480a7511172c58fd4794fa1e8acce8c
Add a new cli argument (--timeout) which
is by default 600 seconds which will be
set in the requests library so that timeouts
can occur correctly.
Change-Id: I845c55dfb6f6b8345663ccdb5b150a2655f20026
Change the WebOb version to >=1.0.8 as a temporary
measure to allow the actual version update to 1.2.3
to roll out across the projects one at a time without
breaking the integration tests.
Change-Id: Ia4f9f92ae7013098706924eef8728bcd85869c29
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
if delay_auth_decision is set,auth_token middleware
does not log messages for valid token-less requests.
Fixes: bug #1028683
Change-Id: Ia2069686b86cc833327b11343ebaed59663fd379
This initial change provides the support in keystoneclient to match the api
specified in the blueprint. Keystone itself does not yet support these
calls, so if you actually called these, then you would get an error from
the server. However the changes should be benign in terms of other api calls.
Blueprint keystone/+spec/user-groups
Api changes: review.openstack.org/#/c/18138
DocImpact
Change-Id: I9abfa82b39fa0c6d58fe0d22622944d3e6be39be
This patch merely address the Swift cache backward compatibility support.
There's another BP which address the elephant-in-the-room, which is
unified and consistent caching mechanism for all middleware.
See https://blueprints.launchpad.net/keystone/+spec/unifed-caching-system-for-middleware
Change-Id: Iab6b4ac61c9aa9e7ad32a394557cb7558bd60a43
'keystone user-list' is order by 'name' now.(see bug 1073437)
But {role, service, tenant, user-role}-list are not. So this patch fixes these.
Fixes bug 1091894
Change-Id: I1876d0b1e1ea625efe91c3f8261bafd2bf34b0de
* 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