diff --git a/etc/proxy-server.conf-sample b/etc/proxy-server.conf-sample index 9cd2f66d..cbd86c71 100644 --- a/etc/proxy-server.conf-sample +++ b/etc/proxy-server.conf-sample @@ -142,21 +142,24 @@ use = egg:swift#memcache [filter:s3token] # See swift manual for more details. paste.filter_factory = keystonemiddleware.s3_token:filter_factory + +# Prefix that will be prepended to the tenant to form the account +reseller_prefix = AUTH_ + +# Keystone server details auth_host = keystonehost auth_port = 35357 auth_protocol = http -auth_uri = http://keystonehost:5000/ -admin_tenant_name = service -admin_user = swift -admin_password = password -cache = swift.cache + +# SSL-related options +#insecure = False +#certfile = +#keyfile = [filter:authtoken] # See swift manual for more details. paste.filter_factory = keystonemiddleware.auth_token:filter_factory -auth_host = keystonehost -auth_port = 35357 -auth_protocol = http +identity_uri = http://keystonehost:35357/ auth_uri = http://keystonehost:5000/ admin_tenant_name = service admin_user = swift diff --git a/swift3/test/functional/conf/keystone.conf.in b/swift3/test/functional/conf/keystone.conf.in index 09fdb737..a25ea22a 100644 --- a/swift3/test/functional/conf/keystone.conf.in +++ b/swift3/test/functional/conf/keystone.conf.in @@ -1,11 +1,14 @@ [DEFAULT] -policy_file=%CONF_DIR%/policy.json admin_token = ADMIN [database] connection=sqlite:///%TEST_DIR%/keystone.db +[oslo_policy] + +policy_file=%CONF_DIR%/policy.json + [paste_deploy] config_file=%CONF_DIR%/keystone-paste.ini diff --git a/swift3/test/functional/conf/proxy-server.conf.in b/swift3/test/functional/conf/proxy-server.conf.in index 2469084c..d714f5b3 100644 --- a/swift3/test/functional/conf/proxy-server.conf.in +++ b/swift3/test/functional/conf/proxy-server.conf.in @@ -9,7 +9,7 @@ account_autocreate = true log_level = DEBUG [pipeline:main] -pipeline = catch_errors proxy-logging cache swift3 %MIDDLEWARE% bulk slo proxy-logging proxy-server +pipeline = catch_errors gatekeeper proxy-logging cache swift3 %MIDDLEWARE% bulk slo dlo proxy-logging proxy-server [app:proxy-server] use = egg:swift#proxy @@ -40,6 +40,9 @@ min_segment_size = 4 [filter:dlo] use = egg:swift#dlo +[filter:gatekeeper] +use = egg:swift#gatekeeper + [filter:cache] use = egg:swift#memcache @@ -49,16 +52,10 @@ auth_host = localhost auth_port = 35357 auth_protocol = http auth_uri = http://localhost:5000/ -admin_tenant_name = service -admin_user = swift -admin_password = password -cache = swift.cache [filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory -auth_host = localhost -auth_port = 35357 -auth_protocol = http +identity_uri = http://localhost:35357/ auth_uri = http://localhost:5000/ admin_tenant_name = service admin_user = swift