summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components
AgeCommit message (Collapse)AuthorFilesLines
2018-06-07Add improvements to OVP directory and logo uploadEddie Arrage4-5/+50
- Formatting changes to directory on home page based on OPNFV marketing - Updated branding guide link - Added test_id field to mongo applications collection to associate to approved results for directory - Set Test ID from user accounts with administrator role in Applications view - Provide file upload function for administrator to post company logos for OVP directory - Company logos are stored and served through tornado from cvp-cvpapi container rather than cvp-web JIRA: DOVETAIL-663 JIRA: DOVETAIL-664 Change-Id: I1226b42883afa2ea2eb5551e3836211abbb94b20 Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2018-05-22Implemented directory within OVP portalEddie Arrage6-6/+212
- Added OVP directory to portal home page as summary view to showcase vendors offerings that have received marks - Each row of table in directory summary represents a product offering that has received compliance verification marks and will be ordered by approve date - Currently, a vendor with multiple products will be displayed as separate rows, as agreed by OPNFV marketing - Added new angular component/controller for OVP directory secondary drill-down view, which provides more detailed info including Description, Product Info, SUT HW Version (optional from vendor) and SUT Version. Product info links to product_documentation field in Applications collection but can be improved as requirements are flushed out - Added new db fields to existing applications collection in mongodb - Applications collection is fetched on home page and detailed directory views - Updated Applications management view (administrator role) with new db fields including description, ovp_category, ovp_version, company_logo, approve_date, approved, sut_version, sut_hw_version, allowing admin to delete and add back with updates. - Updated participation form link for exemption process addition - Consider for another patch - upload form for company logos in Applications view for administrator to add. The initial wave of logos will need to be included in the patch for now when available from OPNFV marketing - Consider for another patch - improve 'Product Info' field to accept HTML as input allowing administrator to add raw HTML in mongod - Consider for another patch - update an existing application for admin role in Applications view rather than forcing a delete/add operation for an update Change-Id: I41d08a7164ee4513106bd09ea30d20be5abd911e Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2018-04-26Extend web portal to show if API exemption was used during a test runchenjiankun2-0/+4
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-02-23Update OVP logo and branding guide linkEddie Arrage1-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-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 submittingchenjiankun1-1/+1
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 portalchenjiankun2-4/+6
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-18[ovp-web] Use new program logo/text for OVP portal home pagegrakiss1-17/+26
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-18Bugfix: pass/not pass filter not work in result-report pagegrakiss2-3/+8
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 releasegrakiss7-15/+120
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 fixedgrakiss4-142/+680
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 resultsgrakiss1-6/+6
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] Bugfix:return 500 when upload a tarball file with no results.jsongrakiss2-14/+19
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 issuegrakiss2-5/+5
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-09[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the ↵grakiss2-62/+67
'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-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'grakiss4-2/+97
[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-10-19[web-cvp]Additional columns in ‘My Results’grakiss3-8/+7
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 emailgrakiss2-2/+2
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-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-28[cvp-web]remove workflow on homepagegrakiss1-69/+1
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 cvpgrakiss29-0/+4175
JIRA: DOVETAIL-512 add api&web services for cvp Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>