dovetail-webportal.git
4 years agoupdated code alignment 89/71289/4
Kanagaraj Manickam [Fri, 25 Sep 2020 15:29:42 +0000 (20:59 +0530)]
updated code alignment

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I67213176adffdd328513556cca4298a9b2642f10

4 years agoupdated logout api validations 88/71288/4
Kanagaraj Manickam [Fri, 25 Sep 2020 15:15:14 +0000 (20:45 +0530)]
updated logout api validations

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I60bdd02743fb56b439b539869406484bbed8d445

4 years agoAdded Mem-cache for token validation 87/71287/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:58:33 +0000 (20:28 +0530)]
Added Mem-cache for token validation

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I63507882bac7f4fa97983b0ed883e23ae8c1a236

4 years agoAdded Token Validation for test upload api 86/71286/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:55:38 +0000 (20:25 +0530)]
Added Token Validation for test upload api

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I4e4d4c5fdbb16ebf79a039039bd16fa59dbb04e1

4 years agoAdded Test Upload Api 85/71285/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:50:42 +0000 (20:20 +0530)]
Added Test Upload Api

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ib15d3ad5eba97d6b1a601dc2cfaa71d9815ccde4

4 years agoFixed login response issue 84/71284/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:47:05 +0000 (20:17 +0530)]
Fixed login response issue

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ic1e8bce8fc6391c1d3b6257056fe10079e31ed94

4 years agoset Token to empty after logout 83/71283/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:28:46 +0000 (19:58 +0530)]
set Token to empty after logout

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ifa36bb1611b08945a7a72964dd14a59a45638047

4 years agoAdded memcache for token validation 82/71282/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:27:00 +0000 (19:57 +0530)]
Added memcache for token validation

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I4503cb02fe146f92e3d5d08f123628900522335b

4 years agoAdded upload file validation 81/71281/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:20:28 +0000 (19:50 +0530)]
Added upload file validation

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I2e0b2d874934423719ee94cefac45d20d5f798b1

4 years agoAdded token validation for result upload 80/71280/4
Kanagaraj Manickam [Fri, 25 Sep 2020 14:16:24 +0000 (19:46 +0530)]
Added token validation for result upload

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I1a9faf804d028c32896f915c4f9fb52ed2d4aace

4 years agoAdded Result Upload api 79/71279/4
Kanagaraj Manickam [Fri, 25 Sep 2020 13:55:29 +0000 (19:25 +0530)]
Added Result Upload api

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I34cc6508e2e04c50bed65c06ccfca785758a8757

4 years agoAddd Mem-cache for token validation 78/71278/4
Kanagaraj Manickam [Fri, 25 Sep 2020 13:36:37 +0000 (19:06 +0530)]
Addd Mem-cache for token validation

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I070d9ad49337741049ab6442df9ff2d8bc98d257

4 years agoAdded Token Validation before logout 77/71277/4
Kanagaraj Manickam [Fri, 25 Sep 2020 13:29:30 +0000 (18:59 +0530)]
Added Token Validation before logout

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I75062a31f17e628215aa7c0d8768e5be486a515e

4 years agoAdded Logout Dovetail-Webportal 76/71276/4
Kanagaraj Manickam [Fri, 25 Sep 2020 13:23:57 +0000 (18:53 +0530)]
Added Logout Dovetail-Webportal

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I298d65141b4c9a795744c7f59e43ca5662103895

4 years agoAdded Mem-cache for storing token 75/71275/4
Kanagaraj Manickam [Fri, 25 Sep 2020 10:30:39 +0000 (16:00 +0530)]
Added Mem-cache for storing token

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ia3a3683a6e635c86447ca6bd96c7416d73febf7d

4 years agoAdded Token Generation while login 74/71274/4
Kanagaraj Manickam [Fri, 25 Sep 2020 10:21:55 +0000 (15:51 +0530)]
Added Token Generation while login

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I8acbcf4ce21adfb8c82ec1be7577ed9b5acd094c

