solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI 11/15311/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 8 Jun 2016 18:10:01 +0000 (02:10 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 8 Jun 2016 18:17:39 +0000 (02:17 +0800)
commitcdff7d8d41693971f4c5dc8dd18d6907a5e31937
treec6d0f727acb878544ead1e8a864338490c16d03f
parent354761f94cdd7283740a487d5384ef9b233b66c3
solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI

add swagger configuration in config.ini
add swagger.docs() process in server.py
add swagger configuration parse in config.py
add basePath() in settings.py
change 'basePath' item assignment in views.py

JIRA: FUNCTEST-305

Change-Id: I049991d4d53b78755ee971021ec0ad2458f5da60
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/result_collection_api/etc/config.ini
utils/test/result_collection_api/opnfv_testapi/cmd/server.py
utils/test/result_collection_api/opnfv_testapi/common/config.py
utils/test/result_collection_api/opnfv_testapi/tornado_swagger/settings.py
utils/test/result_collection_api/opnfv_testapi/tornado_swagger/views.py