summaryrefslogtreecommitdiffstats
path: root/result_collection_api/config.ini
diff options
context:
space:
mode:
authorGuy Rodrigue Koffi <koffirodrigue@gmail.com>2015-09-05 06:54:21 +0200
committerGuy Rodrigue Koffi <koffirodrigue@gmail.com>2015-09-07 17:34:53 +0200
commitc052f8d19b45846cbb5d6c463a200478cef27f4d (patch)
treedca318104d3c5179d2c84fa7c667eeea00fd2967 /result_collection_api/config.ini
parent8d3001573dd51a3cbdc7c46b5b35f5f6812761ab (diff)
Add external config support to result_collection_api
JIRA : RELENG-7 Change-Id: I2b68aac3e903b237f500bad91e3625aaf57bfdaf Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
Diffstat (limited to 'result_collection_api/config.ini')
-rw-r--r--result_collection_api/config.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/result_collection_api/config.ini b/result_collection_api/config.ini
new file mode 100644
index 0000000..e00b56c
--- /dev/null
+++ b/result_collection_api/config.ini
@@ -0,0 +1,10 @@
+[mongo]
+# URL of the mongo DB
+# Mongo auth url => mongodb://user1:pwd1@host1/?authSource=db1
+url = mongodb://127.0.0.1:27017/test_results_collection
+
+[api]
+# Listening port
+port = 80
+# With debug_on set to true, error traces will be shown in HTTP responses
+debug = True \ No newline at end of file