4 years agoAdded Validation for Invalid Credentilas 73/71273/4
Kanagaraj Manickam [Fri, 25 Sep 2020 10:15:30 +0000 (15:45 +0530)]
Added Validation for Invalid Credentilas

Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I35b35773847ecc9175ca634cb9ae1a341c9c2eeb

4 years agoAdded Login feild validations 72/71272/4
Kanagaraj Manickam [Fri, 25 Sep 2020 10:11:11 +0000 (15:41 +0530)]
Added Login feild validations

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ifc9925d3ad8da973804919746902fd7754f98abd

4 years agoAdded Login Dovetail-Webportal 71/71271/3
Kanagaraj Manickam [Fri, 25 Sep 2020 09:57:22 +0000 (15:27 +0530)]
Added Login Dovetail-Webportal

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ife1a2b86bb72e7fbf86df61c835694e4a963fde8

4 years agoUpdate ports in docker compose 01/71001/1
Kanagaraj Manickam [Mon, 7 Sep 2020 03:32:25 +0000 (09:02 +0530)]
Update ports in docker compose

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I6d732440974a1659f0516a8ad205d895cb00abe4

4 years agoRemove password enteries 12/70912/1
Kanagaraj Manickam [Thu, 3 Sep 2020 03:41:43 +0000 (09:11 +0530)]
Remove password enteries

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: I3436f9df3e3f39a860729ee1a0ec9ffd22f657e7

4 years agoUpdate author details 10/70910/1
Kanagaraj Manickam [Wed, 2 Sep 2020 02:11:45 +0000 (07:41 +0530)]
Update author details

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ie353bbeb388ebaa64d93952f8cbc0b5cb341af96

4 years agoUpdate the Project details 09/70909/1
Kanagaraj Manickam [Tue, 1 Sep 2020 12:07:35 +0000 (17:37 +0530)]
Update the Project details

Issue-ID: DOVETAIL-801

Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ia341e6581eadb3101166183e7e310890941c6499

4 years agoAdded notice of OPNFV TSC suspending OVP2019.12 infra badge 86/70886/3
Lincoln Lavoie [Wed, 26 Aug 2020 01:24:12 +0000 (21:24 -0400)]
Added notice of OPNFV TSC suspending OVP2019.12 infra badge

Added the notice to the home page of the nfvi-verified portal.
Fixed htmllint complaints.
Updated based on gerrit feedback.

Signed-off-by: Lincoln Lavoie <lylavoie@iol.unh.edu>
Change-Id: I416933426710b77f04a9e885851d384e38f71521

5 years agoUpdated portal for OVP 2019.12 release 56/69656/3 ovp-3.0.1
Lincoln Lavoie [Thu, 6 Feb 2020 18:41:17 +0000 (13:41 -0500)]
Updated portal for OVP 2019.12 release

* Fixed errors for VNF results
* Cleaned up couple of other errors
* Added TOSCA test case requirements.
* Fixed typos and white space issues.
* Corrected flake8 and weblint failures

Signed-off-by: Lincoln Lavoie <lylavoie@iol.unh.edu>
Change-Id: I911f294725c353d1388f44f79814cadc31e21574

5 years agoAdd NFVI 2019.12 version on portal 00/68800/3
xudan [Thu, 7 Nov 2019 03:22:46 +0000 (22:22 -0500)]
Add NFVI 2019.12 version on portal

JIRA: DOVETAIL-787

Change-Id: Idca4d2164965781bc0e0e7e81816cad1804e12ff
Signed-off-by: xudan <xudan16@huawei.com>
5 years agoMerge "Update Portal Meta Description"
Dan Xu [Mon, 14 Oct 2019 01:53:50 +0000 (01:53 +0000)]
Merge "Update Portal Meta Description"

5 years agoMerge "Update VNF and NFVI Badges"
Dan Xu [Mon, 14 Oct 2019 01:53:15 +0000 (01:53 +0000)]
Merge "Update VNF and NFVI Badges"

5 years agoMerge "Update Color Scheme for NFVI Portal"
Dan Xu [Mon, 14 Oct 2019 01:52:56 +0000 (01:52 +0000)]
Merge "Update Color Scheme for NFVI Portal"

