]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Pull project out of request in addition to tenant
authorMonty Taylor <mordred@inaugust.com>
Sat, 5 Dec 2015 04:54:22 +0000 (23:54 -0500)
committerHenry Gessau <gessau@gmail.com>
Tue, 8 Dec 2015 03:16:47 +0000 (22:16 -0500)
commit9670dbd93ce7246282ca4343c3f701e8c20a232b
tree38ab388f42b8bab364c0f9a65cd9cb33159df945
parenta37e11f637b21785307e14e9725de3db14a1d37b
Pull project out of request in addition to tenant

Keystone V3 renamed tenant to project. In order to deal with keystone
V3, start pulling X-Project-Id from the headers.

Since keystonemiddleware authtoken sets both X-Project-* and
X-Tenant-*, we don't need to look up X-Tenant-*.

Don't do anything with renaming the internal variables - that will come
later.

Change-Id: I5e27cf6a54fb603b81d41b8b4f085d59354627fb
Depends-On: I1f754a9a949ef92f4e427a91bbd1b1e73e86c8c4
Closes-Bug: #1503428
neutron/pecan_wsgi/hooks/context.py
neutron/tests/functional/pecan_wsgi/test_functional.py