X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Ftest%2Fresult_collection_api%2Fresult_collection_api.py;h=bb26bb25e2a9aba63ad18ef2b1a965dcb06f3d80;hb=aa6aac09a5a0651b4ef28c1ccc78ca32a1fccf7f;hp=71b3267c2af61d671c1001df06059f34f4bfb9a5;hpb=f7d774bd45cab36eefab7baf6180f84ed4296a6e;p=releng.git 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), ],