Yardstick virtualenv support
[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 __future__ import absolute_import
10
11 from api import views
12 from api.utils.common import Url
13
14
15 urlpatterns = [
16     Url('/yardstick/asynctask', views.Asynctask, 'asynctask'),
17     Url('/yardstick/testcases', views.Testcases, 'testcases'),
18     Url('/yardstick/testcases/release/action', views.ReleaseAction, 'release'),
19     Url('/yardstick/testcases/samples/action', views.SamplesAction, 'samples'),
20     Url('/yardstick/testsuites/action', views.TestsuitesAction, 'testsuites'),
21     Url('/yardstick/results', views.Results, 'results'),
22     Url('/yardstick/env/action', views.EnvAction, 'env')
23 ]