17cfe56728
Implements blueprint murano-api-version-support Change-Id: Ib24a737c2817f503b4200117886102c4daab311a
25 lines
771 B
INI
25 lines
771 B
INI
[pipeline:muranoapi]
|
|
pipeline = versionnegotiation authtoken context rootapp
|
|
|
|
[filter:context]
|
|
paste.filter_factory = muranoapi.api.middleware.context:ContextMiddleware.factory
|
|
|
|
#For more information see Auth-Token Middleware with Username and Password
|
|
#http://docs.openstack.org/developer/keystone/configuringservices.html
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
|
|
|
[composite:rootapp]
|
|
use = egg:Paste#urlmap
|
|
/: apiversions
|
|
/v1: apiv1app
|
|
|
|
[app:apiversions]
|
|
paste.app_factory = muranoapi.api.versions:create_resource
|
|
|
|
[app:apiv1app]
|
|
paste.app_factory = muranoapi.api.v1.router:API.factory
|
|
|
|
[filter:versionnegotiation]
|
|
paste.filter_factory = muranoapi.api.middleware.version_negotiation:VersionNegotiationFilter.factory
|