deb-horizon/horizon/middleware/__init__.py
Kenji Ishii 5a9c4b0c28 Add feature to log operations of users to Horizon
To enable this feature, you can see the
/doc/source/topics/settings.rst on this patch.

Change-Id: I784b92104be244f7f288d7648c20e61e0a0c1d09
Implements: blueprint operation-history-log
2016-05-31 10:34:08 +00:00

20 lines
796 B
Python

# Copyright 2016 NEC Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from horizon.middleware import base
from horizon.middleware import operation_log
HorizonMiddleware = base.HorizonMiddleware
OperationLogMiddleware = operation_log.OperationLogMiddleware