diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-07-04 17:23:33 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-08-09 16:45:43 +0200 |
commit | 980523c1c5fa65b4c4a786d6ddb1ddfb70a63bc6 (patch) | |
tree | 68072820e868a4688036c2425195966167fdd8fb /reporting/api | |
parent | 5eb90d88748ee25c0d1a858167d435a9498d175c (diff) |
Initiate packetization of Testing reporting
Testing reporting provides
- static reporting pages [1] (jinja2)
- landing pages including test case catalogue [2] (angular)
It consumes the Test API to build web pages providing status for
the testing projects (so far functest, yardstick, storperf and
qtip).
Dockerization has been initiated [3]. The goal is to replace the
static page hosted on testresults.opnfv.org by a docker regenerated
and redeployed when reporting code is changed
But the docker and more generally the testing reporting directory
must be refactored to
- manage dependencies properly
- leverage tox (py27, docs, pylint, pep8)
This patch
- setups tox (py27, pep8, pylint, docs)
- integrate the requirement management
- fix pep8 errors
- introduce 1 dummy unit test
This patch does not
- fix pylint errors
- create any doc
[1]: http://testresults.opnfv.org/reporting2/display/index.html
[2]: http://testresults.opnfv.org/reporting2/reporting/index.html
[3]: https://gerrit.opnfv.org/gerrit/#/c/36735/
Change-Id: I4613de7ca7036d6c6bbb8f58ade492b1d673599b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/api')
-rw-r--r-- | reporting/api/__init__.py (renamed from reporting/api/api/__init__.py) | 0 | ||||
-rw-r--r-- | reporting/api/conf.py (renamed from reporting/api/api/conf.py) | 0 | ||||
-rw-r--r-- | reporting/api/handlers/__init__.py (renamed from reporting/api/api/handlers/__init__.py) | 0 | ||||
-rw-r--r-- | reporting/api/handlers/landing.py (renamed from reporting/api/api/handlers/landing.py) | 0 | ||||
-rw-r--r-- | reporting/api/handlers/projects.py (renamed from reporting/api/api/handlers/projects.py) | 0 | ||||
-rw-r--r-- | reporting/api/handlers/testcases.py (renamed from reporting/api/api/handlers/testcases.py) | 0 | ||||
-rw-r--r-- | reporting/api/requirements.txt | 3 | ||||
-rw-r--r-- | reporting/api/server.py (renamed from reporting/api/api/server.py) | 0 | ||||
-rw-r--r-- | reporting/api/setup.cfg | 32 | ||||
-rw-r--r-- | reporting/api/setup.py | 9 | ||||
-rw-r--r-- | reporting/api/urls.py (renamed from reporting/api/api/urls.py) | 0 |
11 files changed, 0 insertions, 44 deletions
diff --git a/reporting/api/api/__init__.py b/reporting/api/__init__.py index e69de29..e69de29 100644 --- a/reporting/api/api/__init__.py +++ b/reporting/api/__init__.py diff --git a/reporting/api/api/conf.py b/reporting/api/conf.py index 5897d4f..5897d4f 100644 --- a/reporting/api/api/conf.py +++ b/reporting/api/conf.py diff --git a/reporting/api/api/handlers/__init__.py b/reporting/api/handlers/__init__.py index bcda664..bcda664 100644 --- a/reporting/api/api/handlers/__init__.py +++ b/reporting/api/handlers/__init__.py diff --git a/reporting/api/api/handlers/landing.py b/reporting/api/handlers/landing.py index 749916f..749916f 100644 --- a/reporting/api/api/handlers/landing.py +++ b/reporting/api/handlers/landing.py diff --git a/reporting/api/api/handlers/projects.py b/reporting/api/handlers/projects.py index 02412cd..02412cd 100644 --- a/reporting/api/api/handlers/projects.py +++ b/reporting/api/handlers/projects.py diff --git a/reporting/api/api/handlers/testcases.py b/reporting/api/handlers/testcases.py index 2b91186..2b91186 100644 --- a/reporting/api/api/handlers/testcases.py +++ b/reporting/api/handlers/testcases.py diff --git a/reporting/api/requirements.txt b/reporting/api/requirements.txt deleted file mode 100644 index 12ad688..0000000 --- a/reporting/api/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -tornado==4.4.2 -requests==2.1.0 - diff --git a/reporting/api/api/server.py b/reporting/api/server.py index e340b01..e340b01 100644 --- a/reporting/api/api/server.py +++ b/reporting/api/server.py diff --git a/reporting/api/setup.cfg b/reporting/api/setup.cfg deleted file mode 100644 index 53d1092..0000000 --- a/reporting/api/setup.cfg +++ /dev/null @@ -1,32 +0,0 @@ -[metadata] -name = reporting - -author = JackChan -author-email = chenjiankun1@huawei.com - -classifier = - Environment :: opnfv - Intended Audience :: Information Technology - Intended Audience :: System Administrators - License :: OSI Approved :: Apache Software License - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - -[global] -setup-hooks = - pbr.hooks.setup_hook - -[files] -packages = - api - -[entry_points] -console_scripts = - api = api.server:main - -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 diff --git a/reporting/api/setup.py b/reporting/api/setup.py deleted file mode 100644 index d974816..0000000 --- a/reporting/api/setup.py +++ /dev/null @@ -1,9 +0,0 @@ -import setuptools - - -__author__ = 'JackChan' - - -setuptools.setup( - setup_requires=['pbr>=1.8'], - pbr=True) diff --git a/reporting/api/api/urls.py b/reporting/api/urls.py index a5228b2..a5228b2 100644 --- a/reporting/api/api/urls.py +++ b/reporting/api/urls.py |