From bce19d39136c5e830e771ee449f22fca85fec259 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Wed, 30 Nov 2016 08:22:54 +0000 Subject: Modify url mapping to make API more Restful JIRA: YARDSTICK-435 Change-Id: Ief767ceca2979494ec0b4ea4d197fd399352b856 Signed-off-by: chenjiankun --- api/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/urls.py') diff --git a/api/urls.py b/api/urls.py index eaaf8b6d1..323e5cb9f 100644 --- a/api/urls.py +++ b/api/urls.py @@ -11,7 +11,7 @@ from api.utils.common import Url urlpatterns = [ - Url('/yardstick/test/action', views.Test, 'test'), - Url('/yardstick/result/action', views.Result, 'result'), + Url('/yardstick/testcases/release/action', views.Release, 'release'), + Url('/yardstick/results', views.Results, 'results'), Url('/yardstick/env/action', views.Env, 'env') ] -- cgit 1.2.3-korg