Refactor reporting dir 33/24433/3
authorMorgan Richomme <morgan.richomme@orange.com>
Wed, 16 Nov 2016 17:16:43 +0000 (18:16 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 17 Nov 2016 08:27:08 +0000 (09:27 +0100)
commitc850beb64083c730301188ade4cbba0f2a329a92
tree19b241b8a85c463744cff8e4e40c8b4e3764475b
parent483081b7fb0cf5d7dec5ee1d6ff0bddc387a59dc
Refactor reporting dir

- 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>
112 files changed:
utils/test/reporting/3rd_party/css/font-awesome.min.css [moved from utils/test/reporting/assets/css/font-awesome.min.css with 100% similarity]
utils/test/reporting/3rd_party/css/ie8.css [moved from utils/test/reporting/assets/css/ie8.css with 100% similarity]
utils/test/reporting/3rd_party/css/ie9.css [moved from utils/test/reporting/assets/css/ie9.css with 100% similarity]
utils/test/reporting/3rd_party/css/main.css [moved from utils/test/reporting/assets/css/main.css with 100% similarity]
utils/test/reporting/3rd_party/fonts/FontAwesome.otf [moved from utils/test/reporting/assets/fonts/FontAwesome.otf with 100% similarity]
utils/test/reporting/3rd_party/fonts/fontawesome-webfont.eot [moved from utils/test/reporting/assets/fonts/fontawesome-webfont.eot with 100% similarity]
utils/test/reporting/3rd_party/fonts/fontawesome-webfont.svg [moved from utils/test/reporting/assets/fonts/fontawesome-webfont.svg with 100% similarity]
utils/test/reporting/3rd_party/fonts/fontawesome-webfont.ttf [moved from utils/test/reporting/assets/fonts/fontawesome-webfont.ttf with 100% similarity]
utils/test/reporting/3rd_party/fonts/fontawesome-webfont.woff [moved from utils/test/reporting/assets/fonts/fontawesome-webfont.woff with 100% similarity]
utils/test/reporting/3rd_party/fonts/fontawesome-webfont.woff2 [moved from utils/test/reporting/assets/fonts/fontawesome-webfont.woff2 with 100% similarity]
utils/test/reporting/3rd_party/js/ie/html5shiv.js [moved from utils/test/reporting/assets/js/ie/html5shiv.js with 100% similarity]
utils/test/reporting/3rd_party/js/ie/respond.min.js [moved from utils/test/reporting/assets/js/ie/respond.min.js with 100% similarity]
utils/test/reporting/3rd_party/js/jquery.min.js [moved from utils/test/reporting/assets/js/jquery.min.js with 100% similarity]
utils/test/reporting/3rd_party/js/main.js [moved from utils/test/reporting/assets/js/main.js with 100% similarity]
utils/test/reporting/3rd_party/js/skel.min.js [moved from utils/test/reporting/assets/js/skel.min.js with 100% similarity]
utils/test/reporting/3rd_party/js/util.js [moved from utils/test/reporting/assets/js/util.js with 100% similarity]
utils/test/reporting/3rd_party/sass/base/_page.scss [moved from utils/test/reporting/assets/sass/base/_page.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/base/_typography.scss [moved from utils/test/reporting/assets/sass/base/_typography.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_box.scss [moved from utils/test/reporting/assets/sass/components/_box.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_button.scss [moved from utils/test/reporting/assets/sass/components/_button.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_form.scss [moved from utils/test/reporting/assets/sass/components/_form.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_icon.scss [moved from utils/test/reporting/assets/sass/components/_icon.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_image.scss [moved from utils/test/reporting/assets/sass/components/_image.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_list.scss [moved from utils/test/reporting/assets/sass/components/_list.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_section.scss [moved from utils/test/reporting/assets/sass/components/_section.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_table.scss [moved from utils/test/reporting/assets/sass/components/_table.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/components/_tiles.scss [moved from utils/test/reporting/assets/sass/components/_tiles.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/ie8.scss [moved from utils/test/reporting/assets/sass/ie8.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/ie9.scss [moved from utils/test/reporting/assets/sass/ie9.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/layout/_footer.scss [moved from utils/test/reporting/assets/sass/layout/_footer.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/layout/_header.scss [moved from utils/test/reporting/assets/sass/layout/_header.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/layout/_main.scss [moved from utils/test/reporting/assets/sass/layout/_main.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/layout/_menu.scss [moved from utils/test/reporting/assets/sass/layout/_menu.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/layout/_wrapper.scss [moved from utils/test/reporting/assets/sass/layout/_wrapper.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/libs/_functions.scss [moved from utils/test/reporting/assets/sass/libs/_functions.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/libs/_mixins.scss [moved from utils/test/reporting/assets/sass/libs/_mixins.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/libs/_skel.scss [moved from utils/test/reporting/assets/sass/libs/_skel.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/libs/_vars.scss [moved from utils/test/reporting/assets/sass/libs/_vars.scss with 100% similarity]
utils/test/reporting/3rd_party/sass/main.scss [moved from utils/test/reporting/assets/sass/main.scss with 100% similarity]
utils/test/reporting/docker/Dockerfile [new file with mode: 0644]
utils/test/reporting/docker/reporting.sh [new file with mode: 0755]
utils/test/reporting/docker/requirements.pip [new file with mode: 0644]
utils/test/reporting/functest/reporting-status.py
utils/test/reporting/functest/reporting-tempest.py
utils/test/reporting/functest/reporting-vims.py
utils/test/reporting/functest/reportingConf.py [deleted file]
utils/test/reporting/functest/reportingUtils.py [deleted file]
utils/test/reporting/functest/template/index-status-tmpl.html
utils/test/reporting/functest/template/index-tempest-tmpl.html
utils/test/reporting/functest/template/index-vims-tmpl.html
utils/test/reporting/functest/testCase.py
utils/test/reporting/html/colorado.html [moved from utils/test/reporting/colorado.html with 72% similarity]
utils/test/reporting/html/danube.html [moved from utils/test/reporting/danube.html with 72% similarity]
utils/test/reporting/html/elements.html [moved from utils/test/reporting/elements.html with 76% similarity]
utils/test/reporting/html/functest-colorado.html [moved from utils/test/reporting/functest-colorado.html with 68% similarity]
utils/test/reporting/html/functest-master.html [moved from utils/test/reporting/functest-master.html with 68% similarity]
utils/test/reporting/html/generic.html [moved from utils/test/reporting/generic.html with 83% similarity]
utils/test/reporting/html/index.html [moved from utils/test/reporting/index.html with 74% similarity]
utils/test/reporting/img/colorado.jpg [moved from utils/test/reporting/images/colorado.jpg with 100% similarity]
utils/test/reporting/img/danube.jpg [moved from utils/test/reporting/images/danube.jpg with 100% similarity]
utils/test/reporting/img/functest.jpg [moved from utils/test/reporting/images/functest.jpg with 100% similarity]
utils/test/reporting/img/functest.jpg.old [moved from utils/test/reporting/images/functest.jpg.old with 100% similarity]
utils/test/reporting/img/gauge_0.png [new file with mode: 0644]
utils/test/reporting/img/gauge_100.png [new file with mode: 0644]
utils/test/reporting/img/gauge_16.7.png [new file with mode: 0644]
utils/test/reporting/img/gauge_25.png [new file with mode: 0644]
utils/test/reporting/img/gauge_33.3.png [new file with mode: 0644]
utils/test/reporting/img/gauge_41.7.png [new file with mode: 0644]
utils/test/reporting/img/gauge_50.png [new file with mode: 0644]
utils/test/reporting/img/gauge_58.3.png [new file with mode: 0644]
utils/test/reporting/img/gauge_66.7.png [new file with mode: 0644]
utils/test/reporting/img/gauge_75.png [new file with mode: 0644]
utils/test/reporting/img/gauge_8.3.png [new file with mode: 0644]
utils/test/reporting/img/gauge_83.3.png [new file with mode: 0644]
utils/test/reporting/img/gauge_91.7.png [new file with mode: 0644]
utils/test/reporting/img/icon-nok.png [new file with mode: 0644]
utils/test/reporting/img/icon-ok.png [new file with mode: 0644]
utils/test/reporting/img/logo.svg [moved from utils/test/reporting/images/logo.svg with 100% similarity]
utils/test/reporting/img/pic01.jpg [moved from utils/test/reporting/images/pic01.jpg with 100% similarity]
utils/test/reporting/img/pic02.jpg [moved from utils/test/reporting/images/pic02.jpg with 100% similarity]
utils/test/reporting/img/pic03.jpg [moved from utils/test/reporting/images/pic03.jpg with 100% similarity]
utils/test/reporting/img/pic04.jpg [moved from utils/test/reporting/images/pic04.jpg with 100% similarity]
utils/test/reporting/img/pic05.jpg [moved from utils/test/reporting/images/pic05.jpg with 100% similarity]
utils/test/reporting/img/pic06.jpg [moved from utils/test/reporting/images/pic06.jpg with 100% similarity]
utils/test/reporting/img/pic07.jpg [moved from utils/test/reporting/images/pic07.jpg with 100% similarity]
utils/test/reporting/img/pic08.jpg [moved from utils/test/reporting/images/pic08.jpg with 100% similarity]
utils/test/reporting/img/pic09.jpg [moved from utils/test/reporting/images/pic09.jpg with 100% similarity]
utils/test/reporting/img/pic10.jpg [moved from utils/test/reporting/images/pic10.jpg with 100% similarity]
utils/test/reporting/img/pic11.jpg [moved from utils/test/reporting/images/pic11.jpg with 100% similarity]
utils/test/reporting/img/pic12.jpg [moved from utils/test/reporting/images/pic12.jpg with 100% similarity]
utils/test/reporting/img/pic13.jpg [moved from utils/test/reporting/images/pic13.jpg with 100% similarity]
utils/test/reporting/img/pic14.jpg [moved from utils/test/reporting/images/pic14.jpg with 100% similarity]
utils/test/reporting/img/pic15.jpg [moved from utils/test/reporting/images/pic15.jpg with 100% similarity]
utils/test/reporting/img/weather-clear.png [new file with mode: 0644]
utils/test/reporting/img/weather-few-clouds.png [new file with mode: 0644]
utils/test/reporting/img/weather-overcast.png [new file with mode: 0644]
utils/test/reporting/img/weather-storm.png [new file with mode: 0644]
utils/test/reporting/img/yardstick.jpg [moved from utils/test/reporting/images/yardstick.jpg with 100% similarity]
utils/test/reporting/reporting.yaml [new file with mode: 0644]
utils/test/reporting/run_unit_tests.sh [new file with mode: 0755]
utils/test/reporting/setup.py [new file with mode: 0644]
utils/test/reporting/tests/__init__.py [new file with mode: 0644]
utils/test/reporting/tests/unit/__init__.py [new file with mode: 0644]
utils/test/reporting/tests/unit/utils/__init__.py [new file with mode: 0644]
utils/test/reporting/tests/unit/utils/test_utils.py [new file with mode: 0644]
utils/test/reporting/utils/__init__.py [new file with mode: 0644]
utils/test/reporting/utils/reporting_utils.py [new file with mode: 0644]
utils/test/reporting/yardstick/reporting-status.py
utils/test/reporting/yardstick/reportingConf.py [deleted file]
utils/test/reporting/yardstick/reportingUtils.py [deleted file]
utils/test/reporting/yardstick/scenarios.py
utils/test/reporting/yardstick/template/index-status-tmpl.html