From 258c95de099309bd6b26f441d004ca3f67e9c25a Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 14 Feb 2012 14:20:36 -0800 Subject: [PATCH] Update paste config to return version info Change-Id: I67edb5c9aab6899c105666a4541918bad9116386 --- files/keystone.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/files/keystone.conf b/files/keystone.conf index 3167c0f455..45044f7631 100644 --- a/files/keystone.conf +++ b/files/keystone.conf @@ -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