summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/resources
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15support keys start with '$' or contain '.' in testAPISerenaFeng1-4/+6
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-15delete creation_date of results in testAPISerenaFeng1-1/+2
check if it is results collection when assign creation_date JIRA: FUNCTEST-314 Change-Id: I8e70aa67a39560bdf337f6b0017d2aa8c7c48176 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-06add unittest for 'last' query of results in testAPISerenaFeng1-2/+2
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-06refactor int query parameter process in testAPISerenaFeng1-8/+9
add method GenericResultHandler.get_int() refactor GenericResultHandler.set_query() & ResultsCLHandler.get() JIRA: FUNCTEST-294 Change-Id: I44636983af7784a5b2863427abc0895e89cfa83c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-04Merge "test APi evolution add filter to retrieve last results"Morgan Richomme2-3/+18
2016-06-04Merge "support 'GET /dashboard/v1/projects' REST api in testAPI"Morgan Richomme1-2/+13
2016-06-04test APi evolution add filter to retrieve last resultsSerenaFeng2-3/+18
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-04support 'GET /dashboard/v1/projects' REST api in testAPISerenaFeng1-2/+13
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-03support GET /api/v1/results in testAPISerenaFeng1-2/+2
change require flag of project&case to False JIRA: FUNCTEST-291 Change-Id: Idc165cc4d5950cd7f7313a1e19f013933a5d4a9a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-02add copyright to files in testAPISerenaFeng9-6/+73
add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01change the usage of tornado_swagger packageSerenaFeng11-11/+11
changes: move tornado_swagger package out of tornado_swagger_ui remove tornado_swagger_ui modify files that import tornado_swagger originally: opnfv_testapi.tornado_swagger_ui.tornado_swagger to: opnfv_testapi.tornado_swagger modify setup.cfg to delete tornado_swagger_ui prefix JIRA: FUNCTEST-286 Change-Id: I1e8972e4fbe26ad3a5d945f3aed6783d0b666a5f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01project-ize testAPISerenaFeng12-0/+1268
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>