summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/etc
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2017-02-16 13:22:05 +0530
committerRohit Sakala <rohitsakala@gmail.com>2017-02-21 19:32:25 +0000
commit914c2788ae0f240c1a7a4e060213c531a602d6c7 (patch)
tree1dc2bd078345ade2f65dd2fbd1f7b06d46a9b1ad /utils/test/testapi/etc
parentbf3316238f541feb41b259b7e32c279433a7daee (diff)
Add token based authentication for post/update/delete
As the mongodb database is not so secure today, this has been added. The token is stored in the mongoDB database. For now, authenticate variable is set false so that there would be no problem in accessing the databse by jenkins jobs. JIRA: FUNCTEST-730 Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
Diffstat (limited to 'utils/test/testapi/etc')
-rw-r--r--utils/test/testapi/etc/config.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/test/testapi/etc/config.ini b/utils/test/testapi/etc/config.ini
index 0edb73a3f..77cc6c6ee 100644
--- a/utils/test/testapi/etc/config.ini
+++ b/utils/test/testapi/etc/config.ini
@@ -11,6 +11,7 @@ dbname = test_results_collection
port = 8000
# With debug_on set to true, error traces will be shown in HTTP responses
debug = True
+authenticate = False
[swagger]
base_url = http://localhost:8000