From 79767c7e32fbdf7ef28be856f6bf566bf8a1fc47 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 10 Jun 2016 08:16:07 +0200 Subject: Update testapi presentation Change-Id: Ic1fd53a7a1e7cc35259bc2af78dab791617b6185 Signed-off-by: Morgan Richomme --- docs/com/pres/testapi.html | 57 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 12 deletions(-) (limited to 'docs/com') diff --git a/docs/com/pres/testapi.html b/docs/com/pres/testapi.html index 4479b93b4..1d2e683c2 100755 --- a/docs/com/pres/testapi.html +++ b/docs/com/pres/testapi.html @@ -107,27 +107,41 @@
## Lessons learned in B. * Wiki documentation is painful - * result modl too simple - * version used for scenario + * Result model too simple + * version used instead of scenario * no version - * no overall criteria (passed/failed) + * no overall criteria (PASS/FAIL) * need unit tests for data model evolution
## Colorado refactoring - * done by Serena Feng (ZTE) - * update of the data model (based on lesson learned) - * creation of a swagger tornado framework for the doc - * creation of unit tests + * Done by Serena Feng (ZTE) + * Update of the data model (based on lessons learned) + * New swagger tornado framework for the doc + * URL and Mongo collection renaming + * Scripts to manage backup/restore/DB update + * Setup scripts + * Unit tests
- #API evolution + # Result management changes
-
-

Test API evolution

+ +
+ ## main changes + An URI change... + + testresults.opnfv.org/test/testapi => testresults.opnfv.org/test/api/v1 + + http://testresults.opnfv.org/test/api/v1/projects + http://testresults.opnfv.org/test/api/v1/projects/yardstick/cases + http://testresults.opnfv.org/test/api/v1/results?case=Tempest&period=1 +
+
+

One new field for pods

@@ -136,6 +150,25 @@ + + + + + + + +
Colorado
roleN.Rcommunity_pod, ci_pod, ..
+
+
+

New fields and filters for results

+ + + + + + + + @@ -158,7 +191,7 @@ - + @@ -171,7 +204,7 @@
ItemBrahmaputraColorado
datepassed/failed
trust_indictatortrust_indicator N.R between 0 and 1
- ## Swagger doc + http://testresults.opnfv.org/test/swagger/spec.html ![alt text](../img/testapi1.png "Test API swagger interface")
-- cgit 1.2.3-korg