summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-02-19bottlenecks: rewrite the rubbos graph drawing functionMatthewLi1-1/+22
JIRA: BOTTLENECK-30 Change-Id: Iee2e177b7ddec5c0e0a765d5a7369ec76e6ad911 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-02-12Merge "Update dashboard"Morgan Richomme11-208/+380
2016-02-12Update dashboardCloud user11-208/+380
Change-Id: I679fada5f12bd660c65d3bb006742b1119735f4c Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>
2016-02-11Add Rally summary and Doctor for visualizationMorgan Richomme3-2/+135
Change-Id: I23ff748237511f89417d2c60e22fb79949ac90b7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-05Add promise for dashboardMorgan Richomme2-0/+105
Change-Id: I70345e6aa2223cea4210ca6e01defbd1ea426c7a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-05Adapt dashboard for ONOS new result formatMorgan Richomme1-8/+80
Change-Id: I28373a74557769b78f8fc0ee1381172db6036eef Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-01Add ONOS and ODL in dashboardMorgan Richomme1-3/+53
see http://testresults.opnfv.org/proto/index2.html Change-Id: I38a1bcd0a16cbbc84be03f1abc29d39e32950e99 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-28Add license headerFatih Degirmenci2-2/+9
License headers are added. - Set company name based on the author who created the file first time - Add SPDX header for Apache 2.0 Change-Id: I8f357a2d6f75179171c681f4b53e0f4249eca5a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-28Add light dashboardCloud user4-0/+224
Change-Id: I61c2e38b91085d9d6c5f8d5f8a52863bec8aacd6 Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>
2016-01-27Merge "bad text for vIMS case"Morgan Richomme1-2/+1
2016-01-27bad text for vIMS caseMorgan Richomme1-2/+1
Change-Id: Ia75882b6ebf323ac07d06148a2e24122fc79ff57 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-25qtip: update DB addressMofassirArif1-2/+2
Change-Id: Ib3a92a28102c32db34edd625486d4fff8434d609 Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-20Adapt dashboard to a second vPing scenarioMorgan Richomme1-1/+37
Change-Id: Ic1d3b6479b1afdbc1cd42536fba65dd3410b8614 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-19add qtip for dashboardMorgan Richomme1-0/+2
Change-Id: I592d0b1349c418e39653628bb3701062ceaf2644 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>