From 015ee1e72119dbc884cecbaf6149922850df7223 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 14 Aug 2017 17:41:02 +0800 Subject: update scenario scores update score url: POST /api/v1/scenarios//scores? \ installer=& \ version=& \ project= add new score record interface add unit test add swagger specification Change-Id: Ib7bb31f303a9a9402325476bfdadb58aa0df560e Signed-off-by: SerenaFeng --- testapi/opnfv_testapi/router/url_mappings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testapi/opnfv_testapi/router') diff --git a/testapi/opnfv_testapi/router/url_mappings.py b/testapi/opnfv_testapi/router/url_mappings.py index 562fa5e..4f990f0 100644 --- a/testapi/opnfv_testapi/router/url_mappings.py +++ b/testapi/opnfv_testapi/router/url_mappings.py @@ -54,6 +54,8 @@ mappings = [ # scenarios (r"/api/v1/scenarios", scenario_handlers.ScenariosCLHandler), (r"/api/v1/scenarios/([^/]+)", scenario_handlers.ScenarioGURHandler), + (r"/api/v1/scenarios/([^/]+)/scores", + scenario_handlers.ScenarioScoresHandler), # static path (r'/(.*\.(css|png|gif|js|html|json|map|woff2|woff|ttf))', -- cgit 1.2.3-korg