keystone/keystone
Lance Bragstad ade177ad35 Reduce duplication in federated auth APIs
The GET /v3/OS-FEDERATION/projects and GET /v3/OS-FEDERATION/domains
APIs were introduced to handle tokens from federated users, but now
that GET /v3/auth/projects and GET /v3/auth/domains know how to handle
federated tokens, they're just duplicate APIs.

In the past we deprecated these federated auth APIs, but they still
used separate code paths from GET /v3/auth/projects and GET
/v3/auth/domains. The two code paths are true duplication in that they
don't expect to differ over time and should provide the same user
experience.

Instead of running the risk that comes with two code paths that do the
same thing, we should consolidate them.

Conflicts:
  keystone/federation/controllers.py due to the fact that pre-Queens
  code used a different dependency framework. This was reworked in
  the Queens release, causing a conflict with this patch since it
  touches the same code.
  keystone/tests/unit/test_v3_auth.py due to a couple test with
  similar naming and placement within the same test module.

Co-Authored-By: Kristi Nikolla <kristi@nikolla.me>

Closes-Bug: 1779205
Change-Id: Ib906c42e1dd2c2408ccd2e256ffd876af02af3fe
(cherry picked from commit df5d75571e)
2018-07-25 15:54:28 +00:00
..
assignment Handle group NotFound in effective assignment list 2017-05-31 12:23:02 +05:30
auth Merge "Remove de-dupe for MFA Rule parsing." 2017-02-01 20:51:18 +00:00
catalog Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
cmd Fix bad error message from FernetUtils 2017-01-30 19:11:49 -08:00
common Merge "Use https for docs.openstack.org references" 2017-02-01 16:36:44 +00:00
conf Create user option `ignore_lockout_failure_attempts` 2017-01-29 13:19:44 -08:00
contrib Fix the s3tokens endpoint 2017-11-29 15:37:26 +00:00
credential Fix bad error message from FernetUtils 2017-01-30 19:11:49 -08:00
endpoint_policy Merge "Create unit tests for endpoint policy drivers" 2016-11-10 13:45:23 +00:00
federation Reduce duplication in federated auth APIs 2018-07-25 15:54:28 +00:00
identity Delete SQL users before deleting domain 2018-02-12 14:22:52 +01:00
locale Imported Translations from Zanata 2017-04-08 07:35:01 +00:00
middleware Merge "Add is_admin_project to policy dict" 2016-10-14 15:59:07 +00:00
models Fix cloud_admin rule and ensure only project tokens can be cloud admin 2016-12-23 09:31:08 +00:00
oauth1 Change url scheme passed to oauth signature verifier 2017-07-13 22:10:13 +00:00
policy Merge "Pass initiator to Manager as a kwarg" 2016-10-09 02:57:43 +00:00
resource Delete SQL users before deleting domain 2018-02-12 14:22:52 +01:00
revoke Use https for docs.openstack.org references 2017-01-30 16:05:08 -08:00
server Error messages are not translating with locale. 2017-03-26 17:53:50 +00:00
tests Reduce duplication in federated auth APIs 2018-07-25 15:54:28 +00:00
token Fixing flushing tokens workflow 2017-07-11 15:28:06 +00:00
trust Remove eventlet-related call to sleep 2016-11-24 12:43:18 +00:00
v2_crud Use https for docs.openstack.org references 2017-01-30 16:05:08 -08:00
version Use https for docs.openstack.org references 2017-01-30 16:05:08 -08:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Process and validate auth methods against MFA rules 2017-01-31 08:48:35 -08:00
i18n.py Use https for docs.openstack.org references 2017-01-30 16:05:08 -08:00
notifications.py Delete SQL users before deleting domain 2018-02-12 14:22:52 +01:00