1 ##############################################################################
2 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
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
15 Url('/yardstick/asynctask', 'v1_async_task'),
16 Url('/yardstick/testcases', 'v1_test_case'),
17 Url('/yardstick/testcases/release/action', 'v1_release_case'),
18 Url('/yardstick/testcases/samples/action', 'v1_sample_case'),
19 Url('/yardstick/testcases/<case_name>/docs', 'v1_case_docs'),
20 Url('/yardstick/testsuites/action', 'v1_test_suite'),
21 Url('/yardstick/results', 'v1_result'),
22 Url('/yardstick/env/action', 'v1_env'),
25 Url('/api/v2/yardstick/environments', 'v2_environments'),
26 Url('/api/v2/yardstick/environments/action', 'v2_environments'),
27 Url('/api/v2/yardstick/environments/<environment_id>', 'v2_environment'),
29 Url('/api/v2/yardstick/environments/openrcs/action', 'v2_openrcs'),
30 Url('/api/v2/yardstick/environments/openrcs/<openrc_id>', 'v2_openrc'),
32 Url('/api/v2/yardstick/pods/action', 'v2_pods'),
33 Url('/api/v2/yardstick/pods/<pod_id>', 'v2_pod'),