summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18Make uploaded company logos persistentovp-2.0.0Stamatis Katsaounis3-3/+6
JIRA: DOVETAIL-741 This patch make uploaded company logos from administrator persistent by saving them to a permanent docker volume, mounted to a specific path inside api container. Change-Id: I0b0ef66cc2b3761863a2f58da0196d302d4b5ade Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-10-04Revive unit tests and flake8 of webportalStamatis Katsaounis15-19/+40
JIRA: DOVETAIL-742 This patch revives unit test and flake8 tests of webportal. In addition, it fixes errors and enables handling of some uris which were forgotten. Change-Id: I8225c7ca08a3c97b6e77f00490defc91046a2dd6 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-09-24Updating the links on the web portal to the latest versions.Georg Kunz1-3/+3
Change-Id: I45e3f49e0cb82ac3964b078f349bd8f4e8069dec Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-09-21Decreasing font size of OVP web portal headingGeorg Kunz1-1/+1
Decreasing the font size of the main heading on Bradon's request. Change-Id: Ie0498f0ebb1c85f6ea73b4230d72715f717f4ae3 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-09-20Update marketing message on web portal for releaseGeorg Kunz2-9/+17
Updating the web portal for release: * marketing message * 2018.09 badge * link to updated participation form Change-Id: Iac2576eafdf88c5399205c1877b1632a13827fa4 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-09-14Merge "Update webportal testcases.json file"Dan Xu1-3/+1
2018-09-13Update webportal testcases.json filexudan1-3/+1
Change-Id: Ie3d796a2611a890e8872437a7be389d758e38737 Signed-off-by: xudan <xudan16@huawei.com>
2018-09-12Update webportal code to 2018.09xudan2-5/+5
The official name of the next release is going to be 2018.09. JIRA: DOVETAIL-740 Change-Id: I7da48d27c66d4b25b277339ada3fafa85159b172 Signed-off-by: xudan <xudan16@huawei.com>
2018-09-05Merge "Gen-test-cases tool: Print total number of test cases"Dan Xu1-0/+5
2018-09-04Merge "Update test case list for OS interop tests"Dan Xu1-5/+1
2018-09-03Gen-test-cases tool: Print total number of test casesGeorg Kunz1-0/+5
The tool for generating the testcases.json now prints the total number of test cases per area. This is not needed by the webportal which does the math itself but rather for updating the total numbers in the documentation. Change-Id: I02b8b4eba0d1046495002d32aa476b9abb45c0de Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-09-03Update test case list for OS interop testsGeorg Kunz1-5/+1
The OpenStack Interop WG has recently deprecated [1] 4 cinder volume reservation tests. As a result, they are not part of Functest's set of interop tests anymore. This patch cleans up the test case validation list for the web portal. [1] https://review.openstack.org/#/c/583970/ Change-Id: Ia0687661e586d2eff5f23a23b5b4971825d82837 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-09-03Remove identity v2 TCs,not supported by FunctestPanagiotis Karalis1-10/+0
As Functest does not support identity v2 anymore, it does not make sense to try to run tempest identity v2 tests. The identity version 2 testcases are removed from dovetail-webportal respectively. JIRA: DOVETAIL-735 Change-Id: I5a929a6d2c615319fea5c63c9a4d6c6f4f3a3fb3 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-08-31Merge "Updating and restructuring documentation links"Dan Xu1-23/+77
2018-08-30Disable Community Results page and restrict access to resultsStamatis Katsaounis3-8/+12
to logged in users JIRA: DOVETAIL-736 This patch disables the Community Results page. Furthermore, allows only logged in users to fetch results from the rest api. Finally, fixes a minor bug on the javascript side, where the name of the logged in user is stored. Change-Id: Iedf1f170746501455662dc7e1d01ae0508f79488 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-28Updating and restructuring documentation linksGeorg Kunz1-23/+77
Adding documentation links for the 2018.08 release to the web portal and restructuring the side pane. JIRA: DOVETAIL-712 Change-Id: Iad1780b2955ee8bf748a38036a7db8bf4a30237e Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-08-28Allow only owner of tests and administrator to delete testsStamatis Katsaounis1-2/+16
JIRA: DOVETAIL-734 This patch prevents anonymous users and not-owners to delete tests of others. Change-Id: Iaaf1d79db05216963705ab29bd2627bb19f3294d Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-28Merge "Homogenize file size error from nginx with python errors"Dan Xu1-0/+6
2018-08-27Homogenize file size error from nginx with python errorsStamatis Katsaounis1-0/+6
JIRA: DOVETAIL-732 This patch homogenize error received from nginx when a file is bigger than the limit set with python errors. It tells nginx to convert error 413 to 200 and respond with a json, like python does when validating the file. As a result, the error is shown in the pop up as it should be. Change-Id: I3218516073f848321af02465c5d608ef54d5b715 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-27Respect Upload file size limit on local docker deploymentStamatis Katsaounis2-0/+2
JIRA: DOVETAIL-731 This patch fix the upload file size to be respected on local docker deployments. Change-Id: I484af5717de4107dd467e98591f7f5c569d163bf Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-27Merge "Resolve internal errors 500"Dan Xu1-3/+13
2018-08-26Update test case list for web portalGeorg Kunz1-4/+1
Update the test case list for the 2018.08 release. Change-Id: I91f83de73f666039c5965fbc526599b2d58dae3c Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-08-24Resolve internal errors 500Stamatis Katsaounis1-3/+13
* Check that a user uploaded a file and return appropriate error if not * Check that a file is a valid gzip file and return appropriate error if not Change-Id: I17dd1ee459d06687156b7fd36f27353325a0b737 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-23Improve Dockerfiles to be more efficient.Stamatis Katsaounis2-47/+35
Change-Id: I1739e75d94b0e3f7b4c411ded2fb911e4195da12 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-08-09Enlarge the file size allowed to be uploadedxudan1-0/+1
It will failed to upload the results file. Error code "413 (Request Entity Too Large)" Enlarge it to be 20M. Change-Id: Ia1f1d8aa4c104acdffdfd1ff60325631209a2618 Signed-off-by: xudan <xudan16@huawei.com>
2018-08-01Update the testcase.json file for webxudan2-115/+273
Change-Id: I35207636fdbda8dab82567f9f9b834e9acf5ca41 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-30Merge "Enable web portal to open log files for each test case of OVP 2018.0x ↵Georg Kunz1-7/+18
release"
2018-07-27Showing OVP version on "my results" pageGeorg Kunz3-2/+12
Adding an "OVP Version" column to the "my results" page. JIRA: DOVETAIL-708 Change-Id: Id9a9228002f3be88fda8c71aedf2f5abe24d833d Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-07-27Enable web portal to open log files for each test case of OVP 2018.0x releasexudan1-7/+18
JIRA: DOVETAIL-705 Change-Id: Ie51a9f447c4d9f54f1a73e4a15c8594a39d57f3f Signed-off-by: xudan <xudan16@huawei.com>
2018-07-25Merge "Update web portal for 2018.08 results"Georg Kunz4-8/+591
2018-07-24Script for creating testcases.json for the web portalGeorg Kunz1-0/+116
The web portal requires a list of all testcase which are part of an OVP release to determine if a test run was successful. This script creates the list of testcases automatically from the test case specs in Dovetail. JIRA: DOVETAIL-594 Change-Id: I051013afa0622a4c20685ab4a7df916f850b3289 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-07-19Fix the version of packages in requirements.txtxudan1-12/+12
The 'My Results' page got an error because the version of motor. Set the version to be the same as docker image opnfv/dovetail:api.ovp.1.1.2 JIRA: DOVETAIL-698 Change-Id: I58d690081f3a28ca74f31a2dc4fbd69adb0c0bc4 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-18Update web portal for 2018.08 resultsGeorg Kunz4-8/+591
Extending the web portal to handle OVP 2018.08 results. This includes the following changes: * the 2018.08 result file format has changed according to https://gerrit.opnfv.org/gerrit/#/c/58903/ * a new testcases.json which has been automatically created. JIRA: DOVETAIL-668 Change-Id: I0403779b164f5de92f02857f7ae54f290d2f16ac Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-07-16Edit the gitignore filexudan55-6/+10555
Delete some key in file .gitignore which cause missing some source files. Change-Id: Icddac3c1d956d75853a3062b549cb2d725ba2fa8 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-10Update the dockerfile for 2 docker imagesxudan3-11/+11
1. Update the Dockerfile for 2 docker images 2. Update the docker-compose.yml with the new docker repo JIRA: DOVETAIL-671 Change-Id: Idd0d676568a3aa2a63a1429288f984618281e13a Signed-off-by: xudan <xudan16@huawei.com>
2018-07-06Move all web portal code to the new repo dovetail-webportalxudan476-0/+109414
This is only the first step to simply copy the file here. There still need some more work to make sure all work well. All the changes will be submitted with other patches to make it easily to review. JIRA: DOVETAIL-671 Change-Id: I64d32a9df562184166b6199e2719f298687d1a0a Signed-off-by: xudan <xudan16@huawei.com>
2018-07-05Initial Commit of dovetail-webportalTrevor Bramwell3-0/+57
Change-Id: I779651499dd991e87f73ac857b555746f73d9d28 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>