5 years agoMerge "API validation only for NFVI and gets from results.json"
Dan Xu [Mon, 2 Sep 2019 01:58:14 +0000 (01:58 +0000)]
Merge "API validation only for NFVI and gets from results.json"

5 years agoUpdate portal to get portal_key_file from results.json 07/68407/1
xudan [Thu, 29 Aug 2019 07:39:06 +0000 (03:39 -0400)]
Update portal to get portal_key_file from results.json

Change-Id: I210a9c240b720e3367134112ad2cdb5c3fdeffe0
Signed-off-by: xudan <xudan16@huawei.com>
5 years agoAPI validation only for NFVI and gets from results.json 71/68371/2
xudan [Wed, 21 Aug 2019 10:13:05 +0000 (06:13 -0400)]
API validation only for NFVI and gets from results.json

Change-Id: Ia84d67098d7fc2f5e8da88900a2a8846f718f085
Signed-off-by: xudan <xudan16@huawei.com>
5 years agoMerge "Update Support Email Address"
Dan Xu [Thu, 9 May 2019 11:26:06 +0000 (11:26 +0000)]
Merge "Update Support Email Address"

5 years agoMerge "Add License for Dovetail webportal"
Dan Xu [Thu, 9 May 2019 11:25:15 +0000 (11:25 +0000)]
Merge "Add License for Dovetail webportal"

5 years agoUpdate Support Email Address 76/67776/1
Trevor Bramwell [Mon, 6 May 2019 18:25:03 +0000 (11:25 -0700)]
Update Support Email Address

The suport email address has moved from verified@opnfv.org to
ovp-support@lfnetworking.org as the portal has moved to the
lfnetworking.org domain.

Change-Id: I9fe1a885538b8c5f27debeea86072d6870e1fac9
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
5 years agoMerge "Bug fix for ONAP/OVP portals"
Panagiotis Karalis [Fri, 3 May 2019 08:04:06 +0000 (08:04 +0000)]
Merge "Bug fix for ONAP/OVP portals"

6 years agoAdd License for Dovetail webportal 19/67719/3
xudan [Mon, 29 Apr 2019 07:02:13 +0000 (03:02 -0400)]
Add License for Dovetail webportal

Add license for all files in this repo except following:
1. all .png, .gif and .json files
2. all empty __init__.py files
3. MANIFEST.in
4. .htmllintrc
5. node-requirements.txt
6. update/README.md
7. opnfv_testapi/ui/auth/rsa.pem
8. opnfv_testapi/tornado_swagger/README.md
9. 3rd_party/static/testapi_ui/favicon.ico
10. 3rd_party/static/onap_ui/favicon.ico

Change-Id: I6329d09b67cdafaa545cea7894e5edf3466d0009
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoPortal Bug - non proper display of Non Exec TCs 02/67702/3
Panagiotis Karalis [Thu, 25 Apr 2019 12:30:47 +0000 (15:30 +0300)]
Portal Bug - non proper display of Non Exec TCs

The non executed test cases have not any verdict,
assigned by the dovetail project (e.g. PASS, SKIP, FAIL).
In that case, the portal cannot recognize those TCs as failed ones
and they are out of the 'Not Passed' list in the Test Result Overview.

The problem is focused on NFVI portal.

Therefore, the controller has been updated, removing the check for the
failed TCs.
If the TC is not belonged either to Pass or Skip list then this TC is
pushed in the Not Pass list.
So, the failed as well as the non executed TCs appear under
'Non Passed' list.

JIRA: DOVETAIL-773

Change-Id: I71e639c168bbda1065e12b063e22f17875536a9a
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoBug fix for ONAP/OVP portals 15/67615/4
Panagiotis Karalis [Thu, 18 Apr 2019 15:48:22 +0000 (18:48 +0300)]
Bug fix for ONAP/OVP portals

During portal review, some errors have been noticed and fixed.
- 'no role', In the 'My Results' page are displayed also results
from other users.
- 'user,reviewer' role, In the 'My Results' page are appeared all
results and not only for the current user.
- 'administrator' role, The applications are not appeared in the
application page
- 'reviewer' role, Reviewers cannot submit votes and after few
seconds a 'time out' is received.

