Add API to show test case documentation 91/36691/3
authorchenjiankun <chenjiankun1@huawei.com>
Thu, 29 Jun 2017 03:38:04 +0000 (03:38 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 30 Jun 2017 02:52:58 +0000 (02:52 +0000)
commitbf298f7dfa5de497ef3cd69aaea7218ed7559160
tree9d9d83da5d330dec08fe535de893ac4e2a45a4a5
parent79efa6e0d975dcd08aa5e29fc645d30601dfe927
Add API to show test case documentation

JIRA: YARDSTICK-694

We need API to show test case documentation.
API: /yardstick/testcases/<testcase_name>/docs
method: GET

example:
http://192.168.131.2:8888/yardstick/testcases/opnfv_yardstick_tc002/docs

Change-Id: Ib8d591f0ff5f91c4d0a740539727ec73ddd86249
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/base.py
api/resources/case_docs.py [new file with mode: 0644]
api/urls.py
api/views.py
yardstick/common/constants.py