dovetail-webportal.git
6 years agoUpdate webportal code to 2018.09 69/62169/2
xudan [Thu, 13 Sep 2018 03:26:26 +0000 (23:26 -0400)]
Update webportal code to 2018.09

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>
6 years agoMerge "Gen-test-cases tool: Print total number of test cases"
Dan Xu [Wed, 5 Sep 2018 06:48:40 +0000 (06:48 +0000)]
Merge "Gen-test-cases tool: Print total number of test cases"

6 years agoMerge "Update test case list for OS interop tests"
Dan Xu [Tue, 4 Sep 2018 02:15:10 +0000 (02:15 +0000)]
Merge "Update test case list for OS interop tests"

6 years agoGen-test-cases tool: Print total number of test cases 89/61789/1
Georg Kunz [Mon, 3 Sep 2018 21:59:54 +0000 (23:59 +0200)]
Gen-test-cases tool: Print total number of test cases

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>
6 years agoUpdate test case list for OS interop tests 87/61787/1
Georg Kunz [Mon, 3 Sep 2018 21:12:26 +0000 (23:12 +0200)]
Update test case list for OS interop tests

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>
6 years agoRemove identity v2 TCs,not supported by Functest 57/61757/1
Panagiotis Karalis [Mon, 3 Sep 2018 13:50:16 +0000 (16:50 +0300)]
Remove identity v2 TCs,not supported by Functest

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>
6 years agoMerge "Updating and restructuring documentation links"
Dan Xu [Fri, 31 Aug 2018 01:21:22 +0000 (01:21 +0000)]
Merge "Updating and restructuring documentation links"

6 years agoDisable Community Results page and restrict access to results 79/61579/1
Stamatis Katsaounis [Thu, 30 Aug 2018 08:30:05 +0000 (11:30 +0300)]
Disable Community Results page and restrict access to results
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>
6 years agoUpdating and restructuring documentation links 71/61471/1
Georg Kunz [Tue, 28 Aug 2018 11:58:03 +0000 (13:58 +0200)]
Updating and restructuring documentation links

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>
6 years agoAllow only owner of tests and administrator to delete tests 65/61465/1
Stamatis Katsaounis [Tue, 28 Aug 2018 11:52:28 +0000 (14:52 +0300)]
Allow only owner of tests and administrator to delete tests

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>
6 years agoMerge "Homogenize file size error from nginx with python errors"
Dan Xu [Tue, 28 Aug 2018 06:19:52 +0000 (06:19 +0000)]
Merge "Homogenize file size error from nginx with python errors"

6 years agoHomogenize file size error from nginx with python errors 15/61415/1
Stamatis Katsaounis [Mon, 27 Aug 2018 09:15:49 +0000 (12:15 +0300)]
Homogenize file size error from nginx with python errors

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>
6 years agoRespect Upload file size limit on local docker deployment 13/61413/1
Stamatis Katsaounis [Mon, 27 Aug 2018 07:57:30 +0000 (10:57 +0300)]
Respect Upload file size limit on local docker deployment

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>
6 years agoMerge "Resolve internal errors 500"
Dan Xu [Mon, 27 Aug 2018 01:52:59 +0000 (01:52 +0000)]
Merge "Resolve internal errors 500"

6 years agoUpdate test case list for web portal 89/61389/1
Georg Kunz [Sat, 25 Aug 2018 22:49:44 +0000 (00:49 +0200)]
Update test case list for web portal

Update the test case list for the 2018.08 release.

Change-Id: I91f83de73f666039c5965fbc526599b2d58dae3c
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoResolve internal errors 500 37/61337/1
Stamatis Katsaounis [Fri, 24 Aug 2018 13:57:38 +0000 (16:57 +0300)]
Resolve internal errors 500

* 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>
6 years agoImprove Dockerfiles to be more efficient. 89/61289/1
Stamatis Katsaounis [Thu, 23 Aug 2018 12:48:11 +0000 (15:48 +0300)]
Improve Dockerfiles to be more efficient.

Change-Id: I1739e75d94b0e3f7b4c411ded2fb911e4195da12
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoEnlarge the file size allowed to be uploaded 69/60769/1
xudan [Thu, 9 Aug 2018 11:21:46 +0000 (07:21 -0400)]
Enlarge the file size allowed to be uploaded

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>
6 years agoUpdate the testcase.json file for web 63/60463/1
xudan [Wed, 1 Aug 2018 06:46:45 +0000 (02:46 -0400)]
Update the testcase.json file for web

Change-Id: I35207636fdbda8dab82567f9f9b834e9acf5ca41
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoMerge "Enable web portal to open log files for each test case of OVP 2018.0x release"
Georg Kunz [Mon, 30 Jul 2018 09:10:24 +0000 (09:10 +0000)]
Merge "Enable web portal to open log files for each test case of OVP 2018.0x release"

6 years agoShowing OVP version on "my results" page 23/60223/2
Georg Kunz [Thu, 26 Jul 2018 21:32:54 +0000 (23:32 +0200)]
Showing OVP version on "my results" page

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>
6 years agoEnable web portal to open log files for each test case of OVP 2018.0x release 67/60267/2
xudan [Fri, 27 Jul 2018 09:19:56 +0000 (05:19 -0400)]
Enable web portal to open log files for each test case of OVP 2018.0x release

JIRA: DOVETAIL-705

Change-Id: Ie51a9f447c4d9f54f1a73e4a15c8594a39d57f3f
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoMerge "Update web portal for 2018.08 results"
Georg Kunz [Wed, 25 Jul 2018 09:35:30 +0000 (09:35 +0000)]
Merge "Update web portal for 2018.08 results"

6 years agoScript for creating testcases.json for the web portal 59/60159/1
Georg Kunz [Tue, 24 Jul 2018 15:02:44 +0000 (17:02 +0200)]
Script for creating testcases.json for the web portal

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>
6 years agoFix the version of packages in requirements.txt 85/59985/1
xudan [Thu, 19 Jul 2018 09:52:04 +0000 (05:52 -0400)]
Fix the version of packages in requirements.txt

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>
6 years agoUpdate web portal for 2018.08 results 23/59923/2
Georg Kunz [Wed, 18 Jul 2018 09:16:21 +0000 (11:16 +0200)]
Update web portal for 2018.08 results

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>
6 years agoEdit the gitignore file 43/59843/1
xudan [Mon, 16 Jul 2018 07:53:47 +0000 (03:53 -0400)]
Edit the gitignore file

Delete some key in file .gitignore which cause missing some source files.

Change-Id: Icddac3c1d956d75853a3062b549cb2d725ba2fa8
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoUpdate the dockerfile for 2 docker images 05/59605/2
xudan [Mon, 9 Jul 2018 03:45:44 +0000 (23:45 -0400)]
Update the dockerfile for 2 docker images

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>
6 years agoMove all web portal code to the new repo dovetail-webportal 79/59579/1
xudan [Fri, 6 Jul 2018 09:16:40 +0000 (05:16 -0400)]
Move all web portal code to the new repo dovetail-webportal

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>
6 years agoInitial Commit of dovetail-webportal 69/59569/1
Trevor Bramwell [Thu, 5 Jul 2018 17:08:38 +0000 (10:08 -0700)]
Initial Commit of dovetail-webportal

Change-Id: I779651499dd991e87f73ac857b555746f73d9d28
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>