Add task-args(from yaml file) candidates in /api/v2/yardstick/testcases API 91/38391/2
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 31 Jul 2017 02:49:12 +0000 (02:49 +0000)
committerJack Chan <chenjiankun1@huawei.com>
Wed, 2 Aug 2017 01:00:12 +0000 (01:00 +0000)
commitd5ff38b3ff3309cb1fed11266c98aca23001ea44
treea54024697405526058c0758fe79e0bc8d1cb5920
parent5abe4fe013a14c528bfb1e0ff4c8bcb9b8817551
Add task-args(from yaml file) candidates in /api/v2/yardstick/testcases API

JIRA: YARDSTICK-766

We have the demand to get all task-args candidates in test case yaml
file,
so that user get easily change it.
The response will like:
{
    'status': 1,
    'result': {
        'testcase': case content,
        'args': {
            'image': {'description': '', 'type': 'String'}
        }
    }
}

In this patch, I add jinja2schema 0.1.4 in requirements.txt.

Change-Id: I450082402370add5ab29090286f026fe3cc8c36e
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/v2/testcases.py
requirements.txt