keystone/keystone/tests
Henry Nash 0e05353d09 Move projects and domains to their own backend
This is the part of the more comprehensive split of
assignments, which rationalizes both the backend and controllers.
In order to make this change easier for reviewers, it is divided
into a number of smaller patches.

Previous patches:

- Move role management into its own manager and drivers
  (see: https://review.openstack.org/#/c/144239/)
- Fix incorrect doc strings for grant driver methods
  (see: https://review.openstack.org/#/c/144403/)
- Make controllers call the new, split out, role manager
  (see: https://review.openstack.org/#/c/144494/)
- Make unit tests call the new, split out, role manager
  (see: https://review.openstack.org/#/c/144548/)
- Refactor the assignment manager and drivers, enabling
  projects/domains to be split out
  (see: https://review.openstack.org/#/c/144650/)
- Fix incorrect comment about circular dependency between
  assignment and identity
  (see: https://review.openstack.org/#/c/144850/)

This patch moves the now logically separated project and domain
functionality into their own manager/backend (called resource).

Future patches will:

- Remove unused pointer to assignment in identity driver
- Update the controllers to call the new resource manager
- Update the tests to call the new resource manager
- Split the assignment controller, giving projects/domains
  their own controller

Partially implements: bp pluggable-assignments

Change-Id: I0ff1c2fa30237734d0a25d03dad5be03eb166367
2015-01-29 16:40:24 +00:00
..
config_files Ensure identity sql driver supports domain-specific configuration. 2014-09-18 10:17:23 +01:00
ksfixtures Expanded mutable hacking checks 2014-12-19 03:16:00 +00:00
saml2 Add version attribute to the SAML2 Assertion object. 2014-09-25 17:53:17 +02:00
tmp Move 'tests' directory into 'keystone' package 2013-08-14 01:30:01 -03:00
unit Merge "Move test_utils to keystone/tests/unit/" 2015-01-28 15:10:57 +00:00
__init__.py Reduces the amount of mocked imports for Python 3 2014-07-22 17:15:15 +00:00
core.py Make unit tests call the new, split out, role manager 2015-01-14 04:47:28 +00:00
default_catalog.templates Do not use keystone's config for nova's port 2014-07-01 11:03:59 -07:00
default_fixtures.py Add parent_id field to projects 2014-10-18 00:15:05 -03:00
fakeldap.py Merge "Enhance FakeLdap to require base entry for subtree search" 2014-12-31 18:46:35 +00:00
federation_fixtures.py IdP SAML Metadata generator 2014-09-02 17:40:20 -04:00
filtering.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
identity_mapping.py multi-backend support for identity 2014-07-11 20:22:10 +01:00
mapping_fixtures.py Identify groups by name/domain in mapping rules. 2015-01-16 10:01:00 +01:00
matchers.py Fixes an issue with the XMLEquals matcher 2014-08-14 02:28:28 +00:00
rest.py Merge "Remove XML support" 2014-12-17 03:43:25 +00:00
test_associate_project_endpoint_extension.py fix wrong self link in the response of endpoint_groups API 2014-12-29 11:42:02 +08:00
test_auth.py Make unit tests call the new, split out, role manager 2015-01-14 04:47:28 +00:00
test_auth_plugin.py TestAuthPlugin doesn't use test_auth_plugin.conf 2014-11-26 08:36:18 -06:00
test_backend.py Move projects and domains to their own backend 2015-01-29 16:40:24 +00:00
test_backend_endpoint_policy.py backend for policy endpoint extension 2014-08-31 09:40:37 +01:00
test_backend_endpoint_policy_sql.py backend for policy endpoint extension 2014-08-31 09:40:37 +01:00
test_backend_federation_sql.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_backend_id_mapping_sql.py Add identity mapping capability 2014-07-02 11:29:07 +01:00
test_backend_kvs.py Remove token persistence proxy 2014-10-27 19:13:10 -07:00
test_backend_ldap.py Move projects and domains to their own backend 2015-01-29 16:40:24 +00:00
test_backend_ldap_pool.py Switch LdapIdentitySqlAssignment to use oslo.mockpatch 2014-10-03 09:18:53 -04:00
test_backend_rules.py Removal of test .conf files 2014-03-17 00:17:39 -07:00
test_backend_sql.py Move projects and domains to their own backend 2015-01-29 16:40:24 +00:00
test_backend_templated.py Enable hacking rule H904 2014-11-06 23:11:06 +08:00
test_cache.py Replace assertTrue and assertFalse with more suitable asserts 2014-05-26 14:33:18 +04:00
test_cache_backend_mongo.py First real Python 3 tests 2014-04-24 19:27:41 +00:00
test_catalog.py Always return the service name in the catalog 2014-12-17 21:39:28 -08:00
test_cert_setup.py Merge "add --rebuild option for ssl/pki_setup" 2014-09-29 19:12:13 +00:00
test_cli.py Fix token flush fails with recursion depth exception 2014-08-29 17:20:08 -07:00
test_config.py Fix assertEqual arguments order(catalog, cert_setup, etc) 2014-04-03 20:11:29 +09:00
test_content_types.py Fix tests using extension drivers 2015-01-07 12:10:57 -06:00
test_contrib_s3_core.py Remove vim header 2014-02-08 23:54:04 +08:00
test_contrib_simple_cert.py Allow for multiple PKI Style Providers 2014-06-16 03:07:13 +00:00
test_driver_hints.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_ec2_token_middleware.py Update middleware that was moved to keystonemiddleware 2014-07-15 18:11:10 -07:00
test_exception.py Use jsonutils from oslo.serialization 2014-10-06 01:33:42 -04:00
test_ipv6.py Rename keystone.tests.fixtures 2014-03-25 01:10:54 +00:00
test_keystoneclient.py Additional test coverage for password changes 2015-01-12 19:37:18 +00:00
test_keystoneclient_sql.py Keystoneclient tests from venv-installed client 2015-01-08 16:11:15 -06:00
test_kvs.py remove unneeded definitions of Python Source Code Encoding 2014-06-08 16:44:45 +00:00
test_ldap_livetest.py Enable hacking rule H904 2014-11-06 23:11:06 +08:00
test_ldap_pool_livetest.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_ldap_tls_livetest.py Migrate ID generation for users/groups from controller to manager 2014-06-20 12:19:03 -07:00
test_matchers.py Enable hacking rule H904 2014-11-06 23:11:06 +08:00
test_middleware.py Remove XML support 2014-12-13 16:30:18 +00:00
test_no_admin_token_auth.py Bump hacking to 0.9.x series 2014-08-14 20:42:48 -07:00
test_policy.py Provide useful info when parsing policy file 2014-10-29 20:38:54 +00:00
test_revoke.py Fix tests using extension drivers 2015-01-07 12:10:57 -06:00
test_singular_plural.py Remove OS-STATS monitoring 2014-10-02 11:40:38 -04:00
test_sizelimit.py Fixed the size limit tests in Python 3 2014-05-05 11:27:42 +00:00
test_sql_livetest.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
test_sql_migrate_extensions.py Fixes docstrings to be more accurate. 2014-10-07 21:23:15 +00:00
test_sql_upgrade.py Merge "Fix incorrect session usage in tests" 2015-01-27 20:28:17 +00:00
test_ssl.py Rename keystone.tests.fixtures 2014-03-25 01:10:54 +00:00
test_token_bind.py Update AuthContextMiddleware to not use token_api 2014-08-25 21:11:11 -07:00
test_token_provider.py Merge "trustor_user_id not available in v2 trust token" 2014-09-13 02:28:42 +00:00
test_url_middleware.py Fixes the order of assertEqual arguments 2014-07-01 07:11:15 +00:00
test_v2_controller.py Make SQL the default backend for Identity & Assignment unit tests. 2014-08-25 10:17:55 +01:00
test_v3.py Merge "Make unit tests call the new, split out, role manager" 2015-01-15 22:43:08 +00:00
test_v3_assignment.py Make unit tests call the new, split out, role manager 2015-01-14 04:47:28 +00:00
test_v3_auth.py Merge "Make unit tests call the new, split out, role manager" 2015-01-15 22:43:08 +00:00
test_v3_catalog.py Always return the service name in the catalog 2014-12-17 21:39:28 -08:00
test_v3_controller.py replaced unicode() with six.text_type() 2014-05-26 11:13:03 +02:00
test_v3_credential.py fix test_ec2_list_credentials 2015-01-22 12:11:57 +08:00
test_v3_endpoint_policy.py Fix tests using extension drivers 2015-01-07 12:10:57 -06:00
test_v3_federation.py Identify groups by name/domain in mapping rules. 2015-01-16 10:01:00 +01:00
test_v3_filters.py Move projects and domains to their own backend 2015-01-29 16:40:24 +00:00
test_v3_identity.py Additional test coverage for password changes 2015-01-12 19:37:18 +00:00
test_v3_oauth1.py Fix tests using extension drivers 2015-01-07 12:10:57 -06:00
test_v3_os_revoke.py Fix tests using extension drivers 2015-01-07 12:10:57 -06:00
test_v3_policy.py Remove XML support 2014-12-13 16:30:18 +00:00
test_v3_protection.py Make unit tests call the new, split out, role manager 2015-01-14 04:47:28 +00:00
test_validation.py add missing parent_id parameter check in project schema 2015-01-13 18:32:53 +08:00
test_versions.py Merge "Remove XML support" 2014-12-17 03:43:25 +00:00
test_wsgi.py Cleanup eventlet use in tests 2014-12-12 14:27:27 +00:00
utils.py Move test_utils to keystone/tests/unit/ 2014-12-19 15:27:28 +00:00