summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/router
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-12 01:49:57 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-12 10:11:57 +0800
commit55d74f86440a5a804d4551e04f7fd39518af0723 (patch)
treea509c00c4bbf0b274030178493407ee723756185 /testapi/opnfv_testapi/router
parent6df5e1b763a1e8a022f6d3dad738c5b1df468a17 (diff)
add web portal framework for TestAPI
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/router')
-rw-r--r--testapi/opnfv_testapi/router/url_mappings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/router/url_mappings.py b/testapi/opnfv_testapi/router/url_mappings.py
index 39cf006..94e71c6 100644
--- a/testapi/opnfv_testapi/router/url_mappings.py
+++ b/testapi/opnfv_testapi/router/url_mappings.py
@@ -12,9 +12,11 @@ from opnfv_testapi.resources import project_handlers
from opnfv_testapi.resources import result_handlers
from opnfv_testapi.resources import scenario_handlers
from opnfv_testapi.resources import testcase_handlers
+import opnfv_testapi.resources.ui_handlers
mappings = [
# GET /versions => GET API version
+ (r'/', opnfv_testapi.resources.ui_handlers.UIHandler),
(r"/versions", handlers.VersionHandler),
# few examples: