aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi
AgeCommit message (Collapse)AuthorFilesLines
2020-10-19Added Token Generation while loginKanagaraj Manickam1-0/+3
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I8acbcf4ce21adfb8c82ec1be7577ed9b5acd094c
2020-10-19Added Validation for Invalid CredentilasKanagaraj Manickam1-0/+3
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I35b35773847ecc9175ca634cb9ae1a341c9c2eeb
2020-10-19Added Login feild validationsKanagaraj Manickam2-0/+14
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Ifc9925d3ad8da973804919746902fd7754f98abd
2020-10-19Added Login Dovetail-WebportalKanagaraj Manickam2-1/+23
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Ife1a2b86bb72e7fbf86df61c835694e4a963fde8
2020-02-11Updated portal for OVP 2019.12 releaseovp-3.0.1Lincoln Lavoie2-9/+36
* 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-08-21API validation only for NFVI and gets from results.jsonxudan1-14/+35
Change-Id: Ia84d67098d7fc2f5e8da88900a2a8846f718f085 Signed-off-by: xudan <xudan16@huawei.com>
2019-05-09Merge "Add License for Dovetail webportal"Dan Xu16-0/+144
2019-04-29Add License for Dovetail webportalxudan16-0/+144
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>
2019-04-24Bug fix for ONAP/OVP portalsPanagiotis Karalis2-7/+28
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>
2019-04-15Update the behavior of roles for OVP/ONAP portalsPanagiotis Karalis1-1/+1
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-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>