keystone/keystone/tests
Lance Bragstad ce46cc25dc 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.

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

Closes-Bug: 1779205
Change-Id: Ib906c42e1dd2c2408ccd2e256ffd876af02af3fe
(cherry picked from commit df5d75571e)
2018-07-25 15:40:33 +00:00
..
common Fix keystone.common.wsgi to explicitly use bytes 2016-03-02 01:30:20 -05:00
functional Fix a few spelling mistakes 2016-06-24 02:53:48 +00:00
hacking Remove duplicated hacking rule 2017-06-28 07:48:03 +00:00
unit Reduce duplication in federated auth APIs 2018-07-25 15:40:33 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00