X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Furls.py;h=3ccb67dbcd0147c4d1fa66a25d3a4bd852a86abd;hb=1365e88a55a8649e33d11f3d27f2fb1964bfae00;hp=9fa0bc93559c5eaddcca9545b17e8636fdb2a6dd;hpb=eec370bc52caee7fe1633ae9f3ec8ac85ac50119;p=yardstick.git diff --git a/api/urls.py b/api/urls.py index 9fa0bc935..3ccb67dbc 100644 --- a/api/urls.py +++ b/api/urls.py @@ -1,7 +1,22 @@ +############################################################################## +# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +from __future__ import absolute_import from api import views from api.utils.common import Url urlpatterns = [ - Url('/yardstick/test/action', views.Test, 'test') + Url('/yardstick/asynctask', views.Asynctask, 'asynctask'), + Url('/yardstick/testcases', views.Testcases, 'testcases'), + Url('/yardstick/testcases/release/action', views.ReleaseAction, 'release'), + Url('/yardstick/testcases/samples/action', views.SamplesAction, 'samples'), + Url('/yardstick/testsuites/action', views.TestsuitesAction, 'testsuites'), + Url('/yardstick/results', views.Results, 'results'), + Url('/yardstick/env/action', views.EnvAction, 'env') ]