diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-08-31 08:53:27 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-08-31 08:53:27 +0000 |
commit | 3b4e7240a5e973e52807841dc96d5886d0ff880b (patch) | |
tree | 0eee22921f16e4ff22229c7dfc2eef446ce845dc /api/urls.py | |
parent | ad748320c73587fd09ef7204f03ba3d74567ba78 (diff) |
Add API(v1) to get real time log
JIRA: YARDSTICK-805
We need to get real time log if we use API(v1) run test case.
API: /yardstick/tasks/<task_id>/log
For example:
http://ip:port/yardstick/tasks/14795be8-f144-4f54-81ce-43f4e3eab33f/log?index=0
Change-Id: Ic0bf10f26f4f07d3264f2415c4923a1bfded2f81
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/urls.py')
-rw-r--r-- | api/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py index 9b0040b6c..4b8e39e8f 100644 --- a/api/urls.py +++ b/api/urls.py @@ -20,6 +20,7 @@ urlpatterns = [ Url('/yardstick/testsuites/action', 'v1_test_suite'), Url('/yardstick/results', 'v1_result'), Url('/yardstick/env/action', 'v1_env'), + Url('/yardstick/tasks/<task_id>/log', 'v1_task_log'), # api v2 Url('/api/v2/yardstick/environments', 'v2_environments'), |