Updating paste ini files for new middleware.
Change-Id: If79de2f3500ffcdc5890c4bd8ca26899c24f3542
This commit is contained in:
parent
d4f2d111df
commit
44111f49f1
|
@ -2,8 +2,7 @@
|
|||
name = monasca_api
|
||||
|
||||
[pipeline:main]
|
||||
# Add validator in the pipeline so the metrics messages can be validated.
|
||||
pipeline = auth keystonecontext api
|
||||
pipeline = request_id auth api
|
||||
|
||||
[app:api]
|
||||
paste.app_factory = monasca_api.api.server:launch
|
||||
|
@ -11,8 +10,8 @@ paste.app_factory = monasca_api.api.server:launch
|
|||
[filter:auth]
|
||||
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
||||
|
||||
[filter:keystonecontext]
|
||||
paste.filter_factory = monasca_api.middleware.keystone_context_filter:filter_factory
|
||||
[filter:request_id]
|
||||
paste.filter_factory = oslo_middleware.request_id:RequestId.factory
|
||||
|
||||
[server:main]
|
||||
use = egg:gunicorn#main
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = monasca_log_api
|
||||
|
||||
[pipeline:main]
|
||||
pipeline = auth roles api
|
||||
pipeline = request_id auth roles api
|
||||
|
||||
[app:api]
|
||||
paste.app_factory = monasca_log_api.server:launch
|
||||
|
@ -13,6 +13,9 @@ paste.filter_factory = monasca_log_api.healthcheck.keystone_protocol:filter_fact
|
|||
[filter:roles]
|
||||
paste.filter_factory = monasca_log_api.middleware.role_middleware:RoleMiddleware.factory
|
||||
|
||||
[filter:request_id]
|
||||
paste.filter_factory = oslo_middleware.request_id:RequestId.factory
|
||||
|
||||
[server:main]
|
||||
use = egg:gunicorn#main
|
||||
host = 0.0.0.0
|
||||
|
|
Loading…
Reference in New Issue