summaryrefslogtreecommitdiffstats
path: root/reporting/yardstick/reportingConf.py
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-27 06:26:46 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-08-27 07:55:16 +0000
commit15dd840440573191b9405891198afd29a0c8fbd0 (patch)
tree7481ed96a790b934a91538ff5f80b5d279cb0d93 /reporting/yardstick/reportingConf.py
parent9a5639c835c4ffe64fb866cd1bfeab421bbfdbe6 (diff)
Add the function of yardstick testcase reporter
JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'reporting/yardstick/reportingConf.py')
-rw-r--r--reporting/yardstick/reportingConf.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/reporting/yardstick/reportingConf.py b/reporting/yardstick/reportingConf.py
new file mode 100644
index 0000000..af95cc0
--- /dev/null
+++ b/reporting/yardstick/reportingConf.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+#
+# This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Reporting: Declaration of the variables
+#
+# ****************************************************
+installers = ["apex", "compass", "fuel", "joid"]
+
+versions = ["master"]
+
+# get data in the past 7 days
+PERIOD = 7
+
+# get the lastest 4 test results to determinate the success criteria
+LASTEST_TESTS = 4
+
+REPORTING_PATH = "."
+
+URL_BASE = 'http://testresults.opnfv.org/test/api/v1/results'
+
+# LOG_LEVEL = "ERROR"
+LOG_LEVEL = "INFO"
+LOG_FILE = REPORTING_PATH + "/reporting.log"