aboutsummaryrefslogtreecommitdiffstats
path: root/functest/api/urls.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-08-25 12:14:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-25 12:14:44 +0000
commit6726fb16f9719b21636454c9573f0cc716ea25f4 (patch)
treeffda41263cee63e6dee67356a733a9c0e55a6f41 /functest/api/urls.py
parent6e1245a7d19d62810fbe5ee1aab248a85fa2bc15 (diff)
parentdc73f1b7cb3afffcace97e3ede9dd25639def6e2 (diff)
Merge "Create API to get log for each task"
Diffstat (limited to 'functest/api/urls.py')
-rw-r--r--functest/api/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/functest/api/urls.py b/functest/api/urls.py
index 59bf7d51..0cc22f80 100644
--- a/functest/api/urls.py
+++ b/functest/api/urls.py
@@ -63,5 +63,9 @@ URLPATTERNS = [
# GET /api/v1/functest/tasks/<task_id>
# => GET the result of the task id
- Url('/api/v1/functest/tasks/<task_id>', 'v1_tasks')
+ Url('/api/v1/functest/tasks/<task_id>', 'v1_task'),
+
+ # GET /api/v1/functest/tasks/<task_id>/log
+ # => GET the log of the task
+ Url('/api/v1/functest/tasks/<task_id>/log', 'v1_task_log')
]