Change-Id: Ia9bc3c4fdcac1b37ac03adff64ff689ca2428c0f
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoMerge "Update and add some hyperlinks"
Dan Xu [Thu, 18 Apr 2019 01:06:28 +0000 (01:06 +0000)]
Merge "Update and add some hyperlinks"

6 years agoUpdate the behavior of roles for OVP/ONAP portals 42/67542/2
Panagiotis Karalis [Thu, 11 Apr 2019 14:33:09 +0000 (17:33 +0300)]
Update the behavior of roles for OVP/ONAP portals

The behavior of portals' roles are updated according to CVC decisions.
The behavior will be:
* no roles - the person can upload results and share results
to other users, but can not submit an application/results for review
* "user" role - the person can submit the application/results
fore review. To have this role, the person MUST have signed the
participation agreement through docusign.
* "reviewer" role - the person can see applications / results
submitted to review, and can vote (+1 / -1) on those results as part
of the review process. Votes are recorded.
* "admin" role - the person can approve applications
for public listing, etc. Final gatekeeper for the website, etc.
Responsible to ensure processes are followed, etc.

Change-Id: Ieca55725378c85f544eeea4390046bae456ee1a3
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoMerge "Enhanced OVP Web Portal"
Dan Xu [Thu, 11 Apr 2019 06:39:25 +0000 (06:39 +0000)]
Merge "Enhanced OVP Web Portal"

6 years agoFixing bug related to the ONAP results page 96/67496/3
Panagiotis Karalis [Mon, 8 Apr 2019 09:40:31 +0000 (12:40 +0300)]
Fixing bug related to the ONAP results page

If anyone without access (i.e. without 'user' role in the
profile) tries to connect at 'user_results' page,
no permissions to upload new results should be granted.

Change-Id: Ice7418c16fe1fcff7133eca537b10f4f05a3e491
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoEnhanced OVP Web Portal 17/66617/6
Panagiotis Karalis [Thu, 24 Jan 2019 13:04:15 +0000 (15:04 +0200)]
Enhanced OVP Web Portal

The OVP web portal is updated with some improvements.
Those improvements are focused on the styling part of the portal
as well as on the introduction of new functions related to the
reviews, applications and the generally flow.

JIRA: DOVETAIL-670
JIRA: DOVETAIL-760

Change-Id: Ic5ca90eaaee36de43486ff55ad9aa788136587c6
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoUpdate and add some hyperlinks 15/67515/2
xudan [Wed, 10 Apr 2019 06:22:54 +0000 (02:22 -0400)]
Update and add some hyperlinks

Change-Id: Ib16e2804475b4271a6810c69eac4f1a5f1e3c41a
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoUpdate Color Scheme for NFVI Portal 75/67475/1
Trevor Bramwell [Wed, 3 Apr 2019 16:57:14 +0000 (09:57 -0700)]
Update Color Scheme for NFVI Portal

This matches the changes to the VNF portal with a change from the
green/teal color to blue.

Change-Id: Id3bf0d8fd70ec1e00f178742191586de76123603
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoUpdate VNF and NFVI Badges 76/67476/1
Trevor Bramwell [Wed, 3 Apr 2019 16:21:13 +0000 (09:21 -0700)]
Update VNF and NFVI Badges

The color scheme changed on the VNF badge, and the NFVI badge had extra
space around the image.

Change-Id: I97933932d4c8aab0ec49fda1ab6a2b1d79167957
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoUpdate Portal Meta Description 74/67474/1
Trevor Bramwell [Wed, 3 Apr 2019 15:53:57 +0000 (08:53 -0700)]
Update Portal Meta Description

The description in the VNF and NFVI portal's meta tag is updated to
reflect their content. This should help distinguish them when posting
links and finding them in search engine results as the meta description
is displayed to provide context.

Change-Id: I5c6ecf1847ed6036360ed9a1a16132ef66bba666
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoPortal updates for VNF Launch 21/67421/7
Trevor Bramwell [Thu, 28 Mar 2019 07:18:26 +0000 (00:18 -0700)]
Portal updates for VNF Launch

