Even though the ``pysaml2`` library is used for Keystone2Keystone
functionalities, Keystone will complain about missing dependency right
after federation extension is enabled.
Commend in the test-requirements.txt should be updated to reflect the
situation.
Change-Id: Id4e615905574d5ad3d050bd8077b25f8327419ab
With the latest version of oslotest, we can now take advantage
of a common oslo_debug_helper script.
We can now remove our own homebrewed version, minor changes to
tox.ini were needed.
Change-Id: Ide72fb3531f0498dfe289d028049cd432aa08887
Add a class to generate a SAML assertion, based on Keystone
attributes.
Co-Authored-By: Marek Denis <marek.denis@cern.ch>
Implements bp keystone-to-keystone-federation
Change-Id: Iff82b4310d10b70fa6447ec52a504ef1f876cac4
Previously, the keystone/middleware/core.py module would import
keystone/common/serializer.py regardless of the XmlBodyMiddleware class
being used. This change modifies keystone/common/serializer.py to raise
an error if there is an issue with using lxml at runtime.
Change-Id: I977275d0df8666b49ddbfadd4f5606d7c2292b1f
Closes-Bug: 1351016
Using ldappool library to establish connection pooling.
Connection pooling is disabled by default.
Pooling specific configuration parameters are added in ldap section.
Added pool test using existing FakeLdap as connector class.
Added pool specific ldap live test. These tests are executed similar to
existing ldap live test.
Addressed async search_s and result3 API issues mentioned in review.
Added separate connection pool for end user auth bind done by keystone
identity ldap driver logic to avoid saturation of pool by these kind of
binds and limiting pool effectiveness for other ldap operations.
Rebased with lastest master and addressed doc comments.
Change-Id: If516a0d308a7f3be88df5583a30739a935076173
Closes-Bug: #1320997
bp: ldap-connection-pooling
DocImpact
Now that bash8 is available on PyPI we can use it to clean up the bash
scripts in Keystone. This also uses bash8 in tox. For now we can add
files to the tox check manually as we make them compliant.
Change-Id: I87a7478949114163f0614b1a6d8b249e14afe0df
oslotest provides a BaseTestCase class then enables proper capturing of
stdout, stderr and logging streams during a test run. We will take
advantage of this capability in the near future.
Change-Id: I16761053f631e709224eee813dc0f423f06c8870
With this new optional caching backend, MongoDB can be used for caching data.
Change-Id: I25ba1cac9456d5e125a5eac99d42330507d4e329
Blueprint: mongodb-dogpile-caching-backend
Sync in the oslo code for auto-config sample generation and
make the appropriate changes to setup to allow for automatic
option discovery.
`test-requirements.txt` now includes stevedore to
ensure the oslo libraries can all be loaded as expected.
Change-Id: Ieca0aea4d3c67b930c12467317d2f4d83763b601
Add database setup and initial testing into Key Distribution Server.
Also adds a migration script.
Implements: bp key-distribution-server
Change-Id: I22e914ef1ca6ec8217d131c073261b309d9f637e
netifaces is not required to run the tests, so remove it from
the requirements.
Related-Bug: #1266513
Change-Id: Ifb3b262f47d629670b06c670353dbe798af4dc03
So far there is simply a CLI application called kds-api that launches
the server using the reference wsgi server and a test just to
make sure things are wired in correctly.
blueprint: key-distribution-server
Change-Id: I17f1943eb6cd71f6059606a1a099f5761896b131
Sync the global requirements to pin sphinx. This addresses an issue
where Sphinx 1.2 is not building documents correctly and causing
check/gate to fail.
Change-Id: I3ecf8535bd8f8ea0ee17aabc7ad418ff31f16366
Adding pycrypto as a test-requirement to allow for testing the optional
KVS encryption support (ENCRYPT and HMAC validation of values).
bp: dogpile-kvs-backends
Change-Id: I2e9184dc66393cf805b18abd3822668a6f3792fa
With the move to testr we no longer automatically retain and print
logging information in tests. Using fixtures is the standard way to do
it and also the way used by nova.
Change-Id: Ie8d893b5979beb14bb6512a5ecc351c1a3ff0731
Minor tests refactoring due to use testtools:
- added missed setUp() and tearDown() to call these functions in
base test case.
- removed some superfluous tearDown() calls.
- moved test_crud_inherited_role_grants_failed_if_disabled() method
to separate class.
Fixes for python 2.6 enviroment:
- replaced `with self.assertRaises(Exception): foo()` to
`self.assertRaises(Exception, foo)
- added to safe_repr(), assertDictEqual() and assertRaisesRegexp() methods
to TestCase() class in keystone/test.py
Fixes bug 1179009
Change-Id: Iea67ad10d02db82fc8ed79b1096ddb5233925bfd
Fixed H102 errors
Hacking 0.6 already pins down pep8, pyflakes and flake8 so they can be
removed from test-requirements as they are indirect dependencies.
Co-author: Joe Gordon <joe.gordon0@gmail.com>
Change-Id: If7e79c70fe44d7e42a14cd6c710fd9986f995446
Recent changes added an undeclared dependency on babel in
keystone.openstack.common.gettextutils.
Change-Id: I045195e056c555a293371b50cfc3d7ec0c110ba7
Fixes: bug #1211270