"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/conf/wsgi.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

wsgi.py  (keystone-17.0.0):wsgi.py  (keystone-18.0.0)
skipping to change at line 17 skipping to change at line 17
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from oslo_config import cfg from oslo_config import cfg
from keystone.conf import utils from keystone.conf import utils
debug_middlware = cfg.BoolOpt( debug_middleware = cfg.BoolOpt(
'debug_middleware', 'debug_middleware',
default=False, default=False,
help=utils.fmt(""" help=utils.fmt("""
If set to true, this enables the oslo debug middleware in Keystone. This If set to true, this enables the oslo debug middleware in Keystone. This
Middleware prints a lot of information about the request and the response. It Middleware prints a lot of information about the request and the response. It
is useful for getting information about the data on the wire (decoded) and is useful for getting information about the data on the wire (decoded) and
passed to the WSGI application pipeline. This middleware has no effect on passed to the WSGI application pipeline. This middleware has no effect on
the "debug" setting in the [DEFAULT] section of the config file or setting the "debug" setting in the [DEFAULT] section of the config file or setting
Keystone's log-level to "DEBUG"; it is specific to debugging the WSGI data Keystone's log-level to "DEBUG"; it is specific to debugging the WSGI data
as it enters and leaves Keystone (specific request-related data). This option as it enters and leaves Keystone (specific request-related data). This option
skipping to change at line 40 skipping to change at line 40
This middleware is inserted as the first element in the middleware chain This middleware is inserted as the first element in the middleware chain
and will show the data closest to the wire. and will show the data closest to the wire.
WARNING: NOT INTENDED FOR USE IN PRODUCTION. THIS MIDDLEWARE CAN AND WILL EMIT WARNING: NOT INTENDED FOR USE IN PRODUCTION. THIS MIDDLEWARE CAN AND WILL EMIT
SENSITIVE/PRIVILEGED DATA. SENSITIVE/PRIVILEGED DATA.
""")) """))
GROUP_NAME = __name__.split('.')[-1] GROUP_NAME = __name__.split('.')[-1]
ALL_OPTS = [ ALL_OPTS = [
debug_middlware, debug_middleware,
] ]
def register_opts(conf): def register_opts(conf):
conf.register_opts(ALL_OPTS, group=GROUP_NAME) conf.register_opts(ALL_OPTS, group=GROUP_NAME)
def list_opts(): def list_opts():
return {GROUP_NAME: ALL_OPTS} return {GROUP_NAME: ALL_OPTS}
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)