Update paste config to return version info

Change-Id: I67edb5c9aab6899c105666a4541918bad9116386
This commit is contained in:
Anthony Young 2012-02-14 14:20:36 -08:00
parent 31cce21808
commit 258c95de09

View File

@ -69,10 +69,24 @@ pipeline = token_auth admin_token_auth json_body debug ec2_extension public_serv
[pipeline:admin_api]
pipeline = token_auth admin_token_auth json_body debug ec2_extension crud_extension admin_service
[app:public_version_service]
paste.app_factory = keystone.service:public_version_app_factory
[app:admin_version_service]
paste.app_factory = keystone.service:admin_version_app_factory
[pipeline:public_version_api]
pipeline = public_version_service
[pipeline:admin_version_api]
pipeline = admin_version_service
[composite:main]
use = egg:Paste#urlmap
/v2.0 = public_api
/ = public_version_api
[composite:admin]
use = egg:Paste#urlmap
/v2.0 = admin_api
/ = admin_version_service