releng-testresults.git
8 years agoMerge "Add jenkins jobs for automatic reporting dashboard deployment"
Jose Lausuch [Tue, 4 Jul 2017 07:29:05 +0000 (07:29 +0000)]
Merge "Add jenkins jobs for automatic reporting dashboard deployment"

8 years agoAdd jenkins jobs for automatic reporting dashboard deployment
rohitsakala [Thu, 29 Jun 2017 16:38:05 +0000 (22:08 +0530)]
Add jenkins jobs for automatic reporting dashboard deployment

Jenkins Jobs have been added for automating the deployment of the
reporting dashboard. Also multijob has been added for automating the
update of docker in the docker hub and generating docs which is empty
for now. Modified unit tests of reporting to make it run from any
directory.

Modified the testapi jenkins jobs yaml file to generic so that many
other modules which may have the same usecases can be integrated easily
just like the reporting one that is done now.

Change-Id: Id13a55416e17199dae1dd6ce64f7c167d117ba37
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
8 years agoMerge "bug fix: typo in bottlenecks naming (reporting page)"
Aric Gardner [Thu, 29 Jun 2017 18:44:21 +0000 (18:44 +0000)]
Merge "bug fix: typo in bottlenecks naming (reporting page)"

8 years agoMerge "refactor list operation"
Jose Lausuch [Wed, 28 Jun 2017 17:48:29 +0000 (17:48 +0000)]
Merge "refactor list operation"

8 years agoMerge "bugfix: Exception when the results is empty"
Morgan Richomme [Wed, 28 Jun 2017 15:33:05 +0000 (15:33 +0000)]
Merge "bugfix: Exception when the results is empty"

8 years agorefactor list operation
SerenaFeng [Wed, 28 Jun 2017 06:10:45 +0000 (14:10 +0800)]
refactor list operation

all operations mix together make it very difficult to read

Change-Id: I7e4a12fd13a7aa0dc0c8fc09b69c7e43a2ab18ac
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: Exception when the results is empty
SerenaFeng [Wed, 28 Jun 2017 03:22:59 +0000 (11:22 +0800)]
bugfix: Exception when the results is empty

list operation crash when limit is not provided, error message:
OperationFailure: the limit must be positive

JIRA: RELENG-265

Change-Id: Id8db93b594010d054a71d301d9c42eed113c12e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "bugfix: pagination crash due to memory limitation"
Jose Lausuch [Tue, 27 Jun 2017 13:37:17 +0000 (13:37 +0000)]
Merge "bugfix: pagination crash due to memory limitation"

8 years agobug fix: typo in bottlenecks naming (reporting page)
Morgan Richomme [Tue, 27 Jun 2017 13:14:46 +0000 (15:14 +0200)]
bug fix: typo in bottlenecks naming (reporting page)

Change-Id: Ifb2047e688117c7c9af33031467f2025d530f187
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agobugfix: pagination crash due to memory limitation
SerenaFeng [Tue, 27 Jun 2017 11:13:32 +0000 (19:13 +0800)]
bugfix: pagination crash due to memory limitation

MongoDB sorts the results in memory, and the default mem limitation is
32M, if the sort operation consumes more than that it will return an
error:
OperationFailure: Executor error during find command: OperationFailed
Sort operation used more than the maximum 33554432 bytes of RAM. Add an
index, or specify a smaller limit.

To solve this problem, here we leverage aggregate() and
allowDiskUse=True, it is said will not be limited by memory

Change-Id: Id698ad1d02912e8b350a33a926fcccc390814fcc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobug fix: consider pagination when retrieveing results for reporting
Morgan Richomme [Mon, 26 Jun 2017 15:04:41 +0000 (17:04 +0200)]
bug fix: consider pagination when retrieveing results for reporting

Due to pagination feature introduced in test API, reporting pages
only considered the first page of results retrieved by the API
the number of pages is now detected to aggregate the results

JIRA: RELENG-259

Change-Id: I0ac90b125baf8c16341c8db22f5602fedd4cdf1b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Changing urls of testapi api and resources"
Serena Feng [Fri, 23 Jun 2017 08:12:36 +0000 (08:12 +0000)]
Merge "Changing urls of testapi api and resources"

