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.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/result_collection_api/result_collection_api.py b/result_collection_api/result_collection_api.py
index afd66f3..344e0d7 100644
--- a/result_collection_api/result_collection_api.py
+++ b/result_collection_api/result_collection_api.py
@@ -35,8 +35,9 @@ import tornado.ioloop
import motor
from resources.handlers import VersionHandler, \
- ProjectHandler, TestcaseHandler, TestResultsHandler, DashboardHandler
-from resources.pod_handler import PodCLHandler, PodGURHandler
+ TestcaseHandler, TestResultsHandler, DashboardHandler
+from resources.pod_handlers import PodCLHandler, PodGURHandler
+from resources.project_handlers import ProjectCLHandler, ProjectGURHandler
from common.config import APIConfig
from tornado_swagger_ui.tornado_swagger import swagger
@@ -67,8 +68,8 @@ def make_app():
# few examples:
# GET /projects
# GET /projects/yardstick
- (r"/api/v1/projects", ProjectHandler),
- (r"/api/v1/projects/([^/]+)", ProjectHandler),
+ (r"/api/v1/projects", ProjectCLHandler),
+ (r"/api/v1/projects/([^/]+)", ProjectGURHandler),
# few examples
# GET /projects/qtip/cases => Get cases for qtip