Age | Commit message (Collapse) | Author | Files | Lines |
|
Before submitting a patch, we need to execute flake8, unittest,
open coverage report, now with the help of tox any pytest,
we can process them all with only one command.
pytest is choosen here is because of its useful assert showcase,
and powerful properties and healthy ecosystem(plugins of mock etc)
Change-Id: I7ee89da370da08cc2bc70f7d3b1e2741d7d2e1e8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
There are too many parameters when starting TestAPI container,
it will confuse the user. I learned that docker containers like
Jenkins and mongo the internal port is fixed, the user only need
to change the exposed port, so the same strategy is adopted here
Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
Change-Id: Idc09d3461ee5af09625aba3cf2219b64318145c8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Projects has been choosen as an helper to test token success,invalid and
unauthorized
JIRA: FUNCTEST-739
Change-Id: Iecc68821f5cc85630c17e54144723cc6f5e21ded
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
As the mongodb database is not so secure today, this has been added.
The token is stored in the mongoDB database. For now, authenticate variable is set
false so that there would be no problem in accessing the databse by jenkins
jobs.
JIRA: FUNCTEST-730
Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
TestAPI violate import rule of OpenStack Style a lot, like
Do not import objects, only modules
Do not import more than one module per line
Alphabetically order your imports by the full module path
This patch is mean to fix them.
Change-Id: Ia05b944a74b3f443c9101a9840f613f9a6f5ae49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Also added animations and actions pertaining
to index and search_results page.
Change-Id: If3966991f165626ca2b13a4ac62af6a777a22903
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
|
|
|
|
JIRA: RELENG-163
Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Include HEALTHCHECK Tier in the reporting
Change-Id: I4a5a8aeb7564ca35c9199c7925ac344b43270d87
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Changed port from 8711 to 8082 and auto to test in url. There are 3
successful builds.
https://build.opnfv.org/ci/job/testapi-automate-master/
Change-Id: I099b026eb22c7d95d8bf7345837e7c2234ef571d
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|
|
Change-Id: I45cedac46f06e6e1f080dd3bc38d6f79eec37fa6
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
|
|
JIRA: RELENG-163
Change-Id: I137898dc84de5f8cb6cab5de9b4ac5de5e4bb978
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
The url is being changed to auto because the auto testresults website is
updated and the api-docs should be in sync with the testresults website.
Note - The auto testresults is created temporarily.
Change-Id: If2428511c46183bd57b1a466fbdd04786528b103
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
- new param to exclude or not results from virtual PODs
- new param to exclude or not noha results
- fix path
- add rally_sanity in black list until we fixed the format issue
Change-Id: Ie952f7d6968a322edbcf2effffbc1a75beddc52f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Helper scripts to migrate schema for the mysql database.
Change-Id: Id598c398318967a117a4dbaa3dc21eab22b24d68
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
|
|
Change-Id: Idc5184c3e98bff5297afe18c5e8e25e91490b767
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
|
|
|
|
bugfix to :-
https://build.opnfv.org/ci/job/testapi-verify-master/22/console
Change-Id: I0eaa730aed68ce11b9095c2810c223a0519ffcde
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|
|
|
|
Modified existing bash script to enable code coverage report in jenkins
job. Removed test-requirements.txt.
JIRA: FUNCTEST-703
Change-Id: I7ea6b5c87ce7d098dcb0c74ed195db0f6c3b9692
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
This is being done because titles have become so long in index of
documentation [0] that they don't fit in one line.
[0] http://artifacts.opnfv.org/releng/docs/testapi.html
JIRA: FUNCTEST-704
Change-Id: I046a21d7ceac6dc203ac71d169d4303095bdc69c
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
Removing those builders as it is unnecessary to start and finish server
instead calling testresults.opnfv.org for specs.
JIRA: FUNCTEST-705
Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
|
|
|
|
Jenkins job gives success even if swagger codegen fails, so added appropriate
code to make jenkins build fail if swagger codegen fails.
Change-Id: Ia8e61a7b37531ecfa16c7fd60bf8101d6da9fc5f
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
supported queries: scenario name/version/installer/project
JIRA: RELENG-163
Change-Id: I3f6ea6e3c81edff30569918e0789e8c1e693b9fc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
not used in Colorado
angular framework (landing page) could be used for Danube
Change-Id: I86ded631b4c5b78260bd03b376bf6264dabc2f89
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
bugfix [Errno 2] No such file or directory:
'/usr/local/lib/python2.7/dist-packages/opnfv_testapi/tornado_swagger/static/index.html'
Change-Id: Id1cad9a34a3a0331a2f8a0c27c2fa54ca40c7bd6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Iecd20b69f7a3abf04a34d4ee7e9c94f1a039d8b1
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
JIRA: RELENG-163
Change-Id: Id715a2e5de1022cfd0a745505771d250935541bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
Change-Id: Ie9d6d5e351e5d673252f08ed304d4fef96a1e00b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: RELENG-163
Change-Id: I36a51022c087621d9539dc40f7d9acee4db95dfb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
Right now, only builder for creating testapi doc is included
JIRA: FUNCTEST-664
Change-Id: If0a34154084c1d01ed6b997d2226779da43bcb14
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
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>
|
|
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>
|
|
Ref :- https://openstack.nimeyo.com/87286/openstack-packaging-all-definition-data-files-config-setup
Change-Id: I2519d3930bfeb4d22f92623dcc7ac88e2980b132
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
|
|
Change-Id: I101283cb118416823a4d1c77b3de6d7882135f1e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
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>
|