ce13990f3b15047cf4a02a5eef4e98460a106f0b
[releng.git] / utils / test / testapi / etc / config.ini
1 # to add a new parameter in the config file,
2 # the CONF object in config.ini must be updated
3 [mongo]
4 # URL of the mongo DB
5 # Mongo auth url => mongodb://user1:pwd1@host1/?authSource=db1
6 url = mongodb://127.0.0.1:27017/
7 dbname = test_results_collection
8
9 [api]
10 # Listening port
11 url = http://testresults.opnfv.org/test/api/v1
12 port = 8000
13 # With debug_on set to true, error traces will be shown in HTTP responses
14 debug = True
15 authenticate = False
16
17 [swagger]
18 base_url = http://localhost:8000
19
20 [ui]
21 url = http://testresults.opnfv.org/test
22
23 [osid]
24
25 # OpenStackID Auth Server URI. (string value)
26 openstack_openid_endpoint = https://openstackid.org/accounts/openid2
27
28 # OpenStackID logout URI. (string value)
29 openid_logout_endpoint = https://openstackid.org/accounts/user/logout
30
31 # Interaction mode. Specifies whether Openstack Id IdP may interact
32 # with the user to determine the outcome of the request. (string
33 # value)
34 openid_mode = checkid_setup
35
36 # Protocol version. Value identifying the OpenID protocol version
37 # being used. This value should be "http://specs.openid.net/auth/2.0".
38 # (string value)
39 openid_ns = http://specs.openid.net/auth/2.0
40
41 # Return endpoint in Refstack's API. Value indicating the endpoint
42 # where the user should be returned to after signing in. Openstack Id
43 # Idp only supports HTTPS address types. (string value)
44 openid_return_to = v1/auth/signin_return
45
46 # Claimed identifier. This value must be set to
47 # "http://specs.openid.net/auth/2.0/identifier_select". or to user
48 # claimed identity (user local identifier or user owned identity [ex:
49 # custom html hosted on a owned domain set to html discover]). (string
50 # value)
51 openid_claimed_id = http://specs.openid.net/auth/2.0/identifier_select
52
53 # Alternate identifier. This value must be set to
54 # http://specs.openid.net/auth/2.0/identifier_select. (string value)
55 openid_identity = http://specs.openid.net/auth/2.0/identifier_select
56
57 # Indicates request for user attribute information. This value must be
58 # set to "http://openid.net/extensions/sreg/1.1". (string value)
59 openid_ns_sreg = http://openid.net/extensions/sreg/1.1
60
61 # Comma-separated list of field names which, if absent from the
62 # response, will prevent the Consumer from completing the registration
63 # without End User interation. The field names are those that are
64 # specified in the Response Format, with the "openid.sreg." prefix
65 # removed. Valid values include: "country", "email", "firstname",
66 # "language", "lastname" (string value)
67 openid_sreg_required = email,fullname