SerenaFeng [Fri, 19 May 2017 08:24:45 +0000 (16:24 +0800)]
support cancel operation while signing in
support the cancel operation in the
https://openstackid.org/accounts/user/consent
Change-Id: I06a1f130a3115774f2e88fc25dad522a7cf53e36
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Sat, 20 May 2017 07:30:09 +0000 (07:30 +0000)]
Merge "add signout funcationality"
SerenaFeng [Fri, 19 May 2017 07:18:34 +0000 (15:18 +0800)]
bugfix: extra fields are added when push results
extra fields like 'carriers' & 'miss_checks' 'db_key'
are added when pushing result to TestDB
Change-Id: Ic8d0751bca14b3b3260df42c0f4f07456c9d5e05
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 19 May 2017 06:50:17 +0000 (14:50 +0800)]
add signout funcationality
Change-Id: Ie101f07f0eb406eee4e1c7daa14b07aaaf554904
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 18 May 2017 12:06:26 +0000 (20:06 +0800)]
support showing user's specified contents after signin
Change-Id: Ia8897860757a2395873ff6972a508c38d7139854
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 17 May 2017 10:31:26 +0000 (18:31 +0800)]
add signin web to TestAPI
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 12 May 2017 11:42:41 +0000 (19:42 +0800)]
add missing dist files ignored by .gitignore
Change-Id: Ib29cb5887abb317012d83fb77dcf30e07099a479
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 12 May 2017 10:33:00 +0000 (18:33 +0800)]
refactor static_path to accomodate web portal
move tornado_swagger/static to opnfv_testapi/static
move swagger related 3rd libs to 3rd_party/swagger
Change-Id: I32bba10584c99d13687b93f32577e37581db0c63
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Wed, 17 May 2017 06:43:34 +0000 (06:43 +0000)]
Merge "bugfix: /resources.json and /APIs cannot be accessed"
SerenaFeng [Tue, 16 May 2017 09:52:44 +0000 (17:52 +0800)]
bugfix: /resources.json and /APIs cannot be accessed
1. change the join way of discover_url
2. limit tornado version not to use latest 4.5
Change-Id: I39dfd3b32bf232a7c144087bc9d5f88fb6798ee7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 12 May 2017 09:02:35 +0000 (17:02 +0800)]
refactor config parser to facilitate adding new configs
refactor hardcoded config.py to facilitate adding new
configurations come along with web portal and Authentication
features
Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Fri, 12 May 2017 06:26:03 +0000 (06:26 +0000)]
Merge "add web portal framework for TestAPI"
Morgan Richomme [Fri, 12 May 2017 06:25:22 +0000 (06:25 +0000)]
Merge "big fixes: wrong path"
SerenaFeng [Thu, 11 May 2017 17:49:57 +0000 (01:49 +0800)]
add web portal framework for TestAPI
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 10 May 2017 02:59:40 +0000 (10:59 +0800)]
clarify schema base on swagger1.2 specification
Change-Id: I98e165ae943b54d6a38783f2a3822d381c247ee4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Thu, 11 May 2017 10:27:10 +0000 (10:27 +0000)]
Merge "leverage tornado framework to simply impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:26:59 +0000 (10:26 +0000)]
Merge "correct the import impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:26:35 +0000 (10:26 +0000)]
Merge "change swagger urls based on v1.2 specification"
Morgan Richomme [Thu, 11 May 2017 09:26:00 +0000 (11:26 +0200)]
big fixes: wrong path
- remove link to daisy for storperf results
- fix yardstick installer page links
Change-Id: Idae2163862c681db05cfc24c5c29eaea793d3c88
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Wed, 10 May 2017 13:59:26 +0000 (13:59 +0000)]
Merge "Bug Fixes: remove Db name + path"
Morgan Richomme [Wed, 10 May 2017 13:47:24 +0000 (15:47 +0200)]
Bug Fixes: remove Db name + path
as case have been renamed in testcases.yaml
no more need or translation name/Db name
Change-Id: I0656ec478369224d44d9c3cdf0c6426f140e4029
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Wed, 10 May 2017 12:23:05 +0000 (12:23 +0000)]
Merge "add qtip reporting"
Morgan Richomme [Wed, 10 May 2017 12:16:16 +0000 (12:16 +0000)]
Merge "Add short_description field to testcase in test API"
Morgan Richomme [Tue, 9 May 2017 13:36:45 +0000 (15:36 +0200)]
Add short_description field to testcase in test API
this field will be used for the catalogue
Description may be too long - displayed in case of roll over
name is often not explicit enough for humanes
Change-Id: Ibb1f74208376c93616fc89fa10fdeecaf0f8c8fb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
SerenaFeng [Wed, 10 May 2017 06:03:38 +0000 (14:03 +0800)]
leverage tornado framework to simply impl of TestAPI
1) make better use of initialize() method
2) better naming global arguments
Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 10 May 2017 03:39:42 +0000 (11:39 +0800)]
correct the import impl of TestAPI
Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 10 May 2017 02:09:21 +0000 (10:09 +0800)]
change swagger urls based on v1.2 specification
According to swagger1.2 specification, The Swagger specification
is comprised of two file types: The Resources Listing and The
API Declaration.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md
Change-Id: I8f92897e41dbf6d4d2c3b1fe64ea6729f04cf3ad
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Fri, 5 May 2017 20:33:39 +0000 (22:33 +0200)]
Add arm support in functest reporting pages
Create different pages for installer@architectures
- x86
- aarch64
JIRA: FUNCTEST-821
Change-Id: I3c4ebba3f7969f6c1a5d04c4d5b5a63db5a3e7c2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
SerenaFeng [Mon, 17 Apr 2017 09:40:40 +0000 (17:40 +0800)]
add qtip reporting
Change-Id: Ie573486080fbd36857ff0709d53f6bdcdd43363e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Fri, 5 May 2017 05:23:59 +0000 (05:23 +0000)]
Merge "leverage executor to test_testcase.py in TestAPI"
Serena Feng [Fri, 5 May 2017 05:23:51 +0000 (05:23 +0000)]
Merge "leverage executor to test_project.py in TestAPI"
Serena Feng [Fri, 5 May 2017 05:23:34 +0000 (05:23 +0000)]
Merge "leverage executor to test_result.py in TestAPI"
Morgan Richomme [Thu, 27 Apr 2017 09:31:35 +0000 (09:31 +0000)]
Merge "leverage executor to test_token/version.py in TestAPI"
Morgan Richomme [Thu, 27 Apr 2017 09:30:15 +0000 (09:30 +0000)]
Merge changes from topics 'unittest_executor', 'import_absolute'
* changes:
impl executor and leverage to test_pod.py in TestAPI
import from absolute path in TestAPI unit
SerenaFeng [Thu, 13 Apr 2017 09:07:59 +0000 (17:07 +0800)]
leverage executor to test_token/version.py in TestAPI
Change-Id: Ia1e6b0e787d477a19c78b56ff249d544b49a087b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 13 Apr 2017 08:21:53 +0000 (16:21 +0800)]
leverage executor to test_testcase.py in TestAPI
Change-Id: I8bb7459e5dee49cd120e848ac70834c8d9665a45
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 13 Apr 2017 08:19:17 +0000 (16:19 +0800)]
leverage executor to test_result.py in TestAPI
Change-Id: Ie4388a4be0cb174129ac168530559114046680ab
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 13 Apr 2017 08:16:55 +0000 (16:16 +0800)]
leverage executor to test_project.py in TestAPI
Change-Id: I2ebc86a4c395182ca783d3d36befbed2a21f512b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Mon, 10 Apr 2017 03:03:29 +0000 (11:03 +0800)]
impl executor and leverage to test_pod.py in TestAPI
implement executor.py
leverage executor to test_pod.py
Change-Id: Ief70a28a935c86430e26f90f35112a7bab9fa81b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Mon, 10 Apr 2017 02:27:37 +0000 (10:27 +0800)]
import from absolute path in TestAPI unit
Change-Id: Ic42db22d825229713b38c75c141af7742ca65dd3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 7 Apr 2017 10:36:20 +0000 (18:36 +0800)]
unify data existence check
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 6 Apr 2017 08:59:19 +0000 (16:59 +0800)]
change not_found to forbidden when db not exist
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 5 Apr 2017 08:23:03 +0000 (16:23 +0800)]
unify error message in TestAPI
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Mon, 3 Apr 2017 06:51:05 +0000 (08:51 +0200)]
Change Danube image for reporting
to be sync with communication
Change-Id: I7747416ab73f85d979d405afd9b87d57faac2bf0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
SerenaFeng [Thu, 30 Mar 2017 07:33:19 +0000 (15:33 +0800)]
unify raise exception process
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 30 Mar 2017 06:01:30 +0000 (14:01 +0800)]
replace self-defined http codes with standard definitions
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Wed, 29 Mar 2017 16:36:56 +0000 (16:36 +0000)]
Merge "add rename scenario exceptions"
Morgan Richomme [Wed, 29 Mar 2017 14:30:42 +0000 (14:30 +0000)]
Merge "Add docker-compose files and requirements"
SerenaFeng [Wed, 29 Mar 2017 09:02:43 +0000 (17:02 +0800)]
add rename scenario exceptions
JIRA: RELENG-163
Change-Id: I680a181a3c1728034e5782de4bc65cc07f64540c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Wed, 29 Mar 2017 09:08:50 +0000 (09:08 +0000)]
Merge "keep methods' name/docstring after decorator"
Morgan Richomme [Tue, 28 Mar 2017 14:53:49 +0000 (14:53 +0000)]
Merge "Create Catalogue page"
SerenaFeng [Tue, 28 Mar 2017 06:30:49 +0000 (14:30 +0800)]
keep methods' name/docstring after decorator
applying functools.wraps() to keep the name and docstring
of the original function which is decorated
Change-Id: Id612039921566dd48f8d8797abe30f23aaf99301
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Kumar Rishabh [Mon, 27 Mar 2017 19:44:31 +0000 (01:14 +0530)]
Add docker-compose files and requirements
This adds docker-compose file to define a multi-container
vnf_catalogue service alongwith helper service to migrate the schema.
Requires docker-compose installation
To run :: docker-compose up
The webapp by default would be accessible at ip_address:3000
Change-Id: I32daf7f76fb1d82116545187395cd96535c94541
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Morgan Richomme [Mon, 27 Mar 2017 09:14:42 +0000 (11:14 +0200)]
Add and insert new project icons
Change-Id: I4334bca1ab02a5d26b84b934cb718b3753ce0a13
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
chenjiankun [Tue, 21 Mar 2017 14:48:54 +0000 (14:48 +0000)]
Create Catalogue page
JIRA: RELENG-193
1.create a page to list all project.
2.This page can get test case list of certain project.
3.This page can show information of certain test case.
Change-Id: I79e0d3aafa99c054865a0d2948b99918802f32a7
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Jose Lausuch [Thu, 23 Mar 2017 09:12:08 +0000 (09:12 +0000)]
Merge "start TestAPI in venv with no config-file"
Jose Lausuch [Thu, 23 Mar 2017 09:11:30 +0000 (09:11 +0000)]
Merge "restore setup.cfg in case submitted by mistake"
Jose Lausuch [Thu, 23 Mar 2017 09:11:01 +0000 (09:11 +0000)]
Merge "make unittest execution more user-friendly"
SerenaFeng [Thu, 23 Mar 2017 08:17:05 +0000 (16:17 +0800)]
make unittest execution more user-friendly
allow users use their existed venv
manage all test-related libs in test-requirements.txt
Change-Id: I39a63833e4a1f4f088afa045a83bf12cd01da167
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 23 Mar 2017 07:58:39 +0000 (15:58 +0800)]
restore setup.cfg in case submitted by mistake
in venv mode, setup.cfg will be modified to fit
venv condition, restore to the original after
installation
Change-Id: Ib38b2ab9e015201c812305414a207c05bdf7c830
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 23 Mar 2017 07:35:38 +0000 (15:35 +0800)]
start TestAPI in venv with no config-file
in virtual env mode, config.ini is configured in
.venv/etc/opnfv_testapi, in this case when we start
it the configuration file needs to be specified, by
changing the _default_config, the -config-file is no
longer needed when starting TestAPI in venv mode.
Change-Id: I0217cfefe578bbc3325bb7577ed268dc21cde4ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 23 Mar 2017 07:14:47 +0000 (15:14 +0800)]
fix: always return 200 even if exception happens
when post/update/delete is executed, the return value
always are 200, even if exceptions such as 404/409 happen
Change-Id: I612ad15cc6567f435caa4c889bb0c7b6a73f9c52
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Mon, 20 Mar 2017 07:53:38 +0000 (07:53 +0000)]
Merge "Add new testcases in reporting page"
Morgan Richomme [Fri, 17 Mar 2017 08:13:31 +0000 (08:13 +0000)]
Merge "Adds cronjob for filling vnf table row entries"
Morgan Richomme [Fri, 17 Mar 2017 08:13:10 +0000 (08:13 +0000)]
Merge "Add vnf, tag create & Associate Plugins"
Jun Li [Fri, 17 Mar 2017 01:18:11 +0000 (01:18 +0000)]
Merge "utils: fix yamllint issues"
Morgan Richomme [Thu, 16 Mar 2017 16:10:34 +0000 (16:10 +0000)]
Merge "Add support for enum & expand vnf_catalogue schema"
Morgan Richomme [Thu, 16 Mar 2017 10:58:50 +0000 (11:58 +0100)]
Add new testcases in reporting page
- FDS
- Refstack
- opera_ims
- vyos-vrouter
Change-Id: I42a323a1f466b0ba11e61bb287b8b283e4759c09
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Kumar Rishabh [Tue, 14 Mar 2017 19:32:11 +0000 (01:02 +0530)]
Add vnf, tag create & Associate Plugins
Adds support for accessing database, plugin to create tags and
vnfs and make association between them. Also adds autocomplete feature
to vnf-tag association.
Change-Id: Id55f998df68ae5e6e6fd298c6393b3500777468a
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Kumar Rishabh [Tue, 14 Mar 2017 19:50:39 +0000 (01:20 +0530)]
Adds cronjob for filling vnf table row entries
It uses github api calls to fill no_of_developers, no_of_stars and
versions entry. It is a bit hacky as it sets some parameters and parses
the header link line to get the number.
TODO lines_of_code entry as it is not provided directly by github api.
Change-Id: I6cba54ad48fbb6aa5f4823100a426abbb82fc447
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Morgan Richomme [Wed, 15 Mar 2017 07:53:43 +0000 (07:53 +0000)]
Merge "Update reporting page for Danube"
Kumar Rishabh [Tue, 14 Mar 2017 19:40:41 +0000 (01:10 +0530)]
Add support for enum & expand vnf_catalogue schema
Adds support for enum and expands the vnf_catalogue schema.
Change-Id: Ifa2be1a01ad8e12f5f34d6472976f2a862189d48
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Jessica Wagantall [Tue, 14 Mar 2017 18:58:05 +0000 (11:58 -0700)]
utils: fix yamllint issues
Linting utils/test yaml files
Change-Id: Id239cb2e2b2c4658dedfc187b7784b0302701700
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Morgan Richomme [Mon, 13 Mar 2017 14:29:58 +0000 (15:29 +0100)]
Update reporting page for Danube
- add danube in config to generate results
- create new web pages for Euphrates (master)
Change-Id: I11b3f37a0f6040a3d0c18820a08a9d6fb7ebe036
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Tue, 7 Mar 2017 15:57:38 +0000 (15:57 +0000)]
Merge "bug fix: last 4 run reporting for storperf"
Morgan Richomme [Mon, 6 Mar 2017 13:44:47 +0000 (14:44 +0100)]
bug fix: last 4 run reporting for storperf
- bug fix:
copy/paste of yardstick code but list of results
is not sorted by default, taking the last 4 array
items lead to random results on the 4 last run
sort results before taking the last 4 results
to establish last 4 run criteria
- enhancement: add link to last CI run in the
reporting page
- fix trend line bug
Change-Id: Ice16832a81cb65503a63b16321a2be92a427d279
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
chenjiankun [Mon, 20 Feb 2017 09:35:22 +0000 (09:35 +0000)]
Create Test Reporting landing page
JIRA: RELENG-165
In this patch, I upload the backend code
usage:
docker run -itd -p 8000:8000 -e SERVER_URL=server_ip:8000 opnfv/reporting:<tag>
note: must point SERVER_URL, it is the api server.
visit landing page:
http://server_ip:8000/reporting/index.html
Change-Id: I10121574e0c4b2733a8084c986d7a2746e7ce2a4
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
SerenaFeng [Wed, 1 Mar 2017 09:29:31 +0000 (17:29 +0800)]
Problem with rally_sanity results
after refactor, details in rally_sanity became 'unicode',
which contains built-in 'format' method, which is not processed correctly
error message:
File
"/usr/local/lib/python2.7/dist-packages/opnfv_testapi/resources/models.py",
line 36, in _format
for h in dicts[k]]
KeyError: u"u'details'"
JIRA: FUNCTEST-723
Change-Id: If35e55f542fbbae8bd1a534938b7279b7a634880
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 1 Mar 2017 07:29:22 +0000 (15:29 +0800)]
bugfix unittest test_queryProject occasionally failed in TestAPI
error message:
"E AssertionError: Mismatched values: u'installers', expected:[], actual: []
Change-Id: Ieae5fdfd2a044909784cbb4766a5d25f4bbafcea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Tue, 28 Feb 2017 14:38:16 +0000 (15:38 +0100)]
Move from snaps_healthcheck to connection_check
to retireve scenario
lxd based scenarios are not running snaps_healthcheck
Change-Id: I34a86b5b8d0e1dffda40e6173196eb9409c448a0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Tue, 28 Feb 2017 10:47:30 +0000 (11:47 +0100)]
Move case base from tempest_smoke_serial to snaps_healthcheck
It will allow to show additional scenarios in the reporting page
the scenarios that fail on healthcheck or smoke tests
before running tempest_smoke_serial
Change-Id: I0d9ba84296bfc867ab80caa7873bb5bcb8469fc2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
jose.lausuch [Mon, 27 Feb 2017 14:37:04 +0000 (15:37 +0100)]
[Functest] Add Tempest Defcore test to the dashboard
Change-Id: Id2292198d1e34a2de1d2b9ccdda83f565f771df1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Morgan Richomme [Mon, 27 Feb 2017 10:29:24 +0000 (10:29 +0000)]
Merge "make unittest cover server.py in TestAPI"
Morgan Richomme [Mon, 27 Feb 2017 10:28:57 +0000 (10:28 +0000)]
Merge "Use new-style classes which inherit from object in TestAPI"
Morgan Richomme [Mon, 27 Feb 2017 09:08:59 +0000 (09:08 +0000)]
Merge "Add storperf reportign status page Create associated static storperf page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory"
SerenaFeng [Mon, 27 Feb 2017 06:44:22 +0000 (14:44 +0800)]
Use new-style classes which inherit from object in TestAPI
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Mon, 27 Feb 2017 06:33:52 +0000 (14:33 +0800)]
make unittest cover server.py in TestAPI
Change-Id: Id379e6786e1f61fb1032f80636da107156e68fb5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 23 Feb 2017 07:14:12 +0000 (15:14 +0800)]
leverage tox to facilitate the development
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>
SerenaFeng [Thu, 23 Feb 2017 08:59:09 +0000 (16:59 +0800)]
add unittest of config.py
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 24 Feb 2017 07:08:41 +0000 (15:08 +0800)]
fix internal port of TestAPI
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>
Morgan Richomme [Fri, 24 Feb 2017 07:59:11 +0000 (08:59 +0100)]
Add storperf reportign status page
Create associated static storperf page
Prepare vsperf, qtip, bottlenecks
Put Yardstick scenario class into utils directory
Change-Id: I874d1733fe3f37dc5dd557559478e7e0b25371d7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Fri, 24 Feb 2017 08:43:50 +0000 (08:43 +0000)]
Merge "Added Search_Results Page"
jose.lausuch [Wed, 22 Feb 2017 19:10:27 +0000 (20:10 +0100)]
Add Netready and Barometer tests to the reporting dashboard
Change-Id: Idc09d3461ee5af09625aba3cf2219b64318145c8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
rohitsakala [Mon, 20 Feb 2017 07:55:05 +0000 (13:25 +0530)]
Add unit tests to token based authentication
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>
rohitsakala [Thu, 16 Feb 2017 07:52:05 +0000 (13:22 +0530)]
Add token based authentication for post/update/delete
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>
SerenaFeng [Mon, 20 Feb 2017 06:32:29 +0000 (14:32 +0800)]
fix violation of import rule in TestAPI
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>
Kumar Rishabh [Wed, 15 Feb 2017 13:26:24 +0000 (18:56 +0530)]
Added Search_Results Page
Also added animations and actions pertaining
to index and search_results page.
Change-Id: If3966991f165626ca2b13a4ac62af6a777a22903
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Jose Lausuch [Wed, 15 Feb 2017 08:50:35 +0000 (08:50 +0000)]
Merge "implement delete and related unittest"
SerenaFeng [Wed, 15 Feb 2017 02:58:36 +0000 (10:58 +0800)]
implement delete and related unittest
JIRA: RELENG-163
Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Tue, 14 Feb 2017 12:58:21 +0000 (13:58 +0100)]
Bug Fix: tranlate build tag into jenkins url
Include HEALTHCHECK Tier in the reporting
Change-Id: I4a5a8aeb7564ca35c9199c7925ac344b43270d87
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>