support pagination in TestAPI
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 20 Jun 2017 09:40:38 +0000 (17:40 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 20 Jun 2017 09:45:42 +0000 (17:45 +0800)
commitb87da1f862c1966dba0c60cb5368b86bb698104e
tree5254e00c8185233327c688c6539b196ac5bd87f5
parentc9cb0fd7d6b7f3736f94b0eebb517f248b8e670e
support pagination in TestAPI

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>
testapi/3rd_party/static/testapi-ui/components/results/resultsController.js
testapi/etc/config.ini
testapi/opnfv_testapi/common/config.py
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/resources/result_handlers.py
testapi/opnfv_testapi/tests/unit/fake_pymongo.py