summaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-07-13 02:26:19 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-07-13 03:46:40 +0000
commit49be6a8c0f42c9a12af305721beac95285f74b2b (patch)
tree7b4fad48def68cccc2a910040a4ca8f7de199dde /api/urls.py
parentf83729d38eb396fe5a94be13a86865f9cd26d0f4 (diff)
Add API to create environment
JIRA: YARDSTICK-715 API: /api/v2/yardstick/environments/action METHOD: POST PARAM: { 'action': 'create_environment' } Change-Id: I58086be3c70cdc3c4c93516bcfd53ba725486600 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/api/urls.py b/api/urls.py
index 4b9d4d191..0ffba89c9 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -19,5 +19,8 @@ urlpatterns = [
Url('/yardstick/testcases/<case_name>/docs', 'v1_case_docs'),
Url('/yardstick/testsuites/action', 'v1_test_suite'),
Url('/yardstick/results', 'v1_result'),
- Url('/yardstick/env/action', 'v1_env')
+ Url('/yardstick/env/action', 'v1_env'),
+
+ # api v2
+ Url('/api/v2/yardstick/environments/action', 'v2_environments'),
]