Moves some of the Workflow and Governance links into the body of the
home page, and removes those sections from the sidebar. Updates the
header, logos, and badge used.

Links to OVP overview updated to point to latest documentation, not
stable-fraser as this includes the VNF testing instructions.

Change-Id: Iceea0e24afc57ed3919a36cf2844717be455e238
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge changes I36bbb6e6,I2f597763
Dan Xu [Fri, 22 Mar 2019 07:44:31 +0000 (07:44 +0000)]
Merge changes I36bbb6e6,I2f597763

* changes:
  Enable Web Portal for ONAP results
  Prepare Web Portal for ONAP integration

6 years agoEnable Web Portal for ONAP results 07/65607/63
pkaralis [Wed, 5 Dec 2018 22:43:12 +0000 (00:43 +0200)]
Enable Web Portal for ONAP results

The web portal needs to be able to read test results of the ONAP
compliance program and display them.
In order for the above goal to be achieved, the following two parts
should be impacted:
1- A new front-end should be prepared in order to handle and display
   the results
2- The REST API should be extended in order to support the aforementioned
   operation.

JIRA: DOVETAIL-669

Change-Id: I36bbb6e602a67020d7e27aedbfc776f5cf4f3dc3
Signed-off-by: pkaralis <pkaralis@intracom-telecom.com>
Co-Authored-By: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoAdd skipped TCs in the portal's result report 75/67175/5
Panagiotis Karalis [Tue, 5 Mar 2019 12:43:27 +0000 (14:43 +0200)]
Add skipped TCs in the portal's result report

Since the dovetail supports the 'SKIP' verdict for the results,
the OVP portal should be updated in order to collect and display the
skipped testcases and sub-testcases properly.

The report of results has been improved, so that a third column is
introduced for skipped results (Passed, Skipped, Not Passed).

JIRA: DOVETAIL-765

Change-Id: Ia1a0d8bd732814137e495dc4c6ef5ebb0ef0ed73
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoPrepare Web Portal for ONAP integration 83/65583/10
Stamatis Katsaounis [Wed, 5 Dec 2018 10:40:42 +0000 (12:40 +0200)]
Prepare Web Portal for ONAP integration

This patch applies all the required changes in order to support a
second web portal container with the onap web portal content.

Change-Id: I2f59776313bf2067dbdfb04445620b5241716ebb
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoUpdated test case list according to moved patrol tests 83/66983/4 ovp-2.2.0
Georg Kunz [Tue, 12 Feb 2019 12:50:44 +0000 (13:50 +0100)]
Updated test case list according to moved patrol tests

Two patrol tests were moved from mandatory to optional in the 2018.09
test suite due to their dependency on VxLAN. This patch updates the
testcases list accordingly.

JIRA: DOVETAIL-756

Change-Id: Ib12cacb8cc5813304434539659ec88b3a4d78358
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoFix lint and identation issues and remove unwanted parts of code 89/66989/2
Stamatis Katsaounis [Tue, 12 Feb 2019 14:03:17 +0000 (16:03 +0200)]
Fix lint and identation issues and remove unwanted parts of code

Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoImprove Docker deployment 43/65443/2
Stamatis Katsaounis [Wed, 28 Nov 2018 08:43:33 +0000 (10:43 +0200)]
Improve Docker deployment

JIRA: DOVETAIL-755

This patch improves Docker deployment. It removes the extra unwanted
container. In addition, it removes unused files. Finally, it fixes the
issue of python install where the static files of swagger where not
installed inside the api container.

Change-Id: Id74c88ab77182ed233f0eedad39ff8da245bb3dd
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoUpdate tox to run htmllint and csslint 83/65383/10
Stamatis Katsaounis [Mon, 26 Nov 2018 09:25:29 +0000 (11:25 +0200)]
Update tox to run htmllint and csslint

JIRA: DOVETAIL-753

This patch adds a new tox environment to run htmllint and csslint.
Furthermore, it fixes any leftover html and css errors.

