Update paste config to return version info
Change-Id: I67edb5c9aab6899c105666a4541918bad9116386
This commit is contained in:
parent
31cce21808
commit
258c95de09
@ -69,10 +69,24 @@ pipeline = token_auth admin_token_auth json_body debug ec2_extension public_serv
|
|||||||
[pipeline:admin_api]
|
[pipeline:admin_api]
|
||||||
pipeline = token_auth admin_token_auth json_body debug ec2_extension crud_extension admin_service
|
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]
|
[composite:main]
|
||||||
use = egg:Paste#urlmap
|
use = egg:Paste#urlmap
|
||||||
/v2.0 = public_api
|
/v2.0 = public_api
|
||||||
|
/ = public_version_api
|
||||||
|
|
||||||
[composite:admin]
|
[composite:admin]
|
||||||
use = egg:Paste#urlmap
|
use = egg:Paste#urlmap
|
||||||
/v2.0 = admin_api
|
/v2.0 = admin_api
|
||||||
|
/ = admin_version_service
|
||||||
|
Loading…
Reference in New Issue
Block a user