summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2017-06-07add filter based on begin&end time of start_dateSerenaFeng2-4/+22
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>
2017-06-06show community resultsSerenaFeng3-198/+29
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>
2017-06-06Merge "Change to 'catalog_description' in Catalogue page"Morgan Richomme6-18/+41
2017-06-06Merge "substitute with testapi img"Morgan Richomme4-0/+0
2017-06-05substitute with testapi imgSerenaFeng4-0/+0
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>
2017-06-02Change to 'catalog_description' in Catalogue pagechenjiankun6-18/+41
JIRA: RELENG-231 Change-Id: Id0b770575c0d91a58b3503f8580bd658337b2cd0 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-05-25Updating the license with Creative Commons Attribution 4.0 with SPDX shorthandRay Paik2-4/+4
Change-Id: Iff8ada7637648a320fc7ef4a0fb3e187186964e5 Signed-off-by: Ray Paik <rpaik@linuxfoundation.org>
2017-05-24[Functest] Push results for functest suitejose.lausuch1-0/+1
Since Functest doesn't post the output to the console any more, we need the logs in some jobs to troubleshoot. Those logs are not stored for functest-suite jobs by default. This patch enables also lf-virtual2 and 3 where some apex verify jobs are using this builder. Change-Id: I5707d1540bed8df9b7c4457775d9877311ba0b33 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-24Functest: Adds failure checking + fixes fetch os credsTim Rozet1-3/+5
Change-Id: Ib8a3ff3a747be55d8e23513bd028d934fef02eb8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-24Functest: removes redundant exit 0 from fetch credsTim Rozet1-2/+0
Also allows unset and pipefail explicitly in set-functest-env.sh Change-Id: I06ae718f563fed0596a37cec1b3a78e44ee7ea5d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-20support cancel operation while signing inSerenaFeng3-2/+11
support the cancel operation in the https://openstackid.org/accounts/user/consent Change-Id: I06a1f130a3115774f2e88fc25dad522a7cf53e36 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-20Merge "add signout funcationality"Serena Feng3-0/+15
2017-05-19bugfix: extra fields are added when push resultsSerenaFeng2-4/+5
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>
2017-05-19add signout funcationalitySerenaFeng3-0/+15
Change-Id: Ie101f07f0eb406eee4e1c7daa14b07aaaf554904 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-18support showing user's specified contents after signinSerenaFeng6-13/+68
Change-Id: Ia8897860757a2395873ff6972a508c38d7139854 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-18add signin web to TestAPISerenaFeng12-8/+136
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-17add missing dist files ignored by .gitignoreSerenaFeng18-0/+10231
Change-Id: Ib29cb5887abb317012d83fb77dcf30e07099a479 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-17refactor static_path to accomodate web portalSerenaFeng38-72/+72
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>
2017-05-17Merge "bugfix: /resources.json and /APIs cannot be accessed"Morgan Richomme2-5/+3
2017-05-16bugfix: /resources.json and /APIs cannot be accessedSerenaFeng2-5/+3
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>
2017-05-12refactor config parser to facilitate adding new configsSerenaFeng3-100/+40
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>
2017-05-12Merge "add web portal framework for TestAPI"Morgan Richomme340-1/+85415
2017-05-12Merge "big fixes: wrong path"Morgan Richomme2-5/+4
2017-05-12add web portal framework for TestAPISerenaFeng340-1/+85415
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-11clarify schema base on swagger1.2 specificationSerenaFeng1-3/+3
Change-Id: I98e165ae943b54d6a38783f2a3822d381c247ee4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-11Merge "leverage tornado framework to simply impl of TestAPI"Serena Feng4-35/+37
2017-05-11Merge "correct the import impl of TestAPI"Serena Feng13-53/+55
2017-05-11Merge "change swagger urls based on v1.2 specification"Serena Feng3-10/+11
2017-05-11big fixes: wrong pathMorgan Richomme2-5/+4
- remove link to daisy for storperf results - fix yardstick installer page links Change-Id: Idae2163862c681db05cfc24c5c29eaea793d3c88 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-10Merge "Bug Fixes: remove Db name + path"Morgan Richomme4-60/+15
2017-05-10Bug Fixes: remove Db name + pathMorgan Richomme4-60/+15
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>
2017-05-10Merge "add qtip reporting"Morgan Richomme8-0/+380
2017-05-10Merge "Add short_description field to testcase in test API"Morgan Richomme1-6/+9
2017-05-10Merge "Bugfix: Error when create pod.yaml file"Jun Li1-1/+1
2017-05-10Add short_description field to testcase in test APIMorgan Richomme1-6/+9
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>
2017-05-10Merge "Add arm support in functest reporting pages"Morgan Richomme4-209/+266
2017-05-10leverage tornado framework to simply impl of TestAPISerenaFeng4-35/+37
1) make better use of initialize() method 2) better naming global arguments Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10correct the import impl of TestAPISerenaFeng13-53/+55
Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10change swagger urls based on v1.2 specificationSerenaFeng3-10/+11
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>
2017-05-09Bugfix: Error when create pod.yaml filexudan1-1/+1
JIRA: DOVETAIL-426 os.path.makedirs(os.path.dirname(args.filepath)) AttributeError: 'module' object has no attribute 'makedirs' Change-Id: I2b75576f05b7926b76148ea6152e4479215344f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Add arm support in functest reporting pagesMorgan Richomme4-209/+266
Create different pages for installer@architectures - x86 - aarch64 JIRA: FUNCTEST-821 Change-Id: I3c4ebba3f7969f6c1a5d04c4d5b5a63db5a3e7c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-09Merge "Bugfix: Error when create pod.yaml file if one node's role is None"Jun Li1-8/+18
2017-05-08Apex: fixes overcloudrc v3 filenameTim Rozet1-1/+1
Change-Id: I086adca7f9671c2c5e6fd04a1ec339e8b22f1de4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08add qtip reportingSerenaFeng8-0/+380
Change-Id: Ie573486080fbd36857ff0709d53f6bdcdd43363e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-07Bugfix: Error when create pod.yaml file if one node's role is Nonexudan1-8/+18
DOVETAIL-426 Error message: if node.roles[0].lower() == "controller": IndexError: list index out of range Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-05Merge "[Functest][Apex] Use v3 credentials"Tim Rozet1-1/+1
2017-05-05Merge "leverage executor to test_testcase.py in TestAPI"Serena Feng1-59/+64
2017-05-05Merge "leverage executor to test_project.py in TestAPI"Serena Feng1-61/+55
2017-05-05Merge "leverage executor to test_result.py in TestAPI"Serena Feng1-103/+105
2017-05-03[Functest][Apex] Use v3 credentialsjose.lausuch1-1/+1
Soon, Functest will start using only public endpoints and will remove admin connectivity to the deployments. Change-Id: I2089ccd3d6e7f1acda7b46d3104a8a78a47af8ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>