From aa6aac09a5a0651b4ef28c1ccc78ca32a1fccf7f Mon Sep 17 00:00:00 2001 From: grkoffi Date: Mon, 31 Aug 2015 14:45:53 +0200 Subject: Fix minor bugs for result_collection_api JIRA : RELENG-7 Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4 Signed-off-by: Guy Rodrigue Koffi --- utils/test/result_collection_api/result_collection_api.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'utils/test/result_collection_api/result_collection_api.py') 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), ], -- cgit 1.2.3-korg