summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/api/handlers
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-01-04 14:25:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-04 14:25:42 +0000
commit10a7c1ea663ce09f0bcda151c82bfca068f8b588 (patch)
tree3c147afcb063299606bb3ddf87cbb431e9a014c1 /utils/test/reporting/api/handlers
parent7aeefe4aa6315c2ad5aea8e0e1bf4d33f34c17d9 (diff)
parent64605f1cc7117854abb203375deee396e0d65cc1 (diff)
Merge "Create Test Reporting landing page"
Diffstat (limited to 'utils/test/reporting/api/handlers')
-rw-r--r--utils/test/reporting/api/handlers/__init__.py0
-rw-r--r--utils/test/reporting/api/handlers/landing.py20
2 files changed, 20 insertions, 0 deletions
diff --git a/utils/test/reporting/api/handlers/__init__.py b/utils/test/reporting/api/handlers/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/utils/test/reporting/api/handlers/__init__.py
diff --git a/utils/test/reporting/api/handlers/landing.py b/utils/test/reporting/api/handlers/landing.py
new file mode 100644
index 000000000..137c05007
--- /dev/null
+++ b/utils/test/reporting/api/handlers/landing.py
@@ -0,0 +1,20 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. 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
+##############################################################################
+from tornado.web import RequestHandler
+from tornado.escape import json_encode
+
+
+class FiltersHandler(RequestHandler):
+ def get(self):
+ return self.write(json_encode({'status': 'SUCCESS'}))
+
+
+class ScenariosHandler(RequestHandler):
+ def get(self):
+ return self.write(json_encode({'status': 'SUCCESS'}))