summaryrefslogtreecommitdiffstats
path: root/result_collection_api/result_collection_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'result_collection_api/result_collection_api.py')
-rw-r--r--result_collection_api/result_collection_api.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/result_collection_api/result_collection_api.py b/result_collection_api/result_collection_api.py
index 344e0d7..25a670c 100644
--- a/result_collection_api/result_collection_api.py
+++ b/result_collection_api/result_collection_api.py
@@ -35,7 +35,8 @@ import tornado.ioloop
import motor
from resources.handlers import VersionHandler, \
- TestcaseHandler, TestResultsHandler, DashboardHandler
+ TestResultsHandler, DashboardHandler
+from resources.testcase_handlers import TestcaseCLHandler, TestcaseGURHandler
from resources.pod_handlers import PodCLHandler, PodGURHandler
from resources.project_handlers import ProjectCLHandler, ProjectGURHandler
from common.config import APIConfig
@@ -73,8 +74,8 @@ def make_app():
# few examples
# GET /projects/qtip/cases => Get cases for qtip
- (r"/api/v1/projects/([^/]+)/cases", TestcaseHandler),
- (r"/api/v1/projects/([^/]+)/cases/([^/]+)", TestcaseHandler),
+ (r"/api/v1/projects/([^/]+)/cases", TestcaseCLHandler),
+ (r"/api/v1/projects/([^/]+)/cases/([^/]+)", TestcaseGURHandler),
# new path to avoid a long depth
# GET /results?project=functest&case=keystone.catalog&pod=1