summaryrefslogtreecommitdiffstats
path: root/tests/keystoneclient_compat_master.conf
blob: 091071c779d5267f683716e13d05959399b202ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[DEFAULT]
catalog_driver = keystonelight.backends.templated.TemplatedCatalog
identity_driver = keystonelight.backends.kvs.KvsIdentity
token_driver = keystonelight.backends.kvs.KvsToken
public_port = 5000

# config for TemplatedCatalog, using camelCase because I don't want to do
# translations for keystone compat
catalog.RegionOne.identity.publicURL = http://localhost:$(public_port)s/v2.0
catalog.RegionOne.identity.adminURL = http://localhost:$(public_port)s/v2.0
catalog.RegionOne.identity.internalURL = http://localhost:$(public_port)s/v2.0
catalog.RegionOne.identity.name = 'Identity Service'

# fake compute port for now to help novaclient tests work
compute_port = 3000
catalog.RegionOne.compute.publicURL = http://localhost:$(compute_port)s/v2.0
catalog.RegionOne.compute.adminURL = http://localhost:$(compute_port)s/v2.0
catalog.RegionOne.compute.internalURL = http://localhost:$(compute_port)s/v2.0
catalog.RegionOne.compute.name = 'Compute Service'


[filter:debug]
paste.filter_factory = keystonelight.wsgi:Debug.factory

[filter:token_auth]
paste.filter_factory = keystonelight.service:TokenAuthMiddleware.factory

[filter:json_body]
paste.filter_factory = keystonelight.service:JsonBodyMiddleware.factory

[app:keystone]
paste.app_factory = keystonelight.keystone_compat:app_factory

[pipeline:main]
pipeline = token_auth json_body debug keystone