8 years agoMerge "support pagination in TestAPI"
Serena Feng [Thu, 22 Jun 2017 02:19:20 +0000 (02:19 +0000)]
Merge "support pagination in TestAPI"

8 years agoMerge "bug fix: bad format for start/time in Tempest reporting"
Morgan Richomme [Wed, 21 Jun 2017 14:46:03 +0000 (14:46 +0000)]
Merge "bug fix: bad format for start/time in Tempest reporting"

8 years agobug fix: bad format for start/time in Tempest reporting
Morgan Richomme [Wed, 21 Jun 2017 13:37:39 +0000 (15:37 +0200)]
bug fix: bad format for start/time in Tempest reporting

Change-Id: Ic9792023b9041dbe8081ff9840caa2cf2901b189
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agosupport pagination in TestAPI
SerenaFeng [Tue, 20 Jun 2017 09:40:38 +0000 (17:40 +0800)]
support pagination in TestAPI

In this patch, pagination is supported, so you can go through results
leveraging: http://testresults.opnfv.org/test/api/v1/results?page=2

Change-Id: Ibe31c787643f27dbb06c4899e713b3c8e716e784
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agomake website accessible via testresults.opnfv.org/test
SerenaFeng [Tue, 20 Jun 2017 03:41:15 +0000 (11:41 +0800)]
make website accessible via testresults.opnfv.org/test

Currently, testapi website can not be fully accessed through
testresults.opnfv.org/test, due to http://testresults.opnfv.org/test is
not a root url. In this patch leverage relative path to make it accessible

Change-Id: I56983d2221791d8a060039ec829278d31ecb5048
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd filter based on begin&end time of start_date
SerenaFeng [Mon, 5 Jun 2017 07:44:16 +0000 (15:44 +0800)]
add filter based on begin&end time of start_date

filter of 'Start Date' & 'End Date' in Community Results page now works,
currently, only 20 records will be shown due to pagination is not
supported.
From server side, query from date to date is supported now, query as:
/api/v1/results?from=2016-11-01%2000:00:00&to=2017-06-01%2023:59:59

Change-Id: I482b117129dbae38fa5a2858a86442c80d87d19e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoshow community results
SerenaFeng [Mon, 5 Jun 2017 06:14:43 +0000 (14:14 +0800)]
show community results

show latest 20 results in cummunity results page.
Because pagination is not supported, pagination related buttons
are forbiddened now

Change-Id: I3d94fc1b89845b6583dd40fe86d69407adfd2e6c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Change to 'catalog_description' in Catalogue page"
Morgan Richomme [Tue, 6 Jun 2017 13:16:02 +0000 (13:16 +0000)]
Merge "Change to 'catalog_description' in Catalogue page"

8 years agoMerge "substitute with testapi img"
Morgan Richomme [Tue, 6 Jun 2017 13:14:20 +0000 (13:14 +0000)]
Merge "substitute with testapi img"

8 years agosubstitute with testapi img
SerenaFeng [Mon, 5 Jun 2017 06:11:49 +0000 (14:11 +0800)]
substitute with testapi img

delete useless openstack and refstack images
add testapi-logo.png. Currently it is a free one with signature
finally we will substitute it with an official one.

Change-Id: I6c1ccaa21fab311c5858351e58bd7c8d9392a75a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoChange to 'catalog_description' in Catalogue page
chenjiankun [Thu, 1 Jun 2017 01:49:51 +0000 (01:49 +0000)]
Change to 'catalog_description' in Catalogue page

JIRA: RELENG-231

Change-Id: Id0b770575c0d91a58b3503f8580bd658337b2cd0
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoUpdating the license with Creative Commons Attribution 4.0 with SPDX shorthand
Ray Paik [Fri, 26 May 2017 06:00:27 +0000 (23:00 -0700)]
Updating the license with Creative Commons Attribution 4.0 with SPDX shorthand

Change-Id: Iff8ada7637648a320fc7ef4a0fb3e187186964e5
Signed-off-by: Ray Paik <rpaik@linuxfoundation.org>
8 years agoChanging urls of testapi api and resources
Sakala Venkata Krishna Rohit [Sat, 20 May 2017 10:55:34 +0000 (16:25 +0530)]
Changing urls of testapi api and resources

