summaryrefslogtreecommitdiffstats
path: root/utils/test
AgeCommit message (Collapse)AuthorFilesLines
2017-01-12Merge "Add Daisy for reporting"Morgan Richomme4-0/+4
2017-01-10Add Daisy for reportingMorgan Richomme4-0/+4
Change-Id: Ie9d6d5e351e5d673252f08ed304d4fef96a1e00b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-09add scenario models and frameworkSerenaFeng6-3/+157
JIRA: RELENG-163 Change-Id: I36a51022c087621d9539dc40f7d9acee4db95dfb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-05Merge "Create Jenkins Job for testapi automation"Serena Feng4-0/+121
2017-01-04Merge "Create Test Reporting landing page"Morgan Richomme47-1/+20488
2017-01-04Create Jenkins Job for testapi automationrohitsakala4-0/+121
Right now, only builder for creating testapi doc is included JIRA: FUNCTEST-664 Change-Id: If0a34154084c1d01ed6b997d2226779da43bcb14 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-04Update nicknames in swagger specrohitsakala5-18/+18
Swagger codegen uses nicknames for defining titles in the api documentation. Link - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: Ia35718b77dfcac53317384c4445225f28e505919 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-12-30Create Test Reporting landing pagechenjiankun47-1/+20488
JIRA: RELENG-165 In this patch, I do the follow things: 1.deploy tornado server(currently I haven't write any backend code, since the backend code depend on the testapi and I need to communicate with Serena). 2.landing page code(almostly finished. But I haven't the data, so for now, the data this page shows is a mock json. When the testapi and my backend code ready, this page will finally finished) 3.deployment: supervisor + nginx + tornado + angular usage: docker run -itd -p 8000:8000 opnfv/reporting:<tag> visit landing page: http://server_ip:8000/reporting/index.html test api: http://server_ip:8000/landing-page/filters visit old reporting page: http://server_ip:8000/display/master/yardstick/status-apex.html Change-Id: I527ab2661ce9e84b2942ebe673afbf5f2bc7878f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-29Fix installation of testapi in virtualenvrohitsakala1-3/+11
Ref :- https://openstack.nimeyo.com/87286/openstack-packaging-all-definition-data-files-config-setup Change-Id: I2519d3930bfeb4d22f92623dcc7ac88e2980b132 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-12-26correct swagger model of TestAPISerenaFeng2-1/+2
Change-Id: I101283cb118416823a4d1c77b3de6d7882135f1e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-23bugfix: access results failed of Test APISerenaFeng2-5/+8
File "/Users/fengxiaowei/opnfv/releng/utils/test/testapi/venv/lib/python2.7/site-packages/opnfv_testapi/resources/models.py", line 47, in format_http return self._format([]) File "/Users/fengxiaowei/opnfv/releng/utils/test/testapi/venv/lib/python2.7/site-packages/opnfv_testapi/resources/models.py", line 37, in _format hs.append(h.format()) AttributeError: 'dict' object has no attribute 'format' JIRA: FUNCTEST-676 Change-Id: I9d8d8a31e5580be51fb690628a03d452742f12d4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20Merge "Add SNAPS for reporting"Jose Lausuch1-15/+21
2016-12-20Merge "delete useless file dashboard.tar.gz"Jose Lausuch1-0/+0
2016-12-20delete useless file dashboard.tar.gzSerenaFeng1-0/+0
Change-Id: I04a91d12885d6a832899d1241845e8f17c94dde1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20simplify model process of TestAPISerenaFeng5-361/+107
JIRA: FUNCTEST-671 Change-Id: I8a398f04f2d12c880ec0803aa56c2645dc673523 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-18Add SNAPS for reportingMorgan Richomme1-15/+21
Change-Id: If61bbd435cd9858924e850bcc959f9596579c205 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-16Bugfix: reporting docker image build failedchenjiankun4-12/+13
JIRA: RELENG-181 Since we just decide to use dynamic server, we need to deploy a dynamic server such as tornado . But when I use the Dockerfile to build image, it failed due to some reasons. So I need fix it first and then deploy the dynamic server. Then we can use this command: docker run -it -d -p 8080:80 opnfv/releng:latest And visit reporting page by http://server_ip:8080/display/... Change-Id: Id04575c7b38e4c07625ce217d23ebca1c5bf0191 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-14automatic deploy a wholeset of TestAPI ecosystemSerenaFeng2-0/+55
deploy.py is used to deploy a wholeset of TestAPI ecosystem, including TestAPI container & mongo container. docker-compose.yml.template will be used in deploy.py to render out docker-compose.yml JIRA: FUNCTEST-655 Change-Id: I9b070783ef23aeadbe5e9be1e655072e18954ff9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-09Update testcase model for Test DBMorgan Richomme1-4/+84
JIRA: FUNCTEST-587 Change-Id: I8473cf5df181197a16920f507aff2a5c00dc332e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-30Add parameters in init functionrohitsakala1-1/+2
Change-Id: I8ce5219251ff21f2cf3a554d275b4d2584d70e0b Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-11-28bug Fix: adapt reporting to merge of smoke+sdn tiersMorgan Richomme1-4/+4
Change-Id: I74d9834b609797f85d52e97ccdfeab614c1c07bf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-17Merge "Correct SFC testcase match in the reporting Dashboard"Morgan Richomme1-1/+1
2016-11-17Correct SFC testcase match in the reporting Dashboardjose.lausuch1-3/+3
The test is specified as odl-sfc, but in the DB we have functest-odl-sfc. http://testresults.opnfv.org/test/api/v1/results?case_name=functest-odl-sfc Change-Id: Ie8c0ed60df3b11fc4d74c26796ae7a19d63c22b7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-17Refactor reporting dirMorgan Richomme112-611/+897
- dockerization - create util function for all the test projects - create a common config files - add unit tests - pep8 JIRA: RELENG-162 Change-Id: Ib209be4233084100ff238a7aeb2843ccc24a6f1e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-19Merge "bug fix: pdf generation"Morgan Richomme2-39/+50
2016-10-18Merge "make elastic index configurable rather than settled in code"Jose Lausuch4-14/+14
2016-10-18bug fix: pdf generationMorgan Richomme2-39/+50
Change-Id: Ic101411a991b4baac8e1683bc5cad924f85f05c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-18rename result_collection_api to testapiSerenaFeng86-1/+1
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-18make elastic index configurable rather than settled in codeSerenaFeng4-14/+14
JIRA: FUNCTEST-519 Change-Id: I4c97c01492ed47b589b0e8981dcfb431ca0838ae Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-17Merge "project-ize kibana_dashboard"Morgan Richomme15-21/+324
2016-10-17Merge "fix files with MIT or BSD licenses in testapi"Morgan Richomme29-205/+21
2016-10-17fix files with MIT or BSD licenses in testapiSerenaFeng29-205/+21
moving tornado_swagger/static/ dir under 3rd_party/ dir JIRA: RELENG-156 Change-Id: I8c15f6776a7626d5837982d5961106a120f0c7a5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-17project-ize kibana_dashboardSerenaFeng15-21/+324
JIRA: FUNCTEST-513 Change-Id: Id25dbea72b5945bc40f30c0a4b3ffe3898c3ab0b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-13Merge "rename elasticsearch index of kibana_dashboard"Serena Feng2-2/+2
2016-10-12Add d3 graph presentation to yardstick reportingchenjiankum4-30/+111
JIRA: YARDSTICK-367 Change-Id: Ifa2cca1bdfc7d94a84758019d0b1693e09b46e47 Signed-off-by: chenjiankum <chenjiankun1@huawei.com>
2016-10-12rename elasticsearch index of kibana_dashboardSerenaFeng2-2/+2
JIRA: FUNCTEST-508 Change-Id: I3c12d76438fd55922ece62aa5ab98cbf03a7facd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-12Merge "visualize qpi using kibana_dashboard"Serena Feng5-2/+99
2016-10-11Merge "always config conf.js in kibana_dashboard"Morgan Richomme3-16/+9
2016-10-11visualize qpi using kibana_dashboardSerenaFeng5-2/+99
JIRA: QTIP-122 Change-Id: Ice29c0a841e911b23959c91322331c5a66281be5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "Add export functions to reporting"Morgan Richomme3-8/+123
2016-10-11always config conf.js in kibana_dashboardSerenaFeng3-16/+9
JIRA: FUNCTEST-507 Change-Id: Iad6000ccc94285bd8be03939eb2e83d7f254a887 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "refactor dashboard_construct"Serena Feng4-124/+123
2016-10-10refactor dashboard_constructSerenaFeng4-124/+123
JIRA: FUNCTEST-506 Change-Id: Ib80e35140ce4f759749a932ca3b8b49572378d79 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-10Add export functions to reportingMorgan Richomme3-8/+123
JIRA: FUNCTEST-486 Change-Id: I84ad52f12097bbc5976c754d28ebc76d49b1eff2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-10Merge "separate visualization building from dashboard building"Serena Feng7-173/+225
2016-10-10separate visualization building from dashboard buildingSerenaFeng7-173/+225
JIRA: RELENG-155 Change-Id: I19355898d5dc5ef73fcfe4ebaf4604c4bf1e8f10 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-09refactor _verify_documentSerenaFeng1-86/+71
JIRA: FUNCTEST-505 Change-Id: I284c3e09b295c083300fa8a557bdb8178ded1521 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-06create nice reporting landing pagesMorgan Richomme69-0/+8811
Change-Id: I91f897f7be9112e8abc71069bff2882a75bc40cf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-05Merge "use template to build Kibana dashboard"Morgan Richomme2-89/+100
2016-10-05Merge "Add dots in trend line"Morgan Richomme2-0/+13