| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Return None if service_catalog parameter does not exist.
service_catalog is the property and it is not initialized on object creation.
service_catalog tries to get value from auth_ref and raises AttributeError
exception if auth_ref is not initialized. It worked before we introduced
sessions, because authentication happened on client instantiation. Now,
when sessions are used, auth_ref is not initialized until the first
request. This change adds try-catch block in service_catalog property
to catch this error.
Change-Id: I58eb888f0989241f9e5626564bd48d901b324d36
Closes-Bug: #1508374
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow passing the allow_expired flag to v3 token validation to support
extended service to service communication.
Implements bp: allow-expired
Change-Id: Ia1763fedc1838ad3c58c7f8f98f00b7eaad55a5c
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Trivial fix.
Change-Id: I818245eaa9e63322b1c6de049368aa4e09b01b4b
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
TrivialFix:"dependant" should be "dependent"
Change-Id: I276876e5909ac5958c9e0e911b45e813b8104702
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
TrivalFix
Change-Id: I44250004eb56b579c227874e4b08e358e8dd8712
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not reuse the environment domain, create a new one to be fully
controlled by the test cases.
Change-Id: Idb894da724e252b01405fc937c021fd8981ee090
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It is untested and doesn't work for a while. It also causes a failure
when the method is used by other client or by keystoneclient itself.
Change-Id: Icdd53936a107933e275acd43b5ebe94b8d04bc4b
Closes-Bug: 1637530
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was added in 2014 and was supposed to be used for sharing revocation
events with keystonemiddleware. It was never finished, and the code is
untested and is not used by anything.
Change-Id: I905b7b3d95274b3c501b1e584e492eefa72158c1
|
| |\ \ \ \ |
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
These were used by the shell which has since been removed.
Change-Id: If329da4499b76799356e79099f86a4afdebb00ce
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TrivialFix
Change-Id: I248e0548fc0242d9f164df901be3c87ae3a75413
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Assigments replaced with argument assigment: endpoints.py, service_catalog.py
Note added: 'original_ip' value is never used: session.py
Refactor 'find()' method to increase readability: base.py
Change-Id: I469331b123fdf03e9e7c5d93e1c95da57d30fbbe
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Provide support for the domain-specific configuration storage available
via the REST API.
Domain configs are JSON blobs and we have fine grained control on them
via the Identity API. This fine grained control is not defined yet in the
client, though - for now, we can manage everything like Python dictionaries
and use operations like "update" whenever we want to delete a specific group
or option. This approach is similar to what is done in the federation mapping
API to handle mapping rules.
Functional tests are also included, this is useful to check if the new
feature works in an integration environment.
Co-Auhtored-By: Henry Nash <henryn@linux.vnet.ibm.com>
Co-Authored-By: Rodrigo Duarte <rduartes@redhat.com>
Closes-Bug: 1433306
Partially Implements: blueprint domain-config-ext
Change-Id: Ie6795b8633fed38c58b79250c11c9a045b7f95a4
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I1e3c101b6d8f21bbf98c98f5451334cc1b524d5b
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
As keystoneclient and other services rely more on keystoneauth we should
assume that keystoneauth is our base auth library, not keystoneclient
and start to default to the objects provided from there. This will make
it easier to remove these objects when the time comes.
For the session independant parts of keystoneclient we should use the
exception names as provided by keystoneauth instead of the aliases in
keystoneclient.
Change-Id: Ic513046f8398a76c244e145d6cc3117cdf6bb4cd
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ifc80f889f82e9853132b8f91e63cc53cfc476ac6
|
| |\ \ \ \ \
| |/ / / / |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
As keystoneclient and other services rely more on keystoneauth we should
assume that keystoneauth is our base auth library, not keystoneclient
and start to default to the objects provided from there. This will make
it easier to remove these objects when the time comes.
Use the AUTH_INTERFACE special object from keystoneauth in most places.
This uses it everywhere that is actually session independant. For
example it is not changed within the keystoneclient auth plugins
themselves as they are directly compatible with keystoneauth.
Change-Id: Ibc1224fca98c852106feb78c624b0b2f22b3a19d
|
| |\ \ \ \ \
| |/ / / / |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As keystoneclient and other services rely more on keystoneauth we should
assume that keystoneauth is our base auth library, not keystoneclient
and start to default to the objects provided from there. This will make
it easier to remove these objects when the time comes.
The easiest thing to move is the keystoneclient fixtures in favor of the
keystoneauth fixtures.
Change-Id: I5a784795536cec6c7ca5eead3f13b1e7a6e45346
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | | |
Change-Id: I17dbbd1ca4b940596c913d58a11bd83f19993bb6
|
| |/ / /
| | |
| | |
| | | |
Change-Id: Icbb7e07d3b11d002a1b1bb143a0de82500abd52f
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I66e863fb83f8dfcca2c48116d4377df060f402c3
Closes-Bug: 1622346
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's possible to set and get custom attributes through the API, and
it's also possible to use any Unicode strings, not only ASCII range.
It works perfectly fine when accessing the API directly using
e.g. curl.
However, keystoneclient stumbles on the non-ascii keys because
it tries to set this as an attribute for the resource class and fails
because Python 2.7 does not support non-ascii identifiers:
https://docs.python.org/2.7/reference/lexical_analysis.html#identifiers
So change the logic to skip setting non-ascii attributes; they are still
available in the dict representation.
Closes-Bug: #1626403
Change-Id: I267188cdb1d303e3d0fb6bd3229b606f4fe9b2d8
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to the guidelines, we should import modules instead of classes
[1].
[1] http://docs.openstack.org/developer/hacking/#imports
Change-Id: I43d881597eb92e98196dad84776c0e229c288b6f
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove the $mapping_id parameter in the list() method docstring.
Change-Id: I608d445b25406d1b6c7783164584dab3baf90b04
|
| | |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 2a91a41142080a4f1abb8f9846f88846c6b5c6b7.
This is a quick fix to unblock the python-keystoneclient gate. Not
closing the bug since we can fix the test behavior by using an extra
client just to run the tests operations.
Change-Id: I976488243ad3c357cd2aeb604973603380858dc4
Related-Bug: 1626131
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The 'data' argument was deprecated in the 1.7.0 release
and should have been removed in the 2.0.0 release. It has
been replaced by the 'blob' argument.
Related-Bug: 1259461
Change-Id: I762f46f605a65abe73547ad6e522c54b1cc3aac6
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
User ids are already in the URL. Keystone doesn't consume ids in the
body.
Change-Id: Ie90ebd32fe584dd1b360dc75a828316b1a9aedde
Closes-Bug: 1607751
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In preparation to add functional tests for v3 tokens, this
change proposes to detail the method docs, because the tests
need to be based on them.
Change-Id: I5e09a0663c5490fa4dcedeb900c7668a93a8aebd
Partial-Bug: #1330769
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This patch fixes few nits left by the review
I8fef9c2ec54e38648e1000874c6d2381b6fad576
Change-Id: I31ea3ba97c806f9bb01d33c4a5b429d309816117
Partial-Bug: #1330769
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This patch fixes a nit left by the review
Ic7aaadcd8f8d5ebdec0cd908e7cbe4f997a17b54
Change-Id: Ia5b6ea552c37fc7ec4d82ffc2a7101fcf9b8f0e5
Partial-Bug: #1330769
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This patch fixes a nit left by the review
I78e62fbd877ba32744fa3587ad2eb497bfb79fc2
Change-Id: I63bc438bca5f989ab79dc2393ca9d0a0d2e4af4e
Partial-Bug: #1330769
|