summaryrefslogtreecommitdiffstats
path: root/utils/test/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
commitf53fc8221faf7718d1cf060038ad3a23463b8398 (patch)
treea0d3bf61e9e10f1ef006f59b29e47138230fc8ec /utils/test/reporting/yardstick/reportingConf.py
parentf0830fb30a41e6db542ce7c843c5819fcb205c9e (diff)
Add the function of yardstick testcase reporter
JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'utils/test/reporting/yardstick/reportingConf.py')
-rw-r--r--utils/test/reporting/yardstick/reportingConf.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/test/reporting/yardstick/reportingConf.py b/utils/test/reporting/yardstick/reportingConf.py
new file mode 100644
index 000000000..af95cc00f
--- /dev/null
+++ b/utils/test/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"