summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/result_collection_api.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-30 19:14:52 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-30 20:05:11 +0800
commit99700863f3c28fb7fb36e6670b78da828cbbddd4 (patch)
treeef7cd061cafa164c850146d904e99403a954dc9a /utils/test/result_collection_api/result_collection_api.py
parent04578f6f8c56ae2585c9aec637812d812919be46 (diff)
swagger-ize dashboard and version apis of testAPI
JIRA: FUNCTEST-273 Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/result_collection_api.py')
-rw-r--r--utils/test/result_collection_api/result_collection_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/result_collection_api/result_collection_api.py b/utils/test/result_collection_api/result_collection_api.py
index 652aa58af..7d29c9da4 100644
--- a/utils/test/result_collection_api/result_collection_api.py
+++ b/utils/test/result_collection_api/result_collection_api.py
@@ -34,11 +34,12 @@ import argparse
import tornado.ioloop
import motor
-from resources.handlers import VersionHandler, DashboardHandler
+from resources.handlers import VersionHandler
from resources.testcase_handlers import TestcaseCLHandler, TestcaseGURHandler
from resources.pod_handlers import PodCLHandler, PodGURHandler
from resources.project_handlers import ProjectCLHandler, ProjectGURHandler
from resources.result_handlers import ResultsCLHandler, ResultsGURHandler
+from resources.dashboard_handlers import DashboardHandler
from common.config import APIConfig
from tornado_swagger_ui.tornado_swagger import swagger
@@ -92,7 +93,6 @@ def make_app():
# get /dashboard
# => get the list of project with dashboard ready results
(r"/dashboard/v1/results", DashboardHandler),
- (r"/dashboard/v1/results([^/]*)", DashboardHandler),
],
db=db,
debug=CONF.api_debug_on,