aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi
AgeCommit message (Collapse)AuthorFilesLines
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>