Change-Id: Ie3fda8d89b3d52851debe1a4271ffd0ac8fbee68
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoClean CSS code 59/65359/4
Stamatis Katsaounis [Fri, 23 Nov 2018 09:15:45 +0000 (11:15 +0200)]
Clean CSS code

JIRA: DOVETAIL-753

This patch cleans the CSS code, which was in a bad state and not
maintainable.

Change-Id: I6b18bcc8f45d1df091c2e17f0b0a99f0be49d6d6
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoClean HTML code 11/65311/2
Stamatis Katsaounis [Wed, 21 Nov 2018 15:11:44 +0000 (17:11 +0200)]
Clean HTML code

JIRA: DOVETAIL-753

This patch cleans the HTML code, which was in a bad state and not
maintainable.

Change-Id: Iab19a9af1835a384544f58c13ba5664723306535
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoFix some genaral syntax errors 07/64507/2
Panagiotis Karalis [Mon, 5 Nov 2018 15:52:48 +0000 (17:52 +0200)]
Fix some genaral syntax errors

Some syntax errors have been noticed and fixed.

Change-Id: I8fd22e6c3242f0f029ed262e2eb63677bed41017
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
6 years agoDynamically fetching javascript dependencies 77/64377/2
Stamatis Katsaounis [Thu, 1 Nov 2018 10:44:50 +0000 (12:44 +0200)]
Dynamically fetching javascript dependencies

JIRA: DOVETAIL-746

This patch deletes the source code of javascript dependencies from
web portal. Furthermore, it uses npm to install them.

Change-Id: Idc40606ff9e7286aa66421cbbe05f94d7ce9f7e6
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoFix Tox related issues 81/64381/1
Stamatis Katsaounis [Thu, 1 Nov 2018 11:00:43 +0000 (13:00 +0200)]
Fix Tox related issues

This patch:
- Fixes W504 and ignores W503, based on new rules for breaking with
  binary operators
- No longer ignores lines bigger than 80 characters.
- Comments out a specific unit test beucase it has an abnormal
  behavior. Sometimes, it passes while other it does not. It is not
  code related problem, but it results in false positive negative
  votes from jenkins-ci.

Change-Id: I02d76daf2eb64621a599e6179ca4912b63b59d88
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
6 years agoMake uploaded company logos persistent 91/63691/3 ovp-2.0.0
Stamatis Katsaounis [Thu, 18 Oct 2018 11:56:16 +0000 (14:56 +0300)]
Make uploaded company logos persistent

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>
6 years agoRevive unit tests and flake8 of webportal 57/63157/1
Stamatis Katsaounis [Thu, 4 Oct 2018 09:42:16 +0000 (12:42 +0300)]
Revive unit tests and flake8 of webportal

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>
6 years agoUpdating the links on the web portal to the latest versions. 15/62915/1
Georg Kunz [Mon, 24 Sep 2018 20:52:55 +0000 (22:52 +0200)]
Updating the links on the web portal to the latest versions.

Change-Id: I45e3f49e0cb82ac3964b078f349bd8f4e8069dec
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoDecreasing font size of OVP web portal heading 93/62693/2
Georg Kunz [Fri, 21 Sep 2018 08:34:58 +0000 (10:34 +0200)]
Decreasing font size of OVP web portal heading

Decreasing the font size of the main heading on Bradon's request.

Change-Id: Ie0498f0ebb1c85f6ea73b4230d72715f717f4ae3
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoUpdate marketing message on web portal for release 37/62537/5
Georg Kunz [Wed, 19 Sep 2018 07:25:31 +0000 (09:25 +0200)]
Update marketing message on web portal for release

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>
6 years agoMerge "Update webportal testcases.json file"
Dan Xu [Fri, 14 Sep 2018 01:23:15 +0000 (01:23 +0000)]
Merge "Update webportal testcases.json file"

6 years agoUpdate webportal testcases.json file 71/62171/1
xudan [Thu, 13 Sep 2018 04:11:24 +0000 (00:11 -0400)]
Update webportal testcases.json file

Change-Id: Ie3d796a2611a890e8872437a7be389d758e38737
Signed-off-by: xudan <xudan16@huawei.com>
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>