107 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
1ee9468673 Updated from global requirements
Change-Id: I43728c0319f57d973bbf52bb3ef840b8135c14de
2014-11-20 14:06:04 +00:00
OpenStack Proposal Bot
8f4f6d34dc Updated from global requirements
Change-Id: I4affa288bb8564f09a5442cbcc2d2152ad17c35e
2014-11-05 08:30:18 +00:00
OpenStack Proposal Bot
e0e5cef5ab Updated from global requirements
Change-Id: Ia67433f2b10fe4c940f4842cd3ba7ff01bc9d9f1
2014-10-28 22:28:02 +00:00
OpenStack Proposal Bot
60266bbfbf Updated from global requirements
Change-Id: I27e51a831700a6a1f46b33863ed1001f1edbbff2
2014-10-22 19:11:42 +00:00
OpenStack Proposal Bot
2520502724 Updated from global requirements
Change-Id: If2d591bba119998e41f109f4099ba4147821171e
2014-10-07 19:12:29 +00:00
OpenStack Proposal Bot
8168ce2032 Updated from global requirements
Change-Id: I308fe2db811cc97185956ef60a739026ba815013
2014-09-26 03:54:14 +00:00
OpenStack Proposal Bot
71c9e1fb90 Updated from global requirements
Change-Id: I457150384920e608998243aeb7d872742125dc22
2014-09-18 22:56:41 +00:00
Marek Denis
98eb9f6e41 Change pysaml2 comment in test-requrements.txt.
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
2014-09-16 13:01:49 +02:00
Jenkins
ace35a4788 Merge "Use oslo_debug_helper and remove our own version" 2014-09-13 07:18:09 +00:00
Steve Martinelli
ac87550a55 Use oslo_debug_helper and remove our own version
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
2014-09-05 16:27:39 -04:00
Dolph Mathews
29c6989e41 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
2014-09-03 11:50:39 -05:00
Steve Martinelli
60b2c8e7a8 Transform a Keystone token to a SAML assertion
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
2014-09-02 00:07:40 +02:00
David Stanek
0fdc042313 Bump hacking to 0.9.x series
Change-Id: I6c67a2c448f9d3d00867fe45233f7119fe627e93
Partial-Bug: #1328469
2014-08-14 20:42:48 -07:00
Andreas Jaeger
3a09c1f5a3 Rename bash8 requirement
The package bash8 has been renamed to bashate.

Change-Id: I0863e909997be630c7c17106c87ab383293b191d
2014-08-13 12:16:56 +02:00
werner mendizabal
ed1b10f280 Refactor serializer import to XmlBodyMiddleware
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
2014-08-07 18:30:31 +02:00
OpenStack Proposal Bot
5bf804b675 Updated from global requirements
Change-Id: I3aa1b69757cdf00cfd022eec0fc2315e6d7bde6b
2014-07-29 18:41:21 +00:00
Arun Kant
ea689ff78f Adding support for ldap connection pooling.
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
2014-07-23 12:11:48 -07:00
OpenStack Proposal Bot
4b42abb430 Updated from global requirements
Change-Id: I9b592081102dc6e480bdd274d48c7d1a449657a2
2014-07-22 16:40:43 +00:00
Jenkins
db0519dfa0 Merge "Make gen_pki.sh & debug_helper.sh bash8 compliant" 2014-06-23 18:39:44 +00:00
Lance Bragstad
491b29bed8 Make gen_pki.sh & debug_helper.sh bash8 compliant
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
2014-06-23 15:41:58 +00:00
OpenStack Proposal Bot
ec116ccc16 Updated from global requirements
Change-Id: I1628854fac8bf66f8bc28648d28fba253d9c04af
2014-06-18 16:07:09 +00:00
OpenStack Proposal Bot
8e50e66810 Updated from global requirements
Change-Id: I413514eb61579dabac22909e30b8e86aca0b3a0e
2014-05-30 16:26:25 +00:00
OpenStack Jenkins
95cf26be70 Updated from global requirements
Change-Id: Ib0b13ea20541614e5963e668c5261041ae6968e0
2014-04-12 02:15:31 +00:00
David Stanek
73a59a8253 Replace all use of mox with mock
The general trend is to use mock in new code. This patch rewrites
existing tests to to mock.

Change-Id: I2292ec39c528884b2e3913b6c8a0eb26b4980991
2014-04-03 17:53:04 +00:00
David Stanek
a2e08781ce Start using to oslotest
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
2014-03-20 16:30:32 +00:00
Arun Kant
0b5685962c Support for mongo as dogpile cache backend.
With this new optional caching backend, MongoDB can be used for caching data.

Change-Id: I25ba1cac9456d5e125a5eac99d42330507d4e329
Blueprint: mongodb-dogpile-caching-backend
2014-02-26 09:57:11 -08:00
OpenStack Jenkins
8535208c6a Updated from global requirements
Change-Id: I8cba8f894f7967bb908fe2443946c28f1803c1d3
2014-02-25 06:32:10 +00:00
Dirk Mueller
40898f1bd0 Switch over to oslosphinx
oslosphinx is the new name of oslo.sphinx

