~hopem/charms/precise/nova-cloud-controller/lp1273469.v2

« back to all changes in this revision

Viewing changes to templates/folsom/etc_quantum_api-paste.ini

  • Committer: Adam Gandelman
  • Date: 2013-10-16 18:29:21 UTC
  • mfrom: (51.1.78 nova-cloud-controller)
  • Revision ID: adamg@canonical.com-20131016182921-vc7omtmypcxgusfd
Merge of python-redux work for havana cycle

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# folsom
 
2
###############################################################################
 
3
# [ WARNING ]
 
4
# Configuration file maintained by Juju. Local changes may be overwritten.
 
5
###############################################################################
 
6
[composite:quantum]
 
7
use = egg:Paste#urlmap
 
8
/: quantumversions
 
9
/v2.0: quantumapi_v2_0
 
10
 
 
11
[composite:quantumapi_v2_0]
 
12
use = call:quantum.auth:pipeline_factory
 
13
noauth = extensions quantumapiapp_v2_0
 
14
keystone = authtoken keystonecontext extensions quantumapiapp_v2_0
 
15
 
 
16
[filter:keystonecontext]
 
17
paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory
 
18
 
 
19
[filter:authtoken]
 
20
paste.filter_factory = keystone.middleware.auth_token:filter_factory
 
21
{% if service_host -%}
 
22
service_protocol = {{ service_protocol }}
 
23
service_host = {{ service_host }}
 
24
service_port = {{ service_port }}
 
25
auth_host = {{ auth_host }}
 
26
auth_port = {{ auth_port }}
 
27
auth_protocol =  {{ auth_protocol }}
 
28
admin_tenant_name = {{ admin_tenant_name }}
 
29
admin_user = {{ admin_user }}
 
30
admin_password = {{ admin_password }}
 
31
{% endif -%}
 
32
 
 
33
[filter:extensions]
 
34
paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory
 
35
 
 
36
[app:quantumversions]
 
37
paste.app_factory = quantum.api.versions:Versions.factory
 
38
 
 
39
[app:quantumapiapp_v2_0]
 
40
paste.app_factory = quantum.api.v2.router:APIRouter.factory