summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/resources/result_handlers.py
AgeCommit message (Collapse)AuthorFilesLines
2016-07-06Merge "Add a put result method to modify trust_indicator"Morgan Richomme1-3/+19
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng1-3/+19
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-01correct swagger description of last in testAPISerenaFeng1-1/+1
last days => last records stored until now JIRA: FUNCTEST-341 Change-Id: I59e7b73e0a5c575d65cd0aced99fc53c13906709 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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-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-04test APi evolution add filter to retrieve last resultsSerenaFeng1-2/+13
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-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 testAPISerenaFeng1-0/+8
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 packageSerenaFeng1-1/+1
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 testAPISerenaFeng1-0/+162
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>