Yardstick API architecture improvement 45/37045/4
authorchenjiankun <chenjiankun1@huawei.com>
Fri, 7 Jul 2017 03:13:36 +0000 (03:13 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Tue, 11 Jul 2017 09:47:30 +0000 (09:47 +0000)
commit0d18f9d3299480cb43e6b335180e5cbdb58505c3
treea35aa6373a88eddb3d13f4fdb7cd3db9bad1a4ee
parent41136dafb30d0c410e92f9f7a7c19eae60f224e2
Yardstick API architecture improvement

JIRA: YARDSTICK-710

Since we have the plan to upload api v2 and gui.
We need to add put and delete method.
So the architecture need to be improved.

Change-Id: Ie20a79c26ef6c581897ce4e63980fa2895b162d2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
23 files changed:
api/__init__.py
api/base.py [deleted file]
api/resources/asynctask.py [deleted file]
api/resources/case_docs.py [deleted file]
api/resources/env_action.py [deleted file]
api/resources/release_action.py [deleted file]
api/resources/results.py [deleted file]
api/resources/samples_action.py [deleted file]
api/resources/testcases.py [deleted file]
api/resources/testsuites_action.py [deleted file]
api/resources/v1/__init__.py [new file with mode: 0644]
api/resources/v1/asynctasks.py [new file with mode: 0644]
api/resources/v1/env.py [new file with mode: 0644]
api/resources/v1/results.py [new file with mode: 0644]
api/resources/v1/testcases.py [new file with mode: 0644]
api/resources/v1/testsuites.py [new file with mode: 0644]
api/server.py
api/urls.py
api/utils/common.py [deleted file]
api/views.py [deleted file]
tests/unit/apiserver/utils/test_common.py [deleted file]
tests/unit/common/test_utils.py
yardstick/common/utils.py