deb-murano/etc/murano/murano-api-paste.ini
Ekaterina Fedorova 17cfe56728 Add versioning support
Implements blueprint murano-api-version-support
Change-Id: Ib24a737c2817f503b4200117886102c4daab311a
2014-03-17 17:06:45 +04:00

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