solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI
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)
commite3c312c23b45f50b583f42dadfa15f60a7544359
treec70dc2d88a83955ddce71e7ce8c37aa7c2f5422b
parent629bdee7b5acc4eb078395f6c933bfd6391a3d4c
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>
result_collection_api/etc/config.ini
result_collection_api/opnfv_testapi/cmd/server.py
result_collection_api/opnfv_testapi/common/config.py
result_collection_api/opnfv_testapi/tornado_swagger/settings.py
result_collection_api/opnfv_testapi/tornado_swagger/views.py