summaryrefslogtreecommitdiffstats
path: root/result_collection_api
AgeCommit message (Collapse)AuthorFilesLines
2016-06-01add router package to implement url-2-XXXHandlers mappings in testAPI projectSerenaFeng8-142/+125
and eliminate flake8 violation JIRA: FUNCTEST-285 Change-Id: I15b568a97279032549f24ff81520220e271f3488 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01project-ize testAPISerenaFeng85-1235/+204
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: query results failed due to wrong using periodSerenaFeng3-7/+36
JIRA: FUNCTEST-281 Change-Id: I3d0bdc302afc45593ad3feaec21b89d5c6eeaa0b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31Merge "bugfix: query results failed due to wrong using type of trust_indicator"Morgan Richomme3-6/+13
2016-05-31bugfix: query results failed due to wrong using type of trust_indicatorSerenaFeng3-6/+13
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>
2016-05-31Merge "bugfix: version return body is inconsistent with the designed model"Morgan Richomme3-10/+31
2016-05-31Merge "refactor fake_pymongo.py to eliminate repeated codes"Morgan Richomme1-15/+11
2016-05-31bugfix: version return body is inconsistent with the designed modelSerenaFeng3-10/+31
JIRA: FUNCTEST-278 Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: query results failed due to using mutable list initiationSerenaFeng6-24/+32
and forget to swagger-ize TestResult model JIRA: FUNCTEST-277 Change-Id: I5d8ddd9983484a61df9b77392d5ae24bde6a16dc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30refactor fake_pymongo.py to eliminate repeated codesSerenaFeng1-15/+11
JIRA: FUNCTEST-276 Change-Id: I2e40e12bc5b472aae88d294fb11dc479d5dd538c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30eliminate flake8 violation of testAPISerenaFeng3-15/+3
JIRA: FUNCTEST-274 Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30swagger-ize dashboard and version apis of testAPISerenaFeng10-203/+276
JIRA: FUNCTEST-273 Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-29swagger-ize result-apis of testAPISerenaFeng14-208/+189
JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-27swagger-ize testcase-apis of testAPISerenaFeng10-236/+239
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace JIRA: FUNCTEST-266 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize project-apis of testAPISerenaFeng8-215/+241
rename pod_handler.py to pod_handlers.py JIRA: FUNCTEST-264 Change-Id: I8699999776bdb238f680a128b83cea0a098534c5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize pod-apis of testAPISerenaFeng6-93/+152
JIRA: FUNCTEST-263 Change-Id: I293e05f565f882ea39bbf6368405f10241269716 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "eliminate flake8 violation in testAPI except dashboard dir"Morgan Richomme8-61/+106
2016-05-26eliminate flake8 violation in testAPI except dashboard dirSerenaFeng9-63/+109
JIRA: FUNCTEST-262 Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme9-50/+57
2016-05-26attach version number to url in testAPISerenaFeng9-50/+57
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>
2016-05-25Test API add start_date, stop_date parameters in resultsMorgan Richomme9-36/+42
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Merge "add test result/dashboard related unittests in testAPI and refactor ↵Morgan Richomme10-307/+653
its response"
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng10-307/+653
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>
2016-05-24Add pod role in pod description in the APIMorgan Richomme2-5/+15
JIRA: FUNCTEST-259 Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-23Add dependency to futures lib in READMEMorgan Richomme1-0/+1
Change-Id: Ifc0cc69a7b275248ddadcc37d892bb19efc34e12 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-20add unittests for testcase and refactor testcase related implementationSerenaFeng8-196/+404
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>
2016-05-19add unittests of project & refactor responseSerenaFeng11-316/+440
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>
2016-05-18Merge "add pod related unittests in testAPI"Morgan Richomme7-39/+250
2016-05-18add pod related unittests in testAPISerenaFeng7-39/+250
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>
2016-05-17make run_test executable in repoMorgan Richomme1-0/+0
Change-Id: If855e03df16d4786af6274c5b9c234fbef480278 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-17add unittest framework for supporting unittest in testAPISerenaFeng8-0/+259
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>
2016-05-13tornado_swagger_ui support query operation in "GET" method, and support ↵SerenaFeng7-18/+167
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>
2016-05-12support list property in tornado_swagger_uiSerenaFeng3-23/+116
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>
2016-05-11integration of tornado and swagger-uiSerenaFeng36-0/+11632
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>
2016-04-29Add trust indicator fieldMorgan Richomme2-4/+26
JIRA: FUNCTEST-165 Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-20bug fix: Rally duration not correct due to result format changeMorgan Richomme1-11/+17
JIRA: FUNCTEST-207 Change-Id: I04892271008a8a7130dbaf39757ab3039167602e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-17Add scenario and criteria field in the Test result object of the test APIMorgan Richomme2-2/+20
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>
2016-03-10reorganization of Test folder in RelengMorgan Richomme15-892/+0
Change-Id: I92b507105e820198691ab8b1c44e1011b983b849 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-09Add automated reporting for TempestMorgan Richomme2-0/+188
Change-Id: I3cc411c2d0d22a96333bf0b978ad8dd833744e8c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-03Reporting dashboard for functestboucherv3-0/+230
Change-Id: I6a5fa0c8918c0d4a98754c38f3c33238a0132a39 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-29Add tempest success rate to calculate the % of success resultsMorgan Richomme1-0/+19
Change-Id: I38c76904648253601258e5a048ea6bc53821c313 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-29Merge "fix last spaces & tab"Morgan Richomme2-3/+3
2016-02-29bug fix: installer field no more available in result objectMorgan Richomme1-0/+1
Change-Id: I3562231f88ac16179d07e9a3a855f1dc114ada6d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-26fix last spaces & tabMorgan Richomme2-3/+3
Change-Id: I15503bcdb1f5b046d2fbdb6a6b35ebbdd184fbc9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-26Merge "Add jenkins build tag into result api"Morgan Richomme2-196/+205
2016-02-26Merge "Add POD visualisation"Morgan Richomme4-35/+80
2016-02-26Add jenkins build tag into result apiboucherv2-196/+205
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 Change-Id: I336d3908d6d67ba7f995d0fc25b5404efd9b5cf5 JIRA: FUNCTEST-140 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-26Add POD visualisationCloud user4-35/+80
Change-Id: I4044c018fc3900615492a897e0c2a73348c8b0cd Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>
2016-02-23fix bug on period in Test APIMorgan Richomme1-2/+2
JIRA: RELENG-46 Change-Id: I416886e2cddf9369141d5f1f09e54e8c3dd02ed9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-22bottlenecks: fix rewrite the rubbos graph drawing functionRex Lee1-30/+25
JIRA: BOTTLENECK-30 Change-Id: Id3e4f9f375ecb9bf454e21d8be41e884c6cc4371 Signed-off-by: Rex Lee <limingjiang@huawei.com>