aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-07-01 23:57:11 +0800
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-04 07:27:55 +0000
commited6be5fc45b94d40515b2acf5a5a718dc41583a5 (patch)
tree5d923c636bd183b6f9bea1b7cc181b66fa006588 /docs
parent7388d059ff9f4efed594582ded843f795e56c9fa (diff)
add missing symbols in Results section
add missing }/>/"/ in the description of models JIRA: FUNCTEST-345 Change-Id: I8246b2b3350a22eccf152489b6f99b73ad701620 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'docs')
-rw-r--r--docs/devguide/index.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/devguide/index.rst b/docs/devguide/index.rst
index cda38e0e..da134bc7 100644
--- a/docs/devguide/index.rst
+++ b/docs/devguide/index.rst
@@ -336,7 +336,7 @@ The Test result management can be summarized as follows::
Test API description
====================
The Test API is used to declare pods, projects, test cases and test results. An
-additional method dashboard has been added to post-process the raw results in release Brahmaputra.
+additional method dashboard has been added to post-process the raw results in release Brahmaputra.
The data model is very basic, 4 objects are created:
* Pods
@@ -349,7 +349,7 @@ Pods::
{
"id": <ID>,
"details": <URL description of the POD>,
- "creation_date": YYYY-MM-DD HH:MM:SS ,
+ "creation_date": "YYYY-MM-DD HH:MM:SS",
"name": <The POD Name>,
"mode": <metal or virtual>,
"role": <ci-pod or community-pod or single-node>
@@ -378,8 +378,8 @@ Testcases::
Results::
{
- "_id": <ID,
- "case_name": <Reference to the test case>
+ "_id": <ID>,
+ "case_name": <Reference to the test case>,
"project_name": <Reference to project>,
"pod_name": <Reference to POD where the test was executed>,
"installer": <Installer Apex or Compass or Fuel or Joid>,
@@ -389,14 +389,15 @@ Results::
"build_tag": <such as "jenkins-functest-fuel-baremetal-daily-master-108">,
"scenario": <Scenario on which the test was executed>,
"criteria": <PASS or FAILED>,
- "trust_indicator": <0 ~ 1>
+ "trust_indicator": <0~1>
+ }
The API can described as follows. For detailed information, please go to
http://testresults.opnfv.org/test/swagger/spec.html
Authentication: opnfv/api@opnfv
-Please notes that POST/DELETE/PUT operations for test or study purpose via
+Please notes that POST/DELETE/PUT operations for test or study purpose via
swagger website is not allowed, because it will change the real data in
the database.