Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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>
|
|
remove not used 'import copy' in test_result.py
JIRA: FUNCTEST-293
Change-Id: I6c8db5674e6dd9770cd859c74d43bd5b9440544a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
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>
|
|
change require flag of project&case to False
JIRA: FUNCTEST-291
Change-Id: Idc165cc4d5950cd7f7313a1e19f013933a5d4a9a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
add README.md file in tornado_swagger package
JIRA: FUNCTEST-290
Change-Id: I0ba306f0e5dfb576b34959f054e1c9cc61079039
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
add copyright head to new created files
JIRA: FUNCTEST-289
Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
remove unittest test_createSameResults in test_results.py
JIRA: FUNCTEST-288
Change-Id: I5c1e8eb6c09a5ced1a6cdd380e9c37961136e6d2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
delete extra 'b' in the clase name
JIRA: FUNCTEST-287
Change-Id: I4189182ec93425e16d1b56b440f001f72a3c5f2a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
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>
|
|
and eliminate flake8 violation
JIRA: FUNCTEST-285
Change-Id: I15b568a97279032549f24ff81520220e271f3488
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-284
Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-281
Change-Id: I3d0bdc302afc45593ad3feaec21b89d5c6eeaa0b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
trust_indicator must be int/long/float rather than string
JIRA: FUNCTEST-280
Change-Id: I2e2b292f9181fd28896bfe1e3b86ec3976b65016
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
JIRA: FUNCTEST-278
Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
and forget to swagger-ize TestResult model
JIRA: FUNCTEST-277
Change-Id: I5d8ddd9983484a61df9b77392d5ae24bde6a16dc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-276
Change-Id: I2e40e12bc5b472aae88d294fb11dc479d5dd538c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-274
Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-273
Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-270
Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace
JIRA: FUNCTEST-266
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
rename pod_handler.py to pod_handlers.py
JIRA: FUNCTEST-264
Change-Id: I8699999776bdb238f680a128b83cea0a098534c5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-263
Change-Id: I293e05f565f882ea39bbf6368405f10241269716
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
JIRA: FUNCTEST-262
Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
version - /versions
api - /api/v1/pods(projects/results)
dashboard - /dashboard/v1/results
I tried to make the code smart, but in vain, sad......
JIRA: FUNCTEST-261
Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
its response"
|
|
modification:
add unittests for test result/dashboard
rename test_results table name in db to results
refactor response body
JIRA: FUNCTEST-255
Change-Id: I0657e6e95156a8c79072e7333fd8aaeb12d986e5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-259
Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: Ifc0cc69a7b275248ddadcc37d892bb19efc34e12
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
modification:
add unittests for testcase
refactor testcase table name in db to testcases
refactor response body
fix some bugs
JIRA:FUNCTEST-254
Change-Id: Ia7c7101fa742af82bfc8c4a3d398a7dad601bca1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
post body: {'href':'<http://ip:8000/pods/pod_name >'}
get body: Pod/Project
list body: list of Pod/Project
update body: Pod/Project
delete: no body
JIRA: FUNCTEST-253
Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
unittest for create/get/list pod in testAPI project
JIRA: FUNCTEST-252
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: If855e03df16d4786af6274c5b9c234fbef480278
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
usage is shown in utils/test/result_collection_api/README.md
JIRA: FUNCTEST-251
Change-Id: I788417e296c153cc485f4a4064697bdafc394e5b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
methods in model
query: GET /item?property1=1&property2=1
methods in model:
@swagger.model()
class Item:
def format_http(self):
pass
@staticmethod
def item_from_dict(item_dict):
pass
@classmethod
def test_classmethod(cls):
pass
JIRA: FUNCTEST-250
Change-Id: I12f937c4d2f64f93dc1194a8ad982e8b7ff21b7c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
list property will be declared in format
'@ptype property4: C{list} of L{PropertySubclass}'
JIRA: FUNCTEST-248
Change-Id: I3ee31389f1eab39cc9f621cbab006f0a8764c8ca
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
this code will be applied to testApi later, as regards how to use it,
please refer utils/test/result_collection_api/tornado_swagger_ui/README.md
JIRA: FUNCTEST-247
Change-Id: Ie40e125846add7ceda15f05a38232dc8813b8f29
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-165
Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-207
Change-Id: I04892271008a8a7130dbaf39757ab3039167602e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
scenario will be used for OPNFV scenario (currently using version field)
criteria will be passed or failed to give an immediate feedback on the test result status
JIRA: FUNCTEST-151
Change-Id: Iff5eb66bbf0cfbaafec0c3a6211031f6eb83c34f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|