summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/resources/handlers.py
AgeCommit message (Collapse)AuthorFilesLines
2016-06-01project-ize testAPISerenaFeng1-230/+0
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: version return body is inconsistent with the designed modelSerenaFeng1-2/+3
JIRA: FUNCTEST-278 Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30eliminate flake8 violation of testAPISerenaFeng1-1/+1
JIRA: FUNCTEST-274 Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30swagger-ize dashboard and version apis of testAPISerenaFeng1-130/+52
JIRA: FUNCTEST-273 Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-29swagger-ize result-apis of testAPISerenaFeng1-174/+14
JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-27swagger-ize testcase-apis of testAPISerenaFeng1-160/+68
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace JIRA: FUNCTEST-266 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize project-apis of testAPISerenaFeng1-161/+43
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 testAPISerenaFeng1-79/+28
JIRA: FUNCTEST-263 Change-Id: I293e05f565f882ea39bbf6368405f10241269716 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme1-2/+2
2016-05-26attach version number to url in testAPISerenaFeng1-2/+2
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 Richomme1-3/+0
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng1-170/+125
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-20add unittests for testcase and refactor testcase related implementationSerenaFeng1-106/+89
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 responseSerenaFeng1-87/+81
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-18add pod related unittests in testAPISerenaFeng1-1/+2
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-04-29Add trust indicator fieldMorgan Richomme1-0/+6
JIRA: FUNCTEST-165 Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085 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 Richomme1-0/+10
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-02-26Add jenkins build tag into result apiboucherv1-0/+5
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-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>
2015-11-19add vIMS for dahsboardMorgan Richomme1-5/+16
JIRA: FUNCTEST-64 Change-Id: I344c3a882d64acdcd310decf015f234964faeb5a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-19add dashboard method to test result collection APIMorgan Richomme1-0/+134
+ add new fields in pod section JIRA: RELENG-45 Change-Id: I8e833207b7014d7fd07769af415a4892b9e9d924 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-14Do not check key in json fileMorgan Richomme1-1/+2
to avoid warning due to . in key in Rally reports JIRA: RELENG-47 Change-Id: I204714311b9838ec09086950504046be7a29339d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-08Updates for result_collection_apiGuy Rodrigue Koffi1-15/+105
- pod identification : RELENG-33 - add filters on results : RELENG-32 / RELENG-31 - fix bugs on db connection Change-Id: Ie720bb8028e5bfabd914c57df323b81d40c47fcd Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-09-16fix POD id type in APIMorgan Richomme1-1/+1
the pod_id are defined as int but the APi sent a string, then the API was not working well when filtering on pod_id we may discuss if a string description would not be more explicit than an id JIRA: RELENG-7 Change-Id: Ib53263f379047bc4214926f966e40e797e42314e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-09-02Fix minor bugs for result_collection_apigrkoffi1-21/+20
JIRA : RELENG-7 Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4 Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-08-25Update result_collection_apigrkoffi1-0/+542
Fix lines length regarding pep8. Add new handlers for cases and results and HTTP methods to projects. JIRA : RELENG-7 Change-Id: Idc7c0868384d29f28bccc78540edfb02ae1dfbaf Signed-off-by: grkoffi <koffirodrigue@gmail.com>