aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25Portal Bug - non proper display of Non Exec TCsPanagiotis Karalis1-6/+6
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>
2019-04-18Merge "Update and add some hyperlinks"Dan Xu2-5/+9
2019-04-15Update the behavior of roles for OVP/ONAP portalsPanagiotis Karalis7-27/+107
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>
2019-04-11Merge "Enhanced OVP Web Portal"Dan Xu15-351/+892
2019-04-10Fixing bug related to the ONAP results pagePanagiotis Karalis1-1/+2
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>
2019-04-10Enhanced OVP Web PortalPanagiotis Karalis15-351/+892
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>
2019-04-10Update and add some hyperlinksxudan2-5/+9
Change-Id: Ib16e2804475b4271a6810c69eac4f1a5f1e3c41a Signed-off-by: xudan <xudan16@huawei.com>
2019-04-01Portal updates for VNF LaunchTrevor Bramwell14-146/+108
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>
2019-03-22Merge changes I36bbb6e6,I2f597763Dan Xu65-105/+8781
* changes: Enable Web Portal for ONAP results Prepare Web Portal for ONAP integration
2019-03-20Enable Web Portal for ONAP resultspkaralis56-54/+8656
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>
2019-03-08Add skipped TCs in the portal's result reportPanagiotis Karalis4-22/+81
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>
2019-03-08Prepare Web Portal for ONAP integrationStamatis Katsaounis10-51/+125
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>
2019-02-13Updated test case list according to moved patrol testsovp-2.2.0Georg Kunz1-3/+8
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>
2019-02-13Fix lint and identation issues and remove unwanted parts of codeStamatis Katsaounis11-2478/+1015
Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-28Improve Docker deploymentStamatis Katsaounis27-1025/+113
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>
2018-11-26Update tox to run htmllint and csslintStamatis Katsaounis28-312/+297
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>
2018-11-23Clean CSS codeStamatis Katsaounis6-1565/+2429
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>
2018-11-23Clean HTML codeStamatis Katsaounis25-1297/+1352
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>
2018-11-07Fix some genaral syntax errorsPanagiotis Karalis4-8/+9
Some syntax errors have been noticed and fixed. Change-Id: I8fd22e6c3242f0f029ed262e2eb63677bed41017 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-11-01Dynamically fetching javascript dependenciesStamatis Katsaounis331-95051/+64
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>
2018-11-01Fix Tox related issuesStamatis Katsaounis6-14/+16
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>
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>