summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/opnfv_testapi
AgeCommit message (Collapse)AuthorFilesLines
2016-06-30delete 'description' of 'Result' in testAPISerenaFeng1-3/+0
delete description assignments JIRA: FUNCTEST-339 Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-24Merge "bugfix: correct the post response body of PODS in testAPI"Morgan Richomme2-1/+2
2016-06-24Merge "bugfix: correct the projects post response body in testAPI"Morgan Richomme1-1/+1
2016-06-24Merge "bugfix: correct the testcases post response body in testAPI"Morgan Richomme1-1/+1
2016-06-21bugfix: correct the results post response body in testAPISerenaFeng1-1/+1
change response class from Result to CreateResponse JIRA: FUNCTEST: FUNCTEST-330 Change-Id: Ibc3ebdacaa7b85e4b4a53d459888440b47073d18 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the testcases post response body in testAPISerenaFeng1-1/+1
correct response class from Testcase to CreateResponse JIRA: FUNCTEST-329 Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the projects post response body in testAPISerenaFeng1-1/+1
change response class from Project to CreateResponse JIRA: FUNCTEST-328 Change-Id: I26d05b71251417b41701136d9c6bc786ba51393c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the post response body of PODS in testAPISerenaFeng2-1/+2
mark CreateResponse as a swagger.model change response class of post pods to L{CreateResponse} JIRA: FUNCTEST-326 Change-Id: I031350bb434e26e33d55c92ace548a2ae1c82f3e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-15support keys start with '$' or contain '.' in testAPISerenaFeng5-18/+100
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-09solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPISerenaFeng4-17/+21
add swagger configuration in config.ini add swagger.docs() process in server.py add swagger configuration parse in config.py add basePath() in settings.py change 'basePath' item assignment in views.py JIRA: FUNCTEST-305 Change-Id: I049991d4d53b78755ee971021ec0ad2458f5da60 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-06Merge "remove useless method get_dashboard_cases() in testAPI"Morgan Richomme1-16/+0
2016-06-06add unittest for 'last' query of results in testAPISerenaFeng3-17/+47
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-06remove useless method get_dashboard_cases() in testAPISerenaFeng1-16/+0
remove get_dashboard_cases() method in dashboard_utils.py JIRA: FUNCTEST-295 Change-Id: Id450f3d9c2b4870a0a9da42abd536a412ac25323 signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> 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 Richomme3-3/+24
2016-06-04Merge "support 'GET /dashboard/v1/projects' REST api in testAPI"Morgan Richomme4-3/+52
2016-06-04test APi evolution add filter to retrieve last resultsSerenaFeng3-3/+24
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 testAPISerenaFeng4-3/+52
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-03Merge "add copyright to files in testAPI"Morgan Richomme28-47/+234
2016-06-02add README.md to introduce the usage of tornado_swaggerSerenaFeng1-0/+273
add README.md file in tornado_swagger package JIRA: FUNCTEST-290 Change-Id: I0ba306f0e5dfb576b34959f054e1c9cc61079039 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-02Merge "change TestVersionbBase to TestVersionBase in testAPI"Morgan Richomme1-3/+3
2016-06-02add copyright to files in testAPISerenaFeng28-47/+234
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-01change the usage of tornado_swagger packageSerenaFeng49-563/+12
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-01add router package to implement url-2-XXXHandlers mappings in testAPI projectSerenaFeng6-135/+121
and eliminate flake8 violation JIRA: FUNCTEST-285 Change-Id: I15b568a97279032549f24ff81520220e271f3488 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01project-ize testAPISerenaFeng75-0/+15952
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>