Modify url mapping to make API more Restful
[yardstick.git] / api / urls.py
1 ##############################################################################
2 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from api import views
10 from api.utils.common import Url
11
12
13 urlpatterns = [
14     Url('/yardstick/testcases/release/action', views.Release, 'release'),
15     Url('/yardstick/results', views.Results, 'results'),
16     Url('/yardstick/env/action', views.Env, 'env')
17 ]