aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/results/resultsController.js
AgeCommit message (Collapse)AuthorFilesLines
2019-04-24Bug fix for ONAP/OVP portalsPanagiotis Karalis1-1/+22
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-8/+53
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 Karalis1-9/+253
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-08Add skipped TCs in the portal's result reportPanagiotis Karalis1-5/+0
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>
2018-08-30Disable Community Results page and restrict access to resultsStamatis Katsaounis1-1/+1
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-07-06Move all web portal code to the new repo dovetail-webportalxudan1-0/+515
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>