summaryrefslogtreecommitdiffstats
path: root/result_collection_api/etc/config.ini
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-01 15:36:17 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-01 16:21:46 +0800
commit59cba325d8132186d27aefa959d4bed730e4e68d (patch)
tree3407ccfc8696fde3572e7d9a5b0e8aa1918e9842 /result_collection_api/etc/config.ini
parentda342687570cd53f2bfb0e1d69db77b1ba664801 (diff)
project-ize testAPI
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/etc/config.ini')
-rw-r--r--result_collection_api/etc/config.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/result_collection_api/etc/config.ini b/result_collection_api/etc/config.ini
new file mode 100644
index 0000000..f703cc6
--- /dev/null
+++ b/result_collection_api/etc/config.ini
@@ -0,0 +1,12 @@
+# 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
+port = 8000
+# With debug_on set to true, error traces will be shown in HTTP responses
+debug = True \ No newline at end of file