summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-10-18rename result_collection_api to testapiSerenaFeng10-1256/+0
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-22Remove Brhamaputra dashboard process from testapiSerenaFeng2-98/+0
Now, ELK is the framework used for dashboarding JIRA: FUNCTEST-489 Change-Id: I51e8bc83e7309a226515f603eb4c468b7e7a69bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-14Fix security issues of eval-s in testapiSerenaFeng4-4/+10
results from security audit show risks and recommendations to fix them JIRA: RELENG-144 Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng1-0/+18
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-06Merge "Add a put result method to modify trust_indicator"Morgan Richomme3-13/+45
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng3-13/+45
update trust_indicator date model add update trust_indicator method add unittest add swagger information JIRA: FUNCTEST-309 Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-02using ProjectUpdateRequest when update projects record in testAPISerenaFeng1-2/+2
ProjectCreateRequest -> ProjectUpdateRequest JIRA: FUNCTEST-344 Change-Id: I714bef8bd6c2e98b82dfd37ee71dea56967e8552 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-15support keys start with '$' or contain '.' in testAPISerenaFeng4-14/+94
set check_keys=False in insert and update db fix update and insert stub in fake_pymongo.py add unittest for check_keys in test_fake_pymongo.py JIRA: FUNCTEST-313 Change-Id: I4051ec4a1c70996c87167643f6ea19993f5b0811 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-06add unittest for 'last' query of results in testAPISerenaFeng2-15/+45
add 'last' related unittest in test_result.py implement sort()&limit() in fake_pymongo.py refactor 'sort' model in result_handlers.py JIRA: FUNCTEST-296 Change-Id: Ib5371f1df67f170e3ba26c6da27a651e34f2b0d6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-04Merge "test APi evolution add filter to retrieve last results"Morgan Richomme1-0/+6
2016-06-04Merge "support 'GET /dashboard/v1/projects' REST api in testAPI"Morgan Richomme1-0/+20
2016-06-04test APi evolution add filter to retrieve last resultsSerenaFeng1-0/+6
add 'last' query parameter prcess in ResultsCLHandler.get() add 'sort' and 'last' parameters process in GenericApiHandler._list() add sort() and limit() fake in fake_pymongo.py JIRA: FUNCTEST-259 Change-Id: I96c1ff37325c65cf9c421f4277662dde28b1473d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-04remove not used 'import copy'SerenaFeng1-5/+4
remove not used 'import copy' in test_result.py JIRA: FUNCTEST-293 Change-Id: I6c8db5674e6dd9770cd859c74d43bd5b9440544a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-04support 'GET /dashboard/v1/projects' REST api in testAPISerenaFeng1-0/+20
add get_dashboard_projects() in dashboard_utils.py add DashboardProjectHandler in dashboard_handlers.py add router mapping in url_mappings.py add file test_dashboard_project.py to do the unittest JIRA: FUNCTEST-292 Change-Id: I51ad8dd26abbd8d43c656c8b03ff302227255d11 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-03Merge "add copyright to files in testAPI"Morgan Richomme10-13/+82
2016-06-02Merge "change TestVersionbBase to TestVersionBase in testAPI"Morgan Richomme1-3/+3
2016-06-02add copyright to files in testAPISerenaFeng10-13/+82
add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-02remove unittest test_createSameResults in testAPISerenaFeng1-9/+0
remove unittest test_createSameResults in test_results.py JIRA: FUNCTEST-288 Change-Id: I5c1e8eb6c09a5ced1a6cdd380e9c37961136e6d2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-02change TestVersionbBase to TestVersionBase in testAPISerenaFeng1-3/+3
delete extra 'b' in the clase name JIRA: FUNCTEST-287 Change-Id: I4189182ec93425e16d1b56b440f001f72a3c5f2a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01add router package to implement url-2-XXXHandlers mappings in testAPI projectSerenaFeng2-23/+4
and eliminate flake8 violation JIRA: FUNCTEST-285 Change-Id: I15b568a97279032549f24ff81520220e271f3488 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01project-ize testAPISerenaFeng11-0/+1122
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>