summaryrefslogtreecommitdiffstats
path: root/cvp
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27[cvp-web] Admin can approve and not approve resultsgrakiss2-11/+39
JIRA: DOVETAIL-562 According to the CVP workflow, once a result has been submitted to review, the admin will send email to all reviewers to get the comment (+1 / -1). Enable admin to approve/not approve the result after he gets the feedback from all reviewers. Otherwise, the result will always be in 'review' status. Change-Id: Ic3ace3c7284c70e9a8186d03e6cd88c91ecc76f9 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20Just enable withdraw for the one who submit to review (onwer)grakiss1-2/+2
JIRA: DOVETAIL-559 Just enable withdraw for the one who submit to review (onwer). Change-Id: I4f073fa00930c8f211239ee42034bb40c1af1f91 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20[cvp-web] Can't submit the same results to review from different usersgrakiss1-16/+12
JIRA: DOVETAIL-560 Can't submit the same results to review from different users. Change-Id: I4a3dcc2dc8a817653ac9da6f93722659e04c89a1 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20[cvp-web] Bugfix:return 500 when upload a tarball file with no results.jsongrakiss3-15/+25
JIRA: DOVETAIL-558 The Web portal will return 500 code when upload a tarball file with no results.json When all test cases failed or report with wrong DB url, there may be no results.json. Check this and alert users instead of returning 500 status code. Change-Id: Ie13d9c3c62044c525f5dbb3fca9b6123d0b5acce Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-15Remove style.css for License issuegrakiss5-168/+88
style.css is GPL 3.0 License based, we need to remove it. The origin css file is as bellow: https://www.opnfv.org/wp-content/themes/salient/style.css?ver=4.8.3 So I remove style.css, and write a new css file to replace it. Change-Id: I78a572f74c71081052767622903b371e22e158a4 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-09Added a license metadata line to specify Apache-2.0rpaik1-0/+1
Change-Id: Ic5c3c3e2bbc2cff54f291fcd77bf9b5741f9f606 Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-11-09[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the ↵grakiss3-68/+89
'Test ID' JIRA: DOVETAIL-554 It allows different users to upload the same results now. So the 'Test ID' is not unique in this situation. Use '_id' as the primary key which can uniquely identify one data. Change-Id: I852ee116f36a6a86e9b4350183e39ee00f8b99de Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-09[cvp-web] Bugfix: Results shared by email are not shown on non-reviewer's pagesgrakiss1-11/+15
JIRA: DOVETAIL-551 The CVP web portal can support share with name and share with email address. But when sharing with email, the pages of non-reviewers will not show the results shared by others. Change-Id: I94451448cc60d1f7a3472d756c502200757a16a8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-08[cvp-web] Allow accounts with role 'reviewer' to submit resutsgrakiss1-2/+2
JIRA: DOVETAIL-549 Accounts within the CVP portal with the role 'reviewer' cannot submit test results currently. While reviewers cannot review their own results, they should be able to submit results. Many within the Dovetail community will be serving multiple roles as testers and reviewers. Change-Id: I762aeec64bb2b207c582aa79e0ad1bd5a635fd19 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-02Bugfix: remove redundancy linegrakiss1-1/+0
There is a redundancy line in result page when auto merge. We need to remove it. Change-Id: I31a754d881584be5a715ddcf6f1f32b25158dfca Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01Remove approve / no approve options for reviewersgrakiss1-0/+6
Distinguish results shared or submitted from a tester JIRA: DOVETAIL-544 JIRA: DOVETAIL-545 [cvp-web]There is consensus within C&C committee to move towards a simpler means of voting by reviewers. We will use email voting (+1) on the [cvp@opnfv.org|mailto:cvp@opnfv.org] email alias. For now, can we disable the approve / not approve options in the drop-down in the 'Operation' column of the results? We can revisit this feature in the future after some experience with the manual method. [cvp-web]When a user shares or submits results, the recipient of those results (share target or reviewer) do not know where the results originated from. To remedy this issue, we will add a column labeled 'Owner' to the 'My Results' table that shows the email address or the sending party? Change-Id: I586b01ad113d898fe3d5824025df9877118fa622 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01[cvp-web] Show some SUT hardware info in 'My Results'grakiss10-4/+256
[cvp-web] Show SUT endpoint in web page JIRA: DOVETAIL-541 JIRA: DOVETAIL-547 Show some SUT hardware info that dovetail concern in 'My Results' web page. Show the info of all endpoints get from Dovetail tool in the web page. Change-Id: Ibc465396e17b7c22678e3948fa2f659cbff6f323 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01[web-cvp] Trigger an email when admin submit an application formgrakiss2-1/+84
JIRA: DOVETAIL-542 Trigger an email to cvp@opnfv.org when admin submit an application form. Change-Id: Ie73d5a6380b5f5d1b0507564dc1f067047284f99 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-19[web-cvp]Additional columns in ‘My Results’grakiss11-11/+2991
JIRA: DOVETAIL-532 1. original filename 2. user editable label Change-Id: I1566cecb3d8ceacc14167bb2fb7fa41508f293be Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-20[web-cvp]share result by emailgrakiss5-16/+44
JIRA: DOVETAIL-529 It may be easier to get other people's email than his user id Change-Id: Ia5f9aa72d3c79bd3f5e69dad98b3f188cdaafc3d Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-19[web-cvp]Direct drill-down for failed testsgrakiss2-1/+15
JIRA: DOVETAIL-531 people may want to directly drill-down to the exact log file of each results, instead of searching in piles of log files. Change-Id: I6e18b8d57739fd695e20ee29147e796de5c9e404 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-12[web-cvp]failed to build docker image due to setuptools versiongrakiss1-0/+1
JIRA: DOVETAIL-526 error on docker build, upgrade the setuptools: error in cryptography setup command: Invalid environment marker: python_version < '3' Change-Id: If3b2b2ecd3a3e23f66cacb6a2048f15f1715dcd4 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-12[web-cvp]add a api to fecth logs of backend apigrakiss4-0/+17
JIRA: DOVETAIL-525 provide a easy way to fetch logs of backend apis Change-Id: I72054a6e155e6970254ed391dfa8b25943eceb35 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-09[web-cvp]fix api&web service in dockerfilesgrakiss2-6/+10
JIRA: DOVETAIL-523 api&web services is not running due to packages installation errors Change-Id: I5175d987dfda3cefe28a3a37754acc9fc8d7bc13 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-09[web-cvp]missing files in web sitesgrakiss3-0/+612
JIRA: DOVETAIL-522 some files missing due to incorrect .gitignore settings Change-Id: I4d81842afcb6f2734abeebbdcde56ec5b3e1655b Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-09Merge "[web-cvp]osinteros is counted as optional test case"Leo wang1-1/+1
2017-09-30[web-cvp]osinteros is counted as optional test casegrakiss1-1/+1
JIRA: DOVETAIL-518 'defcore' is changed to 'osinterop', counted as optional test case Change-Id: Ic5322c498869dcef9597530e343b053aebc376cf Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-09-30[web-cvp]failed to expand test resultsgrakiss1-2/+2
JIRA: DOVETAIL-517 When click on the "expand" button, nothing happens. Change-Id: Ibe1554baf047d56fa07e27e936c15b2664326382 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-09-29Merge "[cvp-web]correct dockerfile"Leo wang2-2/+25
2017-09-29Merge "[cvp-web]remove useless docker-compose yaml"Leo wang2-67/+7
2017-09-29[cvp-web]correct dockerfilegrakiss2-2/+25
JIRA: DOVETAIL-515 correct dockerfile, git clone from dovetail Change-Id: I1dee7f8ae5278f55bcf5928bbf88cdb079388494 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-09-28[cvp-web]remove useless docker-compose yamlgrakiss2-67/+7
JIRA: DOVETAIL-514 remove useless docker-compose yaml Change-Id: Ic754488611571c3464515772680ad94bbe5651ea Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-09-28[cvp-web]remove workflow on homepagegrakiss3-71/+3
JIRA: DOVETAIL-513 remove workflow on homepage, add a link to workflow instead Change-Id: Id8e551d4c593a2104c7cc8eb55468e9c29b5052a Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-09-28add api&web services for cvpgrakiss507-0/+115103
JIRA: DOVETAIL-512 add api&web services for cvp Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>