From 2144ea23bb8621647dfb92b114718c2e3a401f41 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Wed, 29 Feb 2012 11:11:01 -0800 Subject: [PATCH] Add xml filter to keystone.conf Bug #943499 Change-Id: If636705839606a28c6a6905cd11deaa1fff76438 --- files/keystone.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/files/keystone.conf b/files/keystone.conf index 76c618a065..d9e639fe75 100644 --- a/files/keystone.conf +++ b/files/keystone.conf @@ -48,6 +48,9 @@ paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory [filter:admin_token_auth] paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory +[filter:xml_body] +paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory + [filter:json_body] paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory @@ -67,10 +70,10 @@ paste.app_factory = keystone.service:public_app_factory paste.app_factory = keystone.service:admin_app_factory [pipeline:public_api] -pipeline = token_auth admin_token_auth json_body debug ec2_extension s3_extension public_service +pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension s3_extension public_service [pipeline:admin_api] -pipeline = token_auth admin_token_auth json_body debug ec2_extension crud_extension admin_service +pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension crud_extension admin_service [app:public_version_service] paste.app_factory = keystone.service:public_version_app_factory @@ -79,10 +82,10 @@ paste.app_factory = keystone.service:public_version_app_factory paste.app_factory = keystone.service:admin_version_app_factory [pipeline:public_version_api] -pipeline = public_version_service +pipeline = xml_body public_version_service [pipeline:admin_version_api] -pipeline = admin_version_service +pipeline = xml_body admin_version_service [composite:main] use = egg:Paste#urlmap