summaryrefslogtreecommitdiffstats
path: root/utils/test/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
commitf0c991c665f57b2344a6b8ed23ff62d44612fc19 (patch)
treee92c5f179ba782dd3de1816aff6a2c22fc863c1a /utils/test/result_collection_api/config.ini
parentcdc94124b5a759f0461e2400af096e08a26c88d1 (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 'utils/test/result_collection_api/config.ini')
-rw-r--r--utils/test/result_collection_api/config.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/config.ini b/utils/test/result_collection_api/config.ini
new file mode 100644
index 000000000..e00b56c5f
--- /dev/null
+++ b/utils/test/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