summaryrefslogtreecommitdiffstats
path: root/testapi/etc
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26set debug=False to prevent useless tracebacksSerenaFeng1-1/+1
Change-Id: Ide0e00e3aa6ee4a484fd9d1b7c9bc52b598267ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-20allow authentication to be disabledSerenaFeng1-1/+2
in local deployment situation, authentication can be disabled by setting authenticate=False of ui section in config.ini JIRA: RELENG-324 Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-06hide cas ticket from web portalSerenaFeng1-0/+2
In the previous implementation, when login the url will shown as: http://localhost:8000/?ticket=ST-5WzYs6SD2A#/ this patch aims to hide the ticket mechanism. 1) add /api/v1/auth/signin_return to process login verify 2) refactor code, leverage SignBaseHanlder() to manage casclient Change-Id: I62e23eb69ee52304c30753e861b4f0a4e0d45541 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04bugfix: leverage data_files to stop hacking setup.pySerenaFeng1-0/+3
1) leverage data_files to distribute ui related files, and dispatch them under /usr/local/share/opnfv_testapi 2) delete hacking coding, no more extra processes 3) utilize MANIFEST.in to include 3rd_party when producing a source distribution Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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>