aboutsummaryrefslogtreecommitdiffstats
path: root/functest/api/resources/v1/tasks.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-15Remove cli and apiCédric Ollivier1-111/+0
cli has been deprecated for a while and restapi is uncovered and unverified. This patch will be partially reverted as soon as next unit tests cover functest/api. It partially updates troubleshooting docs which has to be completed in a second change [1]. [1] https://jira.opnfv.org/browse/FUNCTEST-982 Change-Id: I08e0bd212fcf5f5c5c220eb2500a6b0a6ff46df7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-22Switch from CONST to CONFCédric Ollivier1-3/+3
It also removes constants.CONST and env.Environment which are now useless. Depends-On: I764a0a2a24447c941d1e726f3116593b29dd1c1e Depends-On: I6cfa832466dcefd737314633d807512e46267a69 Change-Id: Ife41c59d9f2e6ec4e49df38af962039f99554bc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-13Read env vars instead of using CONST in APILinda Wang1-1/+1
Also, improve the way of getting env values. JIRA: FUNCTEST-933 Change-Id: Ia66bbaf683df03c2874fafe578b84bb78a4f3fd1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-19Add swagger support for Rest APILinda Wang1-0/+6
JIRA: FUNCTEST-854 Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-13Allow reading log file with byte offsetLinda Wang1-1/+5
Change-Id: I8cd6acef66d798fa43e20ca9d885dcbaa99a5b42 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-05unify all the return status as numberLinda Wang1-4/+10
Change-Id: I835a368fe78329e60e811e40c24f3609c7a8960c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25Create API to get log for each taskLinda Wang1-3/+40
API: /api/v1/functest/tasks/<task_id>/log METHOD: GET JIRA: FUNCTEST-867 Change-Id: I987cbf662e4da349bf7583e48da5d981a2f1e0fd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-21Create API to run a test caseLinda Wang1-0/+58
Two APIs are created here: 1. Run a test case 2. Get the result of the task id JIRA: FUNCTEST-853 Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097 Signed-off-by: Linda Wang <wangwulin@huawei.com>