243d4ad7ef
auth_token middleware in python-keystoneclient is deprecated and has been moved to the keystonemiddleware repo. test_keystone_middleware_conf and test_keystone_middleware_parse_conffile were removed. These tests were relying on undocumented behavior (how the config options turn into attributes). This doesn't work anymore since the keystonemiddleware version doesn't provide any public API other than calling it as a wsgi app, and then doesn't document what internal operations it will do when called so isn't safe to be called in unit tests. Tests verifying that the auth_token middleware can read its config options should be done in keystonemiddleware. Closes-Bug: #1342274 Change-Id: I1aadbe24db63eb2507b088cd53886d7f2e192cab
16 lines
508 B
INI
16 lines
508 B
INI
# Ceilometer API WSGI Pipeline
|
|
# Define the filters that make up the pipeline for processing WSGI requests
|
|
# Note: This pipeline is PasteDeploy's term rather than Ceilometer's pipeline
|
|
# used for processing samples
|
|
|
|
# Remove authtoken from the pipeline if you don't want to use keystone authentication
|
|
[pipeline:main]
|
|
pipeline = authtoken api-server
|
|
|
|
[app:api-server]
|
|
paste.app_factory = ceilometer.api.app:app_factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
|