Change is done in reference to https://gerrit.opnfv.org/gerrit/#/c/34527/
This change will also fix the jenkins job testapi auto deploy which is failing.

Change-Id: I5011718aa2bdf7e2aab0a12d406c4d0eece86972
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
8 years agosupport cancel operation while signing in
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>
8 years agoMerge "add signout funcationality"
Serena Feng [Sat, 20 May 2017 07:30:09 +0000 (07:30 +0000)]
Merge "add signout funcationality"

8 years agobugfix: extra fields are added when push results
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>
8 years agoadd signout funcationality
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>
8 years agosupport showing user's specified contents after signin
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>
8 years agoadd signin web to TestAPI
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>
8 years agoadd missing dist files ignored by .gitignore
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>
8 years agorefactor static_path to accomodate web portal
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>
8 years agoMerge "bugfix: /resources.json and /APIs cannot be accessed"
Morgan Richomme [Wed, 17 May 2017 06:43:34 +0000 (06:43 +0000)]
Merge "bugfix: /resources.json and /APIs cannot be accessed"

8 years agobugfix: /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>
8 years agorefactor config parser to facilitate adding new configs
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>
8 years agoMerge "add web portal framework for TestAPI"
Morgan Richomme [Fri, 12 May 2017 06:26:03 +0000 (06:26 +0000)]
Merge "add web portal framework for TestAPI"

8 years agoMerge "big fixes: wrong path"
Morgan Richomme [Fri, 12 May 2017 06:25:22 +0000 (06:25 +0000)]
Merge "big fixes: wrong path"

8 years agoadd web portal framework for TestAPI
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>
8 years agoclarify schema base on swagger1.2 specification
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>
8 years agoMerge "leverage tornado framework to simply impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:27:10 +0000 (10:27 +0000)]
Merge "leverage tornado framework to simply impl of TestAPI"

8 years agoMerge "correct the import impl of TestAPI"
Serena Feng [Thu, 11 May 2017 10:26:59 +0000 (10:26 +0000)]
Merge "correct the import impl of TestAPI"

8 years agoMerge "change swagger urls based on v1.2 specification"
Serena Feng [Thu, 11 May 2017 10:26:35 +0000 (10:26 +0000)]
Merge "change swagger urls based on v1.2 specification"

8 years agobig fixes: wrong path
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>
8 years agoMerge "Bug Fixes: remove Db name + path"
Morgan Richomme [Wed, 10 May 2017 13:59:26 +0000 (13:59 +0000)]
Merge "Bug Fixes: remove Db name + path"

8 years agoBug 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>
8 years agoMerge "add qtip reporting"
Morgan Richomme [Wed, 10 May 2017 12:23:05 +0000 (12:23 +0000)]
Merge "add qtip reporting"

8 years agoMerge "Add short_description field to testcase in test API"
Morgan Richomme [Wed, 10 May 2017 12:16:16 +0000 (12:16 +0000)]
Merge "Add short_description field to testcase in test API"

8 years agoAdd 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>
8 years agoleverage tornado framework to simply impl of TestAPI
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>
8 years agocorrect the import impl of TestAPI
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>
8 years agochange swagger urls based on v1.2 specification
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>
8 years agoAdd arm support in functest reporting pages
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>
8 years agoadd qtip reporting
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>
8 years agoMerge "leverage executor to test_testcase.py in TestAPI"
Serena Feng [Fri, 5 May 2017 05:23:59 +0000 (05:23 +0000)]
Merge "leverage executor to test_testcase.py in TestAPI"

8 years agoMerge "leverage executor to test_project.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"

8 years agoMerge "leverage executor to test_result.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"

8 years agoMerge "leverage executor to test_token/version.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"

8 years agoMerge changes from topics 'unittest_executor', 'import_absolute'
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

