aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/resources/result_handlers.py
AgeCommit message (Collapse)AuthorFilesLines
2020-10-20Fix the format issuesHEADopnfv-10.0.0stable/jermamasterKanagaraj Manickam1-2/+2
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Id0058788d8d2d8fb8a1fa0a7c43fc3c1731d73df
2020-10-19Added memcache for token validationKanagaraj Manickam1-2/+3
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I4503cb02fe146f92e3d5d08f123628900522335b
2020-10-19Added upload file validationKanagaraj Manickam1-0/+4
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I2e0b2d874934423719ee94cefac45d20d5f798b1
2020-10-19Added token validation for result uploadKanagaraj Manickam1-0/+4
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I1a9faf804d028c32896f915c4f9fb52ed2d4aace
2020-10-19Added Result Upload apiKanagaraj Manickam1-0/+92
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I34cc6508e2e04c50bed65c06ccfca785758a8757
2020-02-11Updated portal for OVP 2019.12 releaseovp-3.0.1Lincoln Lavoie1-8/+32
* 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
2019-03-20Enable Web Portal for ONAP resultspkaralis1-4/+36
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>
2018-11-01Fix Tox related issuesStamatis Katsaounis1-2/+2
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-04Revive unit tests and flake8 of webportalStamatis Katsaounis1-1/+1
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-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-webportalxudan1-0/+308
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>