diff options
author | grkoffi <koffirodrigue@gmail.com> | 2015-09-04 09:21:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-09-04 09:21:19 +0000 |
commit | 46fd62a707f5fc241c6701a9f787fd78c8680182 (patch) | |
tree | 1ab91e7160cb5c413837295fc9ad001e7b0ef122 /utils/test/result_collection_api/result_collection_api.py | |
parent | 034768f50e125bbda5f4d23af3e1795877519f45 (diff) | |
parent | aa6aac09a5a0651b4ef28c1ccc78ca32a1fccf7f (diff) |
Merge "Fix minor bugs for result_collection_api"
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), ], |