| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following API calls are made available:
- GET /OS-EP-FILTER/projects/{project_id}/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects
- PUT /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group}/projects/{project_id}
Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com>
Closes-Bug: #1641674
Change-Id: Idf938267479b5b8c50c9aa141c3c2770c2d69839
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following API calls are made available:
- POST /OS-EP-FILTER/endpoint_groups
- GET /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- HEAD /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- PATCH /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- DELETE /OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
- GET /OS-EP-FILTER/endpoint_groups
Partial-Bug: #1641674
Change-Id: I285eefe82152b178268f671e8800a0ff8c1511e4
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, the way filters were passed in would not allow filtering
on the same key.
For example:
keystone.users.list(name__contains='test', name__contains='user')
This fails because of how kwargs handles key/value pairs.
This patch allows using multiple values for the same filter.
Example:
keystone.users.list(name__contains=['test', 'user'])
Specifying the only one filter value is still functional as expected.
Co-Authored-By: Jeffrey Augustine <ja224e@att.com>
Partially-Implements: bp pci-dss-query-password-expired-users
Change-Id: I89cecf7e18974e7860ba0925840d6264168eabcb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- At least one API was not implemented (list_implied_roles)
- the tests were lacking assertions and proper mocked responses
- some of the functionality just didn't work (see bug)
- returning Role objects instead of InferenceRule objects
Related commits:
- I80a40e88b571fe9b0eca3af8b705ea79f28eb904
- I66e863fb83f8dfcca2c48116d4377df060f402c3
Closes-Bug: 1647934
Change-Id: I7b449a93d7d4d3eb9ca857f6c1f78f884bad2534
|
| |
|
|
|
|
|
| |
Do not reuse the environment's domain and project, create new ones for
the tests.
Change-Id: I91a5c1b42c0b31f548c1154a4ef028f45cf1cd24
|
| |
|
|
|
|
|
| |
Do not reuse client's domain, create a new one to be used only by the
test, which is destroyed later.
Change-Id: I4e3bb11a92535650317a30e6a1854bfd161ee93f
|
| |
|
|
| |
Change-Id: If3894679d21709ab813b4675c4bc721a3987596a
|
| |
|
|
|
|
|
| |
Do not reuse the environment domain, create a new one to be fully
controlled by the test cases.
Change-Id: Idb894da724e252b01405fc937c021fd8981ee090
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I17dbbd1ca4b940596c913d58a11bd83f19993bb6
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
According to the guidelines, we should import modules instead of classes
[1].
[1] http://docs.openstack.org/developer/hacking/#imports
Change-Id: I43d881597eb92e98196dad84776c0e229c288b6f
|
| |/
|
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
This patch adds the test_list_ec2 left by the review
I19988661e2d92a3e501a04e2a0e2d773ddcc36e9
Change-Id: Id53fbcb3e82d3bc47babd1129d533dfbc6c13791
|
| |/
|
|
|
|
| |
Adds functional tests for auth.
Change-Id: I62b42b7318cb0a85dee280931e44f6e5852216f0
|
| |
|
|
|
|
| |
Adds functional tests for ec2.
Change-Id: I19988661e2d92a3e501a04e2a0e2d773ddcc36e9
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for credentials.
Change-Id: Ia483c47956747a241bc521c0e67a874e794d709c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds functional tests for roles. For now, the tests are created under
a single class. Once we have a gate that runs against LDAP, we will
create a class that only contains readonly tests and a tox call for
it (e.g tox -e functional-readonly).
Change-Id: I62b022044b56b6219a83e9e5cc0136c95389db16
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
That test is not supposed to test the count of roles. It is about role
inference rules. This change removes the pure role checks, as it is not
the main intent of the test.
This also fixes a related bug where this test is failing
intermittently. See the bug description for more details.
Change-Id: I8ea1b6d8f344296486427a1f9ebc31c58314501e
Closes-Bug: 1609398
|
| |
|
|
|
|
| |
Adds functional tests for endpoints.
Change-Id: I0ae9f3ed3fd934d68328267c681d6af2856fe8c1
|
| |
|
|
|
|
| |
Adds functional tests for regions.
Change-Id: I809cd9ea320f3fda7348a110bd30fff1c411fcae
|
| |
|
|
|
|
| |
Adds functional tests for projects.
Change-Id: I72e7a4718f30851cf2046ebfe6e5cc95a517ebf6
|
| |
|
|
|
|
|
| |
Improves functional tests for implied-roles by using fixtures
retaining the similarity with other client-functional-tests.
Change-Id: Ia5531964b0064590845d58488f2d43ddf34d8129
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for policies.
Change-Id: I0b217b8c75ce245ab56fdfff17bf337ab9e4164c
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Adds functional tests for services.
Change-Id: Ied0ad0455799072d1e283024f12ea83e5603bce6
|
| |/
|
|
|
|
| |
TrivialFix
Change-Id: Icc9d6c76faaf29cba98111ee82dffc94fc0b2030
|
| |
|
|
|
|
|
|
|
| |
Adds functional tests for groups. For now, the tests are created under
a single class. Once we have a gate that runs against LDAP,
we will create a class that only contains readonly tests and
a tox call for it (e.g tox -e functional-readonly).
Change-Id: Ib1db14367b8dc3bd6356aff0dfef1fc573211c6e
|
| |
|
|
|
|
|
| |
This patch fixes comments left by the review
I74bff2728c09e6aafaced97a7836f51e58a81786.
Change-Id: Ic74e8fbde2455280f5affaafb8d989a6b98feb75
|
| |
|
|
|
|
|
|
|
| |
Adds functional tests for domains. For now, the tests are created under
a single class. Once we have a gate that runs against LDAP,
we will create a class that only contains readonly tests and
a tox call for it (e.g tox -e functional-readonly).
Change-Id: I74bff2728c09e6aafaced97a7836f51e58a81786
|
| |
|
|
|
|
|
|
|
| |
Adds initial set of functional tests for users. For now, all the tests
are created under a single class. Once we have a gate that runs against
LDAP, we will create a class that only contains readonly tests and a
tox call for it (e.g tox -e functional-readonly).
Change-Id: Ie41872a1ad86db6219dd0af47dbc3e2db46bd878
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
tempest-lib is deprecated, replace it with tempest.lib.
Closes-Bug: #1553047
Change-Id: Ib03938b133f2aca1e73ec5df5815cff9dfe7b2e2
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds the test_federation file with some tests
for Identity Providers, the tests are not supposed to be
exhaustive, they are rather simple and intend to cover
the basic actions in the Identity Provider handling.
More complete tests should be added later.
Change-Id: Ibe618dcd646912060b1785d8d72fd526dd4a083b
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Currently tox ignores D208.
D208: Docstring is over-indented.
This change removes D208 ignore and fix violations.
Change-Id: Ifec21c7602468b2a60727b64d27e7f14d765638c
|
| |/
|
|
|
|
|
|
| |
keystoneclient/tests/functional/v3/test_implied_roles.py is a test
module, and it doesn't have main entry, hence the executable flag
is not needed.
Change-Id: Ic226607afcd82d2411cbe1cd5439b0db5f77728c
|
| |
|
|
|
|
|
|
| |
Currently tox ignores D400.
D400: First line should end with a period.
This change removes it and make keystoneclient docstrings compliant with it.
Change-Id: I29ecb4c58bb03c0b9a3be0b7a74d18fb06a350f2
|
| |
|
|
|
|
|
|
| |
Currently tox ignores D401.
401: First line should be in imperative mood.
This change removes it and make keystoneclient docstrings compliant with it.
Change-Id: If34ff12d18390b357342cf29f2d116dd3c86a44d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Modify the base class for functional tests so that base scope and user
information can be loaded from the client, which in turn was
instantiated from cloud config.
The base scope and user info will be used in tests, e.g when creating a
user, we will use the domain from the base class to put the user in.
The base project will be used as the default user's project.
Change-Id: Ib01da8d8bfc11a06bf0d79fac2089ca5b9506670
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the CLI has been deprecated for a long time, and many docs and
install guides recommend using OSC instead of `keystone`.
- removes CLI
- removes man page from docs
- removes CLI tests
- removes `bootstrap` from contrib
- removes entrypoint from setup.cfg
implements bp: remove-cli
Change-Id: Icbe15814bc4faf33f513f9654440068795eae807
|
| |
|
|
|
|
|
|
|
|
|
| |
While the entity for an inference rule should be thought of as a
resource, the rules are essentially relationships between roles.
The `implied_role` API is linked with the role API, and thus the
client functions are part of v3/role.py. However, it does not
map completely cleanly to the Crud baseclass, and requires
some custom URL generation.
Change-Id: I80a40e88b571fe9b0eca3af8b705ea79f28eb904
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the cross project workshop "Establishing key themes for the Mitaka
cycle" [1] during the Mitaka summit, one of the agreed point was to
implement functional tests for the client libraries. [2]
Later on, this will serve to improve our backward compatibility for
client libraries. See I72e4e9cfa0539f6b326a0296c065fa3cb754f8ae
In preparation to implement the functional tests for both v2 and v3
clients, this patch initializes the new directories and adds the base
test classes: V3ClientTestCase and V2ClientTestCase.
Each class instantiates its specific keystoneclient version via
os-client-config either based on a clouds.yaml config file or from the
environment variables.
[1] https://mitakadesignsummit.sched.org/event/edd78ade4c7c92581a7cabc26019a85a
[2] https://etherpad.openstack.org/p/mitaka-crossproject-themes
Change-Id: Ia73d72d5f87051fb46d733782275b548874a1def
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Per:
http://lists.openstack.org/pipermail/openstack-dev/2015-August/072982.html
The location of subunit2html changed on the images in the gate
so update the path used in the post_test_hook.
Long-term we should just use what's in devstack-gate.
Change-Id: I5e50e7d7ad845aba26403df1df412c0a139a6dc7
Closes-Bug: #1491646
|
| |
|
|
|
|
|
|
| |
Iterating over a dict results in the keys.
Using the 'in' operator on a dict checks if it's a key.
Change-Id: I6affbfa1a79a9e8c0b5b304078a7a8e4e792eecd
|