summaryrefslogtreecommitdiffstats
path: root/testapi/etc/config.ini
blob: 86cb0caa7c79ed49272d7678d48c0a9eb90d4340 (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
# to add a new parameter in the config file,
# the CONF object in config.ini must be updated
[mongo]
# URL of the mongo DB
# Mongo auth url => mongodb://user1:pwd1@host1/?authSource=db1
url = mongodb://127.0.0.1:27017/
dbname = test_results_collection

[api]
# Listening port
url = http://localhost:8000/api/v1
port = 8000

# Number of results for one page (integer value)
results_per_page = 20

# With debug_on set to true, error traces will be shown in HTTP responses
debug = True
token_check = False
authenticate = True

[ui]
url = http://localhost:8000

# this path should be the seem with data_files installation path
static_path = /usr/local/share/opnfv_testapi

[lfid]
# Linux Foundation cas URL
cas_url = https://identity.linuxfoundation.org/cas/
#service url used to authenticate to cas
signin_return = api/v1/auth/signin_return