a6dc322757
This change moves extensions.py out of the extensions module and into the api module. This resolves an issue where the following log WARNING message would occur each time the Quantum API starts: Did not find expected name "Extensions" in /usr/lib/python2.7/site-packages/quantum/extensions/extensions.py Fixes LP Bug #1074895. Change-Id: Ia5ed206870551f9b33b74dcdc9d0503e447f298d
31 lines
886 B
INI
31 lines
886 B
INI
[composite:quantum]
|
|
use = egg:Paste#urlmap
|
|
/: quantumversions
|
|
/v2.0: quantumapi_v2_0
|
|
|
|
[composite:quantumapi_v2_0]
|
|
use = call:quantum.auth:pipeline_factory
|
|
noauth = extensions quantumapiapp_v2_0
|
|
keystone = authtoken keystonecontext extensions quantumapiapp_v2_0
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
auth_host = 127.0.0.1
|
|
auth_port = 35357
|
|
auth_protocol = http
|
|
admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
admin_user = %SERVICE_USER%
|
|
admin_password = %SERVICE_PASSWORD%
|
|
|
|
[filter:extensions]
|
|
paste.filter_factory = quantum.api.extensions:plugin_aware_extension_middleware_factory
|
|
|
|
[app:quantumversions]
|
|
paste.app_factory = quantum.api.versions:Versions.factory
|
|
|
|
[app:quantumapiapp_v2_0]
|
|
paste.app_factory = quantum.api.v2.router:APIRouter.factory
|