refactor config parser to facilitate adding new configs
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 12 May 2017 09:02:35 +0000 (17:02 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 12 May 2017 09:07:47 +0000 (17:07 +0800)
commite401fd7efbf74c7cdc5334c380c79b45ad9271e0
treec94c4147b3ee71479abbec8be7165367734a4781
parent909be5b53a6141f84480dc29eb5dbfffe5c35fad
refactor config parser to facilitate adding new configs

refactor hardcoded config.py to facilitate adding new
configurations come along with web portal and Authentication
features

Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/cmd/server.py
testapi/opnfv_testapi/common/config.py
testapi/opnfv_testapi/tests/unit/common/test_config.py