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.py10
1 files changed, 8 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 71b3267c2..bb26bb25e 100644
--- a/utils/test/result_collection_api/result_collection_api.py
+++ b/utils/test/result_collection_api/result_collection_api.py
@@ -14,13 +14,18 @@ Pre-requisites:
We can launch the API with this file
-TODOS :
+TODOs :
- json args validation with schemes
- count cases for GET on test_projects
- count results for GET on cases
- - add meta object to json response
- provide filtering on requests
- include objects
+ - logging
+ - external configuration file
+ - setup file
+ - results pagination
+ - POST/PUT/DELETE for PODs
+ - POST/PUT/GET/DELETE for installers, platforms (enrich results info)
"""
@@ -66,6 +71,7 @@ def make_app():
# POST /results =>
# Push results with mandatory request payload parameters
# (project, case, and pod_id)
+ (r"/results", TestResultsHandler),
(r"/results([^/]*)", TestResultsHandler),
(r"/results/([^/]*)", TestResultsHandler),
],