diff options
author | grkoffi <koffirodrigue@gmail.com> | 2015-08-31 14:45:53 +0200 |
---|---|---|
committer | grkoffi <koffirodrigue@gmail.com> | 2015-09-02 15:12:27 +0200 |
commit | 8d3001573dd51a3cbdc7c46b5b35f5f6812761ab (patch) | |
tree | 5b14de357b0379a66007388afe37a66579582256 /result_collection_api/result_collection_api.py | |
parent | 737ff5abfe2711cb8c1e36729e41be723a03305b (diff) |
Fix minor bugs for result_collection_api
JIRA : RELENG-7
Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4
Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
Diffstat (limited to 'result_collection_api/result_collection_api.py')
-rw-r--r-- | result_collection_api/result_collection_api.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/result_collection_api/result_collection_api.py b/result_collection_api/result_collection_api.py index 71b3267..bb26bb2 100644 --- a/result_collection_api/result_collection_api.py +++ b/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), ], |