Fix up some trivial license mismatches

In preparation of the Hacking check that would reject
those licenses in the future.

Change-Id: I2ba5080ed836c62fa54fa2734c2ecd3114639b75
`tox -ecover` failure. Missing entry in tox.ini

`tox -ecover` is failing due to a missing entry in keystone's tox.ini file.
In tox.ini the following code appears:
'''
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
         NOSE_COVER_HTML=1
         NOSE_COVER_HTML_DIR={toxinidir}/cover
'''

Adding 'VIRTUAL_ENV={envdir}' to the setenv mapping, as shown below,
has resolved the issue on my machine.
'''
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
         NOSE_WITH_COVERAGE=1
         NOSE_COVER_HTML=1
         NOSE_COVER_HTML_DIR={toxinidir}/cover
'''

Change-Id: I3550ac61cdc6389dd239c5ad319d881519b3543d
Fixes: bug #1195371
Remove hard tabs and trailing whitespace

Change-Id: I27f0054f8aca053e0fd31c4b848771438b0f34ac
Add 'application' to keystone.py for WSGI

This adds WSGI application to keystone/httpd/keystone.py, fixing
bug 1194494.

Change-Id: I921fe1332dc9dd25e917f02f583b5b597cf35c26
Use event.listen() instead of deprecated listeners kwarg

The listeners kwarg is deprecated in SQLAlchemy 0.7.0.
Use the new event.listen() method instead.

Instead of using the original approach of testing whether or not the string
'mysql' is in 'connection_dict.drivername', now we are using a more direct
string equality test to ensure that engine.name == 'mysql' before passing
it to sql.event.listen().

We've decided to change the name of our ping_listener function to reflect its
purpose more accurately. Its name has been changed from "ping_listener" to
"mysql_on_checkout".

Change-Id: Ib9ef52404e3d474a60cdc82e8fcf8c6a9616bce3
Fixes: bug #1031405
DB2 migration support

DB2 will not allow you to rename a table if it's got a
constraint on it (a unique or foreign key constraint).

This fix changes the migrations so that the unique or FK
constraints are dropped from tables before renaming and then
restoring the unique FK constraints. This works for DB2 and
other DBMSs that support FK constraints such as MySQL with
InnoDB and PostgreSQL.

Also, for DB2, give a name to the unique constraints so that
they can be manipulated.

Fixes bug 1188785

Change-Id: I7cf6ab42084e43d827ed827c64025e61e72a4672
Install locales for httpd.

Change-Id: Ia5886b98070f3e3b2df4e94bf2a3db7c57bf870e
Merge "`tox -ecover` failure. Missing entry in tox.ini"
rename quantum to neutron in docs

implements bug: 1197208

Change-Id: Icb7e7d4212e53cd55281a42fb2cd26b243d79eb8
Merge "Remove hard tabs and trailing whitespace"
Merge "Install locales for httpd."
Merge "Use event.listen() instead of deprecated listeners kwarg"
Implement GET /role_assignment API call

Add support for the GET /role_assignment call as a first step
to making role_assignment a first class entity.

This patch also enables v3 collection filtering to match against
attributes of entities being returned in the list, using the same
dot notation (e.g. user.id) that we already support for policy file
checking against filters.

Limitations:

- The current implementation uses the standard v3 collections wrapper
  mechanism for filtering.  Given the potential numbers of role
  assignments in a large system, this may have performance and resource
  impacts.  A future improvement would pass the filters into the
  driver layer to keep the internal assignment processing to a minimum.

- The LDAP backend is not currently supported

Implements bp get-role-assignments

Change-Id: I6ff2ea780e39d7097a88214fbb3ddee1b924c30c
Work without admin_token_auth middleware

Requests would fail with a 500 Internal Server Error if the
admin_token_auth middleware was removed from the paste pipeline.
The requests would fail because the code assumed that the context
contained an 'is_admin' element, but that element was only in
the context if the admin_token_auth middleware was in the
pipeline.

This change makes it so that if the admin_token_auth middleware
isn't in the paste pipeline requests will not fail with a
500 Internal Server Error.

Change-Id: Ic064785226ee70ee475d8f72fea3c2ae6971a07f
Fixes: bug 1190708
Add callbacks for set_global_engine

This adds functionality where a class can monitor for the global
engine changing.

This is useful for a class that caches the global engine and
wants to know when its cached global engine isn't valid anymore.

Part of fix for bug 1179259

Change-Id: I5736a05308c63de9fccb8af7720ddd70530f4270
Merge "Fix up some trivial license mismatches"
Update paths to pem files in keystone.conf.sample

Location of *.pem files were changed without synchronization with
keystone.conf.sample.

Change-Id: I99a61230b06eb43046e543c0d0663c49aa21d558
Fixes: bug #1197743
Remove an enumerate call

Refactor tests/test_backend.py, remove a useless enumerate call in for
loop.

Change-Id: I1268ce70d40994078343ec3120021c131e52713d
Merge "rename quantum to neutron in docs"
Merge "Update paths to pem files in keystone.conf.sample"