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 | aa6aac09a5a0651b4ef28c1ccc78ca32a1fccf7f (patch) | |
tree | 1fe7d77c485e4ab1f2c84ef0580457a54f05e2ee /utils/test/result_collection_api/result_collection_api.py | |
parent | f7d774bd45cab36eefab7baf6180f84ed4296a6e (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 'utils/test/result_collection_api/result_collection_api.py')
-rw-r--r-- | utils/test/result_collection_api/result_collection_api.py | 10 |
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), ], |