Attempt to escape quotes actually forgot one of the quotes, causing
"invalid escape sequence" warnings in the logs.
Change-Id: I843257ba5c26f7ba6c5cd3b1b7c53ed26cb9ee8d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
keystoneclient.session has been long deprecated in favor of
keystoneauth1.session. This change corrects entries in the
documentation to use the correct library's session.
Change-Id: I16c9cd9a63c584c032ba9b3958014a4abaa99ca0
The constants of log levels were added in the 1.8 version
of the oslo.log library.
So we can replace all usage of system logging module
with log module from oslo.log
Change-Id: I97a1d913b543dc9dbd4d228b04adbdf7ee320df5
By default oslo.cfg sets the default value as None. There is no
need to explicitly do this.
TrivialFix
Change-Id: Icba893180617ab03e42b477706ce089cc5c5b5d1
The _conf_get ugliness in auth_token middleware has been around for a
long time now to handle the abstraction from different oslo.config
options and the paste overrides. This logic is now also being needed in
other middlewares. Extract this into a common config object that has a
better interface and is easier to work with.
Change-Id: I8b8a1427bc527e43bb1baec25a881d93df3f93cc
Previously, the deprecation messages were vague and did not define
a timeline in when the functions would be removed.
Change-Id: Ice05f6ff66d45f3477a460062c03d36c61b970ec
The oslo_config library added support for a choices keyword argument in
version 1.2.0a3. This commit leverages the use of choices for StrOpts of
keystonemiddleware configuration.
Change-Id: I8d9ee833263560caaffe083487abc5eda862f8ea
Closes-Bug: 1423973
With the release of keystoneauth we should use that instead of
keystoneclient in auth_token middleware.
Change-Id: Id0876e90a1373ba31e4ec23d5275618149ca36d1
The auth_token middleware should use keystoneclient for all its
communication with keystone.
bp auth-token-use-client
Depends-On: If802e8a47e45ae00112de3739334b4b5482d0500
Change-Id: Ib6ff5b0d9b260d03fe5d120fa47035886f43439c
Applications should be using the standard authentication plugins
rather than auth_token authentication.
Change-Id: I1d7ef8267f353e2ea4af47352b3faa399afb11aa
Extract the default auth plugin into its own file. In future I'd like to
move the whole auth loading process into this file - however I have some
ideas for changing around how config works I'd like to do first.
Change-Id: I90c2f9e55947a436374ff54465e15caffdf9925d
Implements: bp refactor-extract-module