-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathapi-paste.ini.sample
More file actions
36 lines (29 loc) · 1.05 KB
/
api-paste.ini.sample
File metadata and controls
36 lines (29 loc) · 1.05 KB
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
36
[composite:bs_api]
use = egg:Paste#urlmap
/: bs_api_versions
/v1: bs_core_api_v1
[app:bs_api_versions]
paste.app_factory = billingstack.api.versions:factory
[composite:bs_core_api_v1]
use = call:billingstack.api.auth:pipeline_factory
noauth = noauthcontext faultwrapper bs_core_app_v1
keystone = authtoken keystonecontext faultwrapper bs_core_app_v1
[app:bs_core_app_v1]
paste.app_factory = billingstack.api.v1:factory
[filter:faultwrapper]
paste.filter_factory = billingstack.api.middleware.errors:FaultWrapperMiddleware.factory
[filter:noauthcontext]
paste.filter_factory = billingstack.api.auth:NoAuthContextMiddleware.factory
#[filter:keystonecontext]
#paste.filter_factory = billingstack.api.auth:KeystoneContextMiddleware.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = 127.0.0.1
service_port = 5000
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%