add sample proxy pipeline for keystone integration

Change-Id: I4b4fd9179d0234f001940e215c97d40a2a6204cd
This commit is contained in:
John Dickinson 2015-11-30 10:33:23 -08:00
parent 0db4fa0a21
commit 5eaa5543c7

View File

@ -77,8 +77,15 @@ bind_port = 8080
# eventlet_debug = false
[pipeline:main]
# This sample pipeline uses tempauth and is used for SAIO dev work and
# testing. See below for a pipeline using keystone.
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit tempauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
# The following pipeline shows keystone integration. Comment out the one
# above and uncomment this one. Additional steps for integrating keystone are
# covered further below in the filter sections for authtoken and keystoneauth.
#pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
[app:proxy-server]
use = egg:swift#proxy
# You can override the default log routing for this app here:
@ -277,9 +284,8 @@ user_test5_tester5 = testing5 service
# refer to the keystone's documentation for details about the
# different settings.
#
# You'll need to have as well the keystoneauth middleware enabled
# and have it in your main pipeline so instead of having tempauth in
# there you can change it to: authtoken keystoneauth
# You'll also need to have the keystoneauth middleware enabled and have it in
# your main pipeline, as show in the sample pipeline at the top of this file.
#
# [filter:authtoken]
# paste.filter_factory = keystonemiddleware.auth_token:filter_factory