aboutsummaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-11-22 00:14:57 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-11-24 07:44:05 +0000
commit73edf3d28e7d17a64ddc9ffea206ec825c488bc6 (patch)
tree3dbbbbeabc0c2ea9a87af237ac667902d295d093 /api/urls.py
parentd491d77dea52e459dc6f1e1ec39703e26a4857e7 (diff)
Create API to get test case result
JIRA: YARDSTICK-416 Change-Id: I722566bb0e5bc5288cd6302559e56a3f92ebbeca Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/api/urls.py b/api/urls.py
index 9fa0bc935..2a9e72a76 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -1,7 +1,16 @@
+##############################################################################
+# 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 api import views
from api.utils.common import Url
urlpatterns = [
- Url('/yardstick/test/action', views.Test, 'test')
+ Url('/yardstick/test/action', views.Test, 'test'),
+ Url('/yardstick/result/action', views.Result, 'result')
]