From 4e7a72bba9a0d7ca95478b298e056025421e221d Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Thu, 28 Dec 2017 01:39:07 +0000 Subject: [ovp-web] Add SUT version number to OVP portal 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 (cherry picked from commit af1debe11cf4793bae049ff3ffd63dc906bbc1c9) --- cvp/3rd_party/static/testapi-ui/components/results/results.html | 4 +++- .../static/testapi-ui/components/results/resultsController.js | 6 +++--- cvp/opnfv_testapi/resources/test_handlers.py | 5 +++++ 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'cvp') diff --git a/cvp/3rd_party/static/testapi-ui/components/results/results.html b/cvp/3rd_party/static/testapi-ui/components/results/results.html index 8d7e4482..f53023d9 100644 --- a/cvp/3rd_party/static/testapi-ui/components/results/results.html +++ b/cvp/3rd_party/static/testapi-ui/components/results/results.html @@ -29,6 +29,7 @@ Status Log SUT + SUT Version Operation Share List @@ -40,10 +41,11 @@ {{ result.id | limitTo:8 }} {{ result.owner }} {{ result.filename || "None"}} - + {{ result.status }} logs info +