8 years agoleverage executor to test_token/version.py in TestAPI
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>
8 years agoleverage executor to test_testcase.py in TestAPI
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>
8 years agoleverage executor to test_result.py in TestAPI
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>
8 years agoleverage executor to test_project.py in TestAPI
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>
8 years agoimpl executor and leverage to test_pod.py in TestAPI
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>
8 years agoimport from absolute path in TestAPI unit
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>
8 years agounify data existence check
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>
8 years agochange not_found to forbidden when db not exist
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>
8 years agounify error message in TestAPI
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>
8 years agoChange Danube image for reporting
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>
8 years agounify raise exception process
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>
8 years agoreplace self-defined http codes with standard definitions
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>
8 years agoMerge "add rename scenario exceptions"
Morgan Richomme [Wed, 29 Mar 2017 16:36:56 +0000 (16:36 +0000)]
Merge "add rename scenario exceptions"

8 years agoMerge "Add docker-compose files and requirements"
Morgan Richomme [Wed, 29 Mar 2017 14:30:42 +0000 (14:30 +0000)]
Merge "Add docker-compose files and requirements"

8 years agoadd rename scenario exceptions
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>
8 years agoMerge "keep methods' name/docstring after decorator"
Serena Feng [Wed, 29 Mar 2017 09:08:50 +0000 (09:08 +0000)]
Merge "keep methods' name/docstring after decorator"

8 years agoMerge "Create Catalogue page"
Morgan Richomme [Tue, 28 Mar 2017 14:53:49 +0000 (14:53 +0000)]
Merge "Create Catalogue page"

8 years agokeep methods' name/docstring after decorator
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>
8 years agoAdd docker-compose files and requirements
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>
8 years agoAdd and insert new project icons
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>
8 years agoCreate Catalogue page
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>
8 years agoMerge "start TestAPI in venv with no config-file"
Jose Lausuch [Thu, 23 Mar 2017 09:12:08 +0000 (09:12 +0000)]
Merge "start TestAPI in venv with no config-file"

8 years agoMerge "restore setup.cfg in case submitted by mistake"
Jose Lausuch [Thu, 23 Mar 2017 09:11:30 +0000 (09:11 +0000)]
Merge "restore setup.cfg in case submitted by mistake"

8 years agoMerge "make unittest execution more user-friendly"
Jose Lausuch [Thu, 23 Mar 2017 09:11:01 +0000 (09:11 +0000)]
Merge "make unittest execution more user-friendly"

8 years agomake 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>
8 years agorestore setup.cfg in case submitted by mistake
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>
8 years agostart TestAPI in venv with no config-file
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>
8 years agofix: always return 200 even if exception happens
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>
8 years agoMerge "Add new testcases in reporting page"
Morgan Richomme [Mon, 20 Mar 2017 07:53:38 +0000 (07:53 +0000)]
Merge "Add new testcases in reporting page"

8 years agoMerge "Adds cronjob for filling vnf table row entries"
Morgan Richomme [Fri, 17 Mar 2017 08:13:31 +0000 (08:13 +0000)]
Merge "Adds cronjob for filling vnf table row entries"

8 years agoMerge "Add vnf, tag create & Associate Plugins"
Morgan Richomme [Fri, 17 Mar 2017 08:13:10 +0000 (08:13 +0000)]
Merge "Add vnf, tag create & Associate Plugins"

8 years agoMerge "utils: fix yamllint issues"
Jun Li [Fri, 17 Mar 2017 01:18:11 +0000 (01:18 +0000)]
Merge "utils: fix yamllint issues"

8 years agoMerge "Add support for enum & expand vnf_catalogue schema"
Morgan Richomme [Thu, 16 Mar 2017 16:10:34 +0000 (16:10 +0000)]
Merge "Add support for enum & expand vnf_catalogue schema"

8 years agoAdd new testcases in reporting page
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>
8 years agoAdd vnf, tag create & Associate Plugins
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>
8 years agoAdds cronjob for filling vnf table row entries
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>
8 years agoMerge "Update reporting page for Danube"
Morgan Richomme [Wed, 15 Mar 2017 07:53:43 +0000 (07:53 +0000)]
Merge "Update reporting page for Danube"

8 years agoAdd support for enum & expand vnf_catalogue schema
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>
8 years agoutils: fix yamllint issues
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>
8 years agoUpdate reporting page for Danube
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>
8 years agoMerge "bug fix: last 4 run reporting for storperf"
Morgan Richomme [Tue, 7 Mar 2017 15:57:38 +0000 (15:57 +0000)]
Merge "bug fix: last 4 run reporting for storperf"