summaryrefslogtreecommitdiffstats
path: root/cvp
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Extend web portal to show if API exemption was used during a test runchenjiankun3-1/+35
JIRA: DOVETAIL-634 The OVP web port needs to read from the test results if the strict API response validation exemption was used or not and show it correspondingly. Detailed description: As discussed on the Dovetail call on 2018-04-11, the web portal should show if API response validation was enabled or disabled. The information if API response validation was enabled or disabled is to be determined based on the dovetail.log file. If API response validation was disabled,** the log file contains the line "Strict API response validation DISABLED.". Upon uploading a result tar-package, the web portal should extract this information from the log file, store it in the database, and display it as follows: This indication shall be displayed along with the test summary on the Test Run Results page as either: "API response validation enabled" or "API response validation disabled" For clarification: API response validation is enabled by default. API response validation is disabled only if the --no-api-validation command line option is given. Change-Id: Ifacb1eb2127cc8dc6364c98dead1217aeedfd359 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-03-01Remove Whitespace from CVP Docker READMETrevor Bramwell1-2/+2
Change-Id: Ic880258ef8ffbcbdcf3452419dd385227567a5a3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-28Update CVP Docker Compose ConfigurationTrevor Bramwell5-11/+44
- Uses extra files config.env, vhost.env to hold environment variables for docker configuration. - Provides samples for these config that can be copied and modified to fit deployment requirements. - Updates the docker images to the newest releases. Change-Id: Ibe9b8597edfb38940297433708497c244200d0af Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-23Update OVP logo and branding guide linkEddie Arrage2-1/+1
- Update the OPNFV Verified logo for OVP portal home page - Update branding guide link in OVP portal left side navigation Change-Id: I77ead3e68b34d30d55fd07f0e4a176c5ae71852e Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2018-01-26Bugfix: Cannot change SUT version in the new uploaded testchenjiankun1-3/+13
If we upload a new test, we can't modify the SUT version. The reason is we must predefine the model. Change-Id: I8822b078c25a015dd4cc4becfdaae141aed66359 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-01-24[ovp-web] Modify OVP home page left-side navigation linkschenjiankun1-14/+20
JIRA: DOVETAIL-579 Under the 'Governance & Workflow' left-side navigation category: Modify 'Overview' link href from: https://www.opnfv.org/compliance-verification-program-cvp to: https://www.opnfv.org/verified Modify link text for 'Application Form' to 'Participation Form' Modify link href for above from: http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/certificationworkflow/ApplicationForm.html to: https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=e03e78d7-c32e-47d3-8292-350b747a0105 Add another link right below the 'Governance' link named 'Terms & Conditions'. The href for this links is: https://www.opnfv.org/wp-content/uploads/sites/12/2018/01/OVP-Terms-and-Conditions-011918.pdf Under the 'Training Resources' left-side navigation category: Modify link text for 'Dovetail Test Tool User Guide' to 'OVP / Dovetail User Guide' Modify link href for above from: http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/userguide/testing_guide.html to: http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/testing_guide.html Modify 'Test Specifications' link href from: http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/testspecification/ to: http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/testspecification/ Modify 'Dovetail CLI' link href from: http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/userguide/cli_reference.html to: http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/cli_reference.html Modify 'OVP Guidelines Addendum' link href from: http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/cvpaddendum/index.html to: http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/ovpaddendum/index.html Under the 'Release Information' left-side navigation category: For the '2018.01 Release Notes' link, specify the href as http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/release/release-notes/index.html Change-Id: Ia4d2cc9f4c3c9874b3c328658bb4bce643aa4c6c Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-01-24Don't allow user change SUT version to None after submittingchenjiankun2-2/+8
We don't allow SUT version to be None when submitting test. So we also not allow user to change it to Nonw after submitting. In this patch, I also make the result table self-adaption. Change-Id: I5c391592dcbdbd9eb8697e44d7bb5dda41431bd6 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-01-23Update OVP home page textchenjiankun1-4/+5
JIRA: DOVETAIL-582 We received new text from OPNFV marketing for the home page of the OVP web portal. Text title and body are pasted below. OPNFV is offering an OPNFV Verified Program (OVP) that verifies products and services with the "OPNFV Verified" mark. The OPNFV Verified program demonstrates the readiness and availability of commercial products based on OPNFV. Verified products and services submitted by vendors and service providers become compliant by implementing explicitly defined interfaces, behaviors and key features while retaining distinct and value-added innovations across features and capabilities. Navigate through the links in the left-hand menu to learn more and get started. You'll find step-step-instructions as well as a participation form. Use this portal to upload your test results when ready. Please send any questions to verified@opnfv.org. Change-Id: I5f6dd67fc187d7557a0b4cce6dd7391479e66b2b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-01-08Bugfix: pass/not pass filter not work in results-report pagechenjiankun1-2/+2
For now if we click the pass/not pass filter, the user can also see the not pass/pass data in the page. Change-Id: I8bf696e615bedbb93714d457b3eb502a4ed1d923 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-12-29[ovp-web] Add SUT version number to OVP portalchenjiankun3-4/+11
JIRA: DOVETAIL-572 We currently have a label column in the OVP test result view. This allows users to attach a custom label field to their results. It is at the users discretion to fill out this field. We need a separate SUT version column to track the product version number being submitted for official review. The field can be left blank when users upload and share results in a private manner. However, the OVP portal must check that this new 'SUT version' field is populated before results are officially submitted for review. An error message prompting the user to fill out this field if it is blank must be implemented when users submit results for review. Change-Id: I1ca915423a56e8173a3a13f1b84b066cf91d9291 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-12-18Change a to anxudan1-1/+1
Change-Id: Id2b9c2a6718047dace2a84ffa68efa387cb22500 Signed-off-by: xudan <xudan16@huawei.com>
2017-12-18Bugfix: SSLError when login with linux fundation accountgrakiss1-0/+2
It is a quick fix. Change-Id: I72aabd5dd682074546259582cc91ba055d1decbe Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-12-18[ovp-web] Use new program logo/text for OVP portal home pagegrakiss3-21/+31
JIRA: DOVETAIL-570 OPNFV marketing has provided new logos for OVP that will be incorporated on the portal home page and attached to this issue. The 'Infrastructure' logo must by used. The other two logos (Application, Lab) currently on the development site must be removed for now. Position the new logo in the upper-left side and position the blurb language to the right of it. The new blurb language to swap in (all uniform, non-bold font) is provided below: The OPNFV Verified program (OVP) demonstrates the readiness and availability of commercial products based on OPNFV. Verified products and services submitted by vendors and service providers become compliant by implementing explicitly defined interfaces, behaviors and key features while retaining distinct and value-added innovations across features and capabilities. The OPNFV Verified program grants products and services with the "OPNFV Verified" mark. Get started with your OVP application today. Change-Id: Iaf4172fe61ea46133c474207f77ba24b841211e4 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-12-18[ovp-web] Modify new web portal header to reflect program name changegrakiss2-3/+2
JIRA: DOVETAIL-569 CVP is officially being renamed to 'OPNFV Verified Program'. We will adopt the acronym OVP instead of CVP. The new web portal header needs to modified to OPNFV Verified Program. Change-Id: I0ee1780b4e544dce4cf0b029733d1318a7c4e8fb Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-12-18Bugfix: pass/not pass filter not work in result-report pagegrakiss4-5/+17
The reason is there are some conflict with jquery.js and ng-model. So ng-model not work. Change-Id: I01ccd0e297d1a89aff8f78d7fb0a63a0e2114f63 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-12-12[cvp-web] Add initial CVP Portal homepage content for releasegrakiss15-70/+253
JIRA: DOVETAIL-563 The CVP portal homepage needs to be modified to support launch activities. An initial iteration between OPNFV marketing has occurred. Attached is a deck that outlines a basic left navigation menu and home content. We can focus on creating the left navigation and content outlined on slide 7. The links for the left navigation aren't all flushed out. Please leave Release Information/CVP Registry link href's blank for now until we define content for those pages. Change-Id: I84b8cfb996d336ef666d5a5f6aaabc0d5eebc37b Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-27[cvp-web] Bugfix: Total num of test cases should be fixedgrakiss6-142/+685
JIRA: DOVETAIL-552 The total num of test cases is decided by the number of the test cases users uploaded to the Web now. The total num should be fixed. For example, the total num of mandatory test cases should be 215. The total num of optional test cases should be 63. Change-Id: I6f7055bbeceb80f831af7d800b1a5aca4e165c45 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
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>