summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/result_collection_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/result_collection_api/result_collection_api.py')
-rw-r--r--utils/test/result_collection_api/result_collection_api.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/test/result_collection_api/result_collection_api.py b/utils/test/result_collection_api/result_collection_api.py
index 69c03b899..b9a9971c7 100644
--- a/utils/test/result_collection_api/result_collection_api.py
+++ b/utils/test/result_collection_api/result_collection_api.py
@@ -19,7 +19,7 @@ TODOs :
- json args validation with schemes
- POST/PUT/DELETE for PODs
- POST/PUT/GET/DELETE for installers, platforms (enrich results info)
- - count cases for GET on test_projects
+ - count cases for GET on projects
- count results for GET on cases
- include objects
- swagger documentation
@@ -63,16 +63,16 @@ def make_app():
(r"/pods/([^/]+)", PodHandler),
# few examples:
- # GET /test_projects
- # GET /test_projects/yardstick
- (r"/test_projects", TestProjectHandler),
- (r"/test_projects/([^/]+)", TestProjectHandler),
+ # GET /projects
+ # GET /projects/yardstick
+ (r"/projects", TestProjectHandler),
+ (r"/projects/([^/]+)", TestProjectHandler),
# few examples
- # GET /test_projects/qtip/cases => Get cases for qtip
+ # GET /projects/qtip/cases => Get cases for qtip
#
- (r"/test_projects/([^/]+)/cases", TestCasesHandler),
- (r"/test_projects/([^/]+)/cases/([^/]+)", TestCasesHandler),
+ (r"/projects/([^/]+)/cases", TestCasesHandler),
+ (r"/projects/([^/]+)/cases/([^/]+)", TestCasesHandler),
# (r"/test_cases/([^/]+)", TestCasesHandler),
# new path to avoid a long depth