Fixes the order of assertEqual arguments

assertEqual method's arguments should be in
('expected', 'actual') order.

Change-Id: I524113ccc4a00e8363b2f9c418a3754f482b44d0
Partial-Bug: #1277104
LDAP: Added documentation for debug_level option

Change-Id: Ia5646ebae049eec296bd10826dfd57bf6b7761af
Closes-Bug: #1319564
Update the configuration docs for the revocation extension

There was a formatting error in how step 1 appeared, and I also
changed the title to the more formal name instead of OS-REVOKE,
as the other extensions did not use their OS-* name.

Change-Id: I658ac8dc61d6a8cdacb243a10d853cf9f6aa9409
Migrate default extensions

When running `keystone-manage db_sync` with no parameters, none of
the extensions are migrated.

This patch will now, by default, migrate the following extensions:
  revoke

DocImpact
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>
Closes-Bug: 1324260
Change-Id: I4711e8670bf9619b9bccc09bd6a843728230b25f
Update docs to reflect new db_sync behaviour

In the extension specific configuration docs, we ask that the user
always migrate the extension, however now that we migrate certain
extensions by default, we can mark those steps as optional.

Change-Id: I3d2419786d1f6c25b69c29629a47892fa682129d
Add revocation extension to default pipeline

Since this extension will have an impact across many projects
within OpenStack, it should be on by default.

Change-Id: Id9ff5e4e22125c54b5793bc42819fb4d1ef6dc90
Avoid loading a ref from SQL to delete the ref

In the mapping_backend there is no need to load the ref just to
issue a delete, it can be handled as a single SQL query.

Change-Id: I4cec4fe5de4530d8da79e3be10e2d8fe431ed1f1
Clean up the endpoint filtering configuration docs

There were a few grammatical errors seen in the docs, this patch
should clean those up.

Change-Id: I9815289444763450131fa9cd87f725bfc7a92aa6
Make sure unit tests set the correct log levels

Unit tests appear to not set the expected logging levels so
a number of modules will log excessivly (e.g. ISO8601).

This change ensures the base test classe sets the correct logging
levels (in the same way as the openstack.common.log module).

Change-Id: Ic11b7adee5f27f71094b4ef2b4a635f78f83cba8
Closes-Bug: #1340970
Use oslo.i18n

Keystone was using the I18N functions from oslo-incubator. With
this change, Keystone uses the new oslo.i18n library.

The tests were adapted to not use internal symbols because these are
subject to change.

Change-Id: I1b13fcc630952695424fccd91bcd157d702851f1
render json examples with syntax highlighting

Change-Id: I5727bc7ed967f81ab63b0d031b9a6d6da673da3a
project disabled/deleted notification recommendations

These recommendations represent the outcome of the Keystone/Barbican
cross-project discussion regarding:

  https://review.openstack.org/#/c/99658/

This discussion occurred at the keystone hackathon for Juno.

Change-Id: Ib67c85a9f900ef0a6a346cdbf3280b3a8f977ad7
Merge "Make sure unit tests set the correct log levels"
Sync with oslo-incubator

This syncs keystone with oslo-incubator commit hash
5fa2dae429a9e37dfd1a527eb3957cea57a3e8c4

Commits since last sync (e9bb0b59):
-----------------------------------
0506d17 cfgfilter has graduated, remove it
e5c78bb log: make set_defaults() tests clean up properly
05ae498 Add JUNO as a target to versionutils module
569979a Fix tests.unit.reports.test_base_report with python3.4
e184dd3 Fix exception message in openstack.common.processutils.execute
3d90045 Backport code for i18n to check lazy at runtime
43b0df3 Updated from global requirements
ef37e03 Added missing jsonutils.dump() function
5fd77eb Ability to customize default_log_levels for each project
4d9328c Python 3: enable tests/unit/test_log.py
b8db732 Delete 'deprecated' directory
a44ad7b Allow test_lockutils to run in isolation
8b5bc62 Allow test_service to run in isolation
80284aa Mark gettextutils obsolete
d6b55fb Remove `processutils` dependency on `log`
cb5a804 Move `mask_password` to strutils
9502a21 Use the standard python logging in network_utils
3310d8d update new requests logger to default WARN
e377393 Changes calcuation of variable delay
ab5d5f1 Use timestamp in loopingcall
5c68515 Updated from global requirements
011fc27 Python 3: replace "im_self" by "__self__"
5c11c4d Don't import fcntl on Windows
33afb20 Fix broken formatting of processutils.execute log statement
6751b30 Remove extra whitespace

Change-Id: I853469f1fb5f5274ef52caaeb2d12b3164433697
Related-BP: non-persistent-tokens
Merge "Clean up the endpoint filtering configuration docs"
Merge "render json examples with syntax highlighting"
Merge "Avoid loading a ref from SQL to delete the ref"
Merge "Sync with oslo-incubator"
Merge "Update the configuration docs for the revocation extension"
Merge "Migrate default extensions"