summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components/home
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2017-09-28 09:28:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-28 09:28:41 +0000
commit61820ee85c967d90021e4089c6a7907046685639 (patch)
tree0c3f23e2146f0855fb5be0ff55343d59e3a9c9ab /cvp/3rd_party/static/testapi-ui/components/home
parent0cc2fdefa9e6e959e7c69beede736738f339f636 (diff)
parent0cf6b232ac9cf128ee9183a27c08f4f74ab2e2e6 (diff)
Merge "add api&web services for cvp"
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/home')
-rw-r--r--cvp/3rd_party/static/testapi-ui/components/home/home.html74
-rw-r--r--cvp/3rd_party/static/testapi-ui/components/home/homeController.js42
2 files changed, 116 insertions, 0 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/home/home.html b/cvp/3rd_party/static/testapi-ui/components/home/home.html
new file mode 100644
index 00000000..8b97bd64
--- /dev/null
+++ b/cvp/3rd_party/static/testapi-ui/components/home/home.html
@@ -0,0 +1,74 @@
+<div class="row">
+ <div class="col-lg-12" style="font-size:15px">
+ <h1>CVP Workflow</h1>
+ <hr>
+ <h2>Step 1: Applying</h2>
+ <br>
+ <p>A tester should start the process by completing an <a ng-click="ctrl.gotoApplication()">application</a>.</p>
+
+ <!--
+ <ul>
+ <li>Organization name</li>
+ <li>Organization website (if public)</li>
+ <li>Product name and identifier</li>
+ <li>Product public documentation</li>
+ <li>Product categories, choose one: (i) software and hardware (ii) software and third party hardware (please specify)</li>
+ <li>Primary contact name, business email, postal address and phone number Only the primary email address should be used for official communication with OPNFV CVP.</li>
+ <li>User ID for CVP web portal The CVP web portal supports (i) Linux Foundation user ID, and (ii) Openstack user ID, in the current release. Specify either one as user ID for the CVP web portal. If a new user ID is needed, visit https://identity.linuxfoundation.org, or https://www.openstack.org/join/register.</li>
+ <li>Location where the verification testing is to be conducted. Choose one: (internal vendor lab, third-party lab)</li>
+ <li>If the test is to be conducted by a third-party lab, please specify name and contact information of the third-party lab.</li>
+ </ul>
+
+ <p>Please email the completed application using the primary contact email account in order to establish identity.</p>
+ -->
+
+ <p>Once the application information is received and in order, an email response will be sent to the primary contact with confirmation and next step information.</p>
+
+ <!--
+ <p>[Editor'note: No fee has been established at this time for CVP applications. Recommend we skip fee for the initial release of CVP.]</p>
+ -->
+
+ <hr>
+ <h2>Step 2: Testing</h2>
+ <p>The following documents guide testers to prepare the test environment and run tests:</p>
+
+ <ul>
+ <li><a href="http://artifacts.opnfv.org/dovetail/docs/testing_user_systempreparation/index.html">System Requirements and Preparation Guide for OPNFV CVP </a></li>
+ <li><a href="http://artifacts.opnfv.org/dovetail/docs/testing_developer_testscope/index.html">OPNFV CVP Teslt Case Specification </a></li>
+ <li><a href="http://artifacts.opnfv.org/dovetail/docs/testing_user_userguide/index.html">Dovetail Test Tool User Guide </a></li>
+ </ul>
+ <!--
+ <p>[Editor's note: The above three documents are still work in progress. Names and references will be corrected when they are merged.]</p>
+
+ <p>A unique Test ID is generated by the Dovetail tool for each test run. Please take a note of this ID for future reference.</p>
+ -->
+
+ <hr>
+ <h2>Step 3: Submitting Test Results</h2>
+ <p>Testers can login to the CVP web portal <a href="https://cvp.opnfv.org">https://cvp.opnfv.org</a> with the LF ID or Openstack ID and upload the test results. By default, the results are visible only to the user who uploaded the data.</p>
+
+ <!--
+ <p>[Editor's note: the web portable URL is a placeholder and will be replaced once the actual URL is implemented.]</p>
+ -->
+
+ <p>Testers can self-review the test results through the portal until they are ready to ask for CVP review. They may also update with or add new test results as needed.</p>
+
+ <p>Once the tester is satisfied with the test result, the tester grants access to the test result for CVP review via the portal. The test result is identified by the unique Test ID.</p>
+
+ <p>Notify via the official CVP email address that a review request has been made and reference the Test ID. This will alert the C&C Committee to start the CVP review process.</p>
+
+ <hr>
+ <h2>Step 4: CVP Review</h2>
+ <p>Upon receiving the email notification and the Test ID, the C&C Committee conducts a peer based review of the test result. Persons employed by the same organization that submitted the test results or by affiliated organizations should not be part of the reviewers.</p>
+
+ <p>The primary contact may be asked via email for any missing information or clarification of the application. The reviewers will make a determination and recommend to the C&C Committee. Normally, the outcome of the review should be communicated to the tester within 10 business days after all required information is in order.</p>
+
+ <p>If an application is denied, an appeal can be made to the C&C Committee or ultimately to the Board of Directors of OPNFV.</p>
+
+ <hr>
+ <h2>Step 5: Grant of Use of Logo</h2>
+ <p>If an application is approved, further information will be communicated to the tester on the guidelines of using OPNFV logos for promotional purposes.</p>
+ <hr>
+ </div>
+</div>
+
diff --git a/cvp/3rd_party/static/testapi-ui/components/home/homeController.js b/cvp/3rd_party/static/testapi-ui/components/home/homeController.js
new file mode 100644
index 00000000..bd1ab0f9
--- /dev/null
+++ b/cvp/3rd_party/static/testapi-ui/components/home/homeController.js
@@ -0,0 +1,42 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+(function () {
+ 'use strict';
+
+ angular
+ .module('testapiApp')
+ .controller('HomeController', HomeController);
+
+ HomeController.$inject = [
+ '$scope', '$rootScope', '$state'
+ ];
+
+ /**
+ * TestAPI Results Controller
+ * This controller is for the '/results' page where a user can browse
+ * a listing of community uploaded results.
+ */
+ function HomeController($scope, $rootScope, $state) {
+ var ctrl = this;
+
+ ctrl.gotoApplication = function(){
+ if($rootScope.auth.isAuthenticated){
+ $state.go('application');
+ }else{
+ $rootScope.auth.doSignIn('cas');
+ }
+ }
+ }
+})();