From d30f7afdd2d39302174a788e9e008feb61b25596 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 18 Oct 2016 17:30:31 +0800 Subject: rename result_collection_api to testapi Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng --- utils/test/testapi/etc/config.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 utils/test/testapi/etc/config.ini (limited to 'utils/test/testapi/etc') diff --git a/utils/test/testapi/etc/config.ini b/utils/test/testapi/etc/config.ini new file mode 100644 index 000000000..0edb73a3f --- /dev/null +++ b/utils/test/testapi/etc/config.ini @@ -0,0 +1,16 @@ +# 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 + +[swagger] +base_url = http://localhost:8000 -- cgit 1.2.3-korg