summaryrefslogtreecommitdiffstats
path: root/testapi/etc
AgeCommit message (Collapse)AuthorFilesLines
2017-08-31leverage LFID as AuthenticationSerenaFeng1-45/+3
delete openid authentication add LFID authentication Change-Id: Iead144b5130bce51448024e65092fdea3bb2f07a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-26merge swagger_base_url with ui_urlSerenaFeng1-3/+0
TestAPI used to have only one webpage, which is swagger_ui, now a new one webportal is added, and the base url is the same (http://testresults.opnfv.org/test)for them both. This patch aim to unify the urls. Change-Id: I15295975fb05f7e8c8d413e12b2b5c0784f0799a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-20role based access control and result uploadgrakiss1-1/+1
1. add role for user 2. user can upload test results Change-Id: I1c5370be7818edb0394f05e8b81f975deb98b286 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-07-05bugfix: hardcoded testapi urlsSerenaFeng1-2/+2
testapi webportal's urls are fixed in configure files this patch aims to modify them according to base_url provided when bringing up container Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-06-22Merge "support pagination in TestAPI"Serena Feng1-0/+4
2017-06-20support pagination in TestAPISerenaFeng1-0/+4
In this patch, pagination is supported, so you can go through results leveraging: http://testresults.opnfv.org/test/api/v1/results?page=2 Change-Id: Ibe31c787643f27dbb06c4899e713b3c8e716e784 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-06-20make website accessible via testresults.opnfv.org/testSerenaFeng1-3/+3
Currently, testapi website can not be fully accessed through testresults.opnfv.org/test, due to http://testresults.opnfv.org/test is not a root url. In this patch leverage relative path to make it accessible Change-Id: I56983d2221791d8a060039ec829278d31ecb5048 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-18add signin web to TestAPISerenaFeng1-0/+50
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-21Add token based authentication for post/update/deleterohitsakala1-0/+1
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>
2016-10-18rename result_collection_api to testapiSerenaFeng1-0/+16
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>