separate db methods from handler.py
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 14 Jul 2017 11:27:44 +0000 (19:27 +0800)
committerSerena Feng <feng.xiaowei@zte.com.cn>
Fri, 21 Jul 2017 13:34:38 +0000 (13:34 +0000)
commit08014f8dea875cdfaf4afbaa80fb26073708327a
treecbbf7d6f02d52179453d44cc49ccb48fa32adf67
parentc0c8260d5b59bc697573c862cc292c1e5f95d1e9
separate db methods from handler.py

db methods are mingled in handler, which is not well structured

Change-Id: I639679d3fc05a0b6528158186b8bf89e0cd10596
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/cmd/server.py
testapi/opnfv_testapi/common/check.py
testapi/opnfv_testapi/db/__init__.py [new file with mode: 0644]
testapi/opnfv_testapi/db/api.py [new file with mode: 0644]
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/tests/unit/fake_pymongo.py
testapi/opnfv_testapi/tests/unit/resources/test_base.py
testapi/opnfv_testapi/ui/auth/sign.py
testapi/opnfv_testapi/ui/auth/user.py