SerenaFeng [Wed, 26 Jul 2017 06:40:56 +0000 (14:40 +0800)]
merge swagger_base_url with ui_url
TestAPI used to have only one webpage, which is swagger_ui,
now a new one webportal is added, and the base url is the same
(http://testresults.opnfv.org/test)for them both.
This patch aim to unify the urls.
Change-Id: I15295975fb05f7e8c8d413e12b2b5c0784f0799a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Mon, 24 Jul 2017 07:49:31 +0000 (15:49 +0800)]
delete obsolete run_test.sh
after switching to tox, run_test.sh is not used now
Change-Id: I66d40d6df47652b956f85f022843b60886ce41a2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 20 Jul 2017 10:20:21 +0000 (18:20 +0800)]
query date from oldest to newest
Change-Id: I3d0345bb85967f48617c485bbee1dfe6fa04a644
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 14 Jul 2017 11:27:44 +0000 (19:27 +0800)]
separate db methods from handler.py
db methods are mingled in handler, which is not well structured
Change-Id: I639679d3fc05a0b6528158186b8bf89e0cd10596
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Jose Lausuch [Fri, 21 Jul 2017 11:58:24 +0000 (11:58 +0000)]
Merge "decouple the mutual-dependence of config.py and server.py"
SerenaFeng [Thu, 13 Jul 2017 12:09:10 +0000 (20:09 +0800)]
decouple the mutual-dependence of config.py and server.py
Currently server.py relies on CONF while starting the service, and
config.py's config_fie is set in server.py, which is wrongly bi-depended
this patch aims to let Config parse the sys.argv personally,
just as oslo.config do, so that decouple the mutual-dependency
Change-Id: I46887d122a98d478caebe9eeb7ab038941ce1f6b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
grakiss [Thu, 20 Jul 2017 06:59:30 +0000 (14:59 +0800)]
modify url to relative path to fit with testresults.opnfv.org/test
Change-Id: Ia600fe310404a1ba45e9571d611eedcdc669dbc7
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
grakiss [Fri, 7 Jul 2017 07:06:29 +0000 (15:06 +0800)]
role based access control and result upload
1. add role for user
2. user can upload test results
Change-Id: I1c5370be7818edb0394f05e8b81f975deb98b286
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Serena Feng [Wed, 19 Jul 2017 09:48:06 +0000 (09:48 +0000)]
Merge "bugfix: pagination raise exception when no records returned"
Serena Feng [Wed, 19 Jul 2017 09:47:59 +0000 (09:47 +0000)]
Merge "bugfix: query doesn't work well with period=1"
Serena Feng [Wed, 19 Jul 2017 09:47:53 +0000 (09:47 +0000)]
Merge "bugfix: mix order of Arno results"
SerenaFeng [Wed, 19 Jul 2017 09:18:44 +0000 (17:18 +0800)]
bugfix: pagination raise exception when no records returned
if no records returned, it will raise 'Request page > total_pages'
error. this patch is submitted to fix this
JIRA: RELENG-281
Change-Id: I447247c55c64674d44d21d6f4ac8bb3ef725cfb0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 19 Jul 2017 05:29:53 +0000 (13:29 +0800)]
bugfix: query doesn't work well with period=1
when querying by date, if $lt is not provided,
the empty/None/null/'' results will also be returned,
the patch aims to fix this issue by adding
$lt = datetime.now() if not provided
JIRA: RELENG-212
Change-Id: Ida1e7d386a88d4ab640441df161c1fe134593f82
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Tue, 18 Jul 2017 07:52:28 +0000 (15:52 +0800)]
bugfix: mix order of Arno results
because start_date is not always in the same format or timezone,
sort by start_date will be misordered some times, in this patch
leverage '_id' to do the sort, it is generated by mongodb itself,
always upscend.
JIRA: FUNCTEST-694
JIRA: RELENG-213
Change-Id: Ie0ed5cd09c3f7abb1803d72abe5ecab440c1569c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Thu, 13 Jul 2017 07:48:52 +0000 (15:48 +0800)]
leverage openstack's requirements rule
change requirements.txt and test-requirements.txt to keep
consistent with openstack's global-requirements.txt
Change-Id: I0e62c88b957136438a23e85e41d775194bdc8757
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 12 Jul 2017 07:18:39 +0000 (15:18 +0800)]
leverage tox and pytest to execute unit test
Change-Id: I20856e1b445587f0d8ee23e792793af863743252
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
MatthewLi [Fri, 14 Jul 2017 04:30:50 +0000 (00:30 -0400)]
testapi: bugfix of tox
error log
https://gerrit.opnfv.org/gerrit/#/c/37053/
https://build.opnfv.org/ci/job/testapi-verify-master/220/console
Change-Id: Id278edad06c2852c662392d75fd3cf4041b03451
Signed-off-by: MatthewLi <lijun_1203@126.com>
Serena Feng [Thu, 13 Jul 2017 14:31:54 +0000 (14:31 +0000)]
Merge "leverage testapi's own gitignore"
SerenaFeng [Wed, 12 Jul 2017 06:43:31 +0000 (14:43 +0800)]
leverage testapi's own gitignore
some files/dirs should be gitignored in testapi,
but they may be needed in releng, this patch aims to
manage gitignore by testapi itself
Change-Id: I3c57d1199145d7f062d4e48aa8216ae34672f455
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 12 Jul 2017 06:27:58 +0000 (14:27 +0800)]
move resources unit tests to tests/unit/resources
As webportal is introduced, the project structure
is becoming more complex, it is time to make it a
a little bit more official
Change-Id: Id380d37b07719f053b0bd385a326a2f2944a4b22
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Thu, 6 Jul 2017 09:44:05 +0000 (09:44 +0000)]
Merge "Reporting docker deployment improvement"
chenjiankun [Thu, 6 Jul 2017 03:45:01 +0000 (03:45 +0000)]
Reporting docker deployment improvement
In the patch, I make build pages(landing page ...),
when docker build, when run a container, we can set
the api url(default:testresults.opnfv.org/reporting2) by -e;
For example:
1. In testresults.opnfv.org:
docker run -itd -p 8888:8000 -p 80:80 opnfv/reporting:tag
visit: http://testresults.opnfv.org/reporting2/reporting/index.html
2. Personal use:
docker run -itd -p 8888:8000 -p 80:80 -e SERVER_URL=192.168.131.2:8888 opnfv/reporting:tag
visit: http://192.168.131.2:8888/reporting/index.html
Change-Id: Ib838c12e785151acf9852f25eab254aedc520a1d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
SerenaFeng [Wed, 5 Jul 2017 08:20:54 +0000 (16:20 +0800)]
bugfix: hardcoded testapi urls
testapi webportal's urls are fixed in configure files
this patch aims to modify them according to base_url
provided when bringing up container
Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Jose Lausuch [Tue, 4 Jul 2017 07:29:05 +0000 (07:29 +0000)]
Merge "Add 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>
Aric Gardner [Thu, 29 Jun 2017 18:44:21 +0000 (18:44 +0000)]
Merge "bug fix: typo in bottlenecks naming (reporting page)"
Jose Lausuch [Wed, 28 Jun 2017 17:48:29 +0000 (17:48 +0000)]
Merge "refactor list operation"
Morgan Richomme [Wed, 28 Jun 2017 15:33:05 +0000 (15:33 +0000)]
Merge "bugfix: Exception when the results is empty"
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>
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>
Jose Lausuch [Tue, 27 Jun 2017 13:37:17 +0000 (13:37 +0000)]
Merge "bugfix: pagination crash due to memory limitation"
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>
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>
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>
Serena Feng [Fri, 23 Jun 2017 08:12:36 +0000 (08:12 +0000)]
Merge "Changing urls of testapi api and resources"
Serena Feng [Thu, 22 Jun 2017 02:19:20 +0000 (02:19 +0000)]
Merge "support pagination in TestAPI"
Morgan Richomme [Wed, 21 Jun 2017 14:46:03 +0000 (14:46 +0000)]
Merge "bug 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>
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>
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>
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>
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>
Morgan Richomme [Tue, 6 Jun 2017 13:16:02 +0000 (13:16 +0000)]
Merge "Change to 'catalog_description' in Catalogue page"
Morgan Richomme [Tue, 6 Jun 2017 13:14:20 +0000 (13:14 +0000)]
Merge "substitute 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>
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>
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>
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>
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>