Closes-Bug: #1277168
Change-Id: I9c52b7ad5459c51ed3d2a92d9011c34c9de4de5a
2014-02-18 08:10:37 -06:00
Morgan Fainberg
10f9c1f1c3 Setup code for auto-config sample generation
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
2014-02-16 20:41:00 +00:00
Steve Martinelli
59c28d1feb Add lockfile and kombu as requirements for keystone
Sphinx is failing to build because we do not list
lockfile or kombu in either requirements file.

Change-Id: Ic31870c283a18958cd61e51bc56ed771732ee753
2014-02-14 14:43:49 -06:00
Brant Knudson
7599d96553 Update requirements to 661e6
The requirements are updated to requirements project commit
661e6bad9e56dddd65a200dc08aedc00b9656312

 $ cd /opt/stack/requirements
 $ python update.py ../keystone

bp s3-token-to-keystoneclient

Closes-Bug: #1270909
Closes-Bug: #1277583
Related-Bug: #1178741
Change-Id: If7ddef69076e1b03c5efbf4f05bb349bbecfa015
2014-02-07 10:25:23 -06:00
Jenkins
05591a9b2f Merge "Introduce database functionality into KDS" 2014-01-30 13:10:56 +00:00
Jenkins
527e08dff5 Merge "Drop unsused "extras" dependency" 2014-01-30 11:52:24 +00:00
Jamie Lennox
365e65dfd3 Introduce database functionality into KDS
Add database setup and initial testing into Key Distribution Server.
Also adds a migration script.

Implements: bp key-distribution-server
Change-Id: I22e914ef1ca6ec8217d131c073261b309d9f637e
2014-01-28 10:12:04 +10:00
Sascha Peilicke
79aadeb30f Drop unsused "extras" dependency
Change-Id: I9264d983f809fafa249536f1b321ee1db02aad4d
2014-01-20 11:30:58 +01:00
Sascha Peilicke
2966fce35a Sync with global requirements
Change-Id: Ibdd73aa142be103d285ce0f15701dc96c1ec34ae
2014-01-16 09:12:23 +01:00
Brant Knudson
a03e7315ca Remove netifaces requirement
netifaces is not required to run the tests, so remove it from
the requirements.

Related-Bug: #1266513
Change-Id: Ifb3b262f47d629670b06c670353dbe798af4dc03
2014-01-09 19:13:52 -06:00
Jamie Lennox
bdaddf8c5e Introduce basic Pecan/WSME framework for KDS
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
2014-01-07 08:15:09 -06:00
Morgan Fainberg
6c7f00d459 Sync global requirements to pin sphinx to sphinx>=1.1.2,<1.2
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
2013-12-10 13:57:16 -08:00
OpenStack Jenkins
b5b5ed9896 Merge "Updated from global requirements" 2013-12-03 18:38:56 +00:00
OpenStack Jenkins
892be058a7 Updated from global requirements
Closes-Bug: 1239892
Change-Id: I669865879d8c12c5b810553ef9c7f87b9fb26fb1
2013-12-03 09:45:18 -06:00
Morgan Fainberg
ae5f24564b Add pycrypto as a test-requirement
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
2013-11-28 22:35:50 -08:00
Jamie Lennox
886befac14 Capture debug logging in tests
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
2013-11-24 16:08:48 -06:00
OpenStack Jenkins
7ae43f5391 Updated from global requirements
Change-Id: Ica7315effe308bd739e90f885849fac27a3c542b
2013-11-13 08:26:37 +00:00
David Stanek
07aa0a91a1 Adds fixture package from oslo
The mock library is added to test-requirements.txt since the
mockpatch fixture requires it.

Change-Id: I1b5b0c75f256382a685fceb2117db6d5b18d8c4f
2013-10-31 15:32:52 +00:00
David Stanek
59adb86b26 Changes to testr as the test runner
run_tests.sh has also been deprecated.

Fixes-Bug: #1177924
Change-Id: I15c1707eb6a62c74a0021a48b89ae15f03fcfea8
2013-10-15 12:28:38 +00:00
Jenkins
372a06236a Merge "Use testtools as base test class." 2013-08-31 03:21:12 +00:00
Victor Sergeyev
221851c8ac Use testtools as base test class.
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
2013-08-29 16:15:22 +03:00
Zhongyue Luo
cf786220f9 Bump hacking to 0.7
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
2013-08-29 09:30:55 +09:00
Jan Provaznik
62b4e1f408 Move Babel dependency from test-req to req
Recent changes added an undeclared dependency on babel in
keystone.openstack.common.gettextutils.

Change-Id: I045195e056c555a293371b50cfc3d7ec0c110ba7
Fixes: bug #1211270
2013-08-12 17:32:08 -07:00