aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi
AgeCommit message (Collapse)AuthorFilesLines
2019-04-10Enhanced OVP Web PortalPanagiotis Karalis2-5/+1
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-03-20Enable Web Portal for ONAP resultspkaralis11-53/+388
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-08Prepare Web Portal for ONAP integrationStamatis Katsaounis1-10/+0
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-13Fix lint and identation issues and remove unwanted parts of codeStamatis Katsaounis1-3/+3
Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-28Improve Docker deploymentStamatis Katsaounis4-6/+5
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-01Fix Tox related issuesStamatis Katsaounis4-13/+14
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 Katsaounis1-2/+2
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 Katsaounis11-9/+29
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-08-30Disable Community Results page and restrict access to resultsStamatis Katsaounis1-0/+4
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-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-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-07-27Showing OVP version on "my results" pageGeorg Kunz1-1/+9
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-06Move all web portal code to the new repo dovetail-webportalxudan71-0/+6640
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>