diff options
author | 2016-11-16 22:44:23 -0500 | |
---|---|---|
committer | 2016-11-20 23:00:24 -0500 | |
commit | 68fde29bdcfe0b206f588dab85e5b7d8ac9449f4 (patch) | |
tree | 833c95a1af1379a011d8c64728369718fe8edbdd /dashboard/backend/dovetail/utils/__init__.py | |
parent | 8a6bc92ff3b906a72194c7fa5db61ebb030052a4 (diff) |
Backend rest api mechanism
JIRA:DOVETAIL-63
provide rest api as the dashboard backend
1. using gunicorn as rest api server
2. using flask as rest api framework
3. using sqlalchemy as mysql database driver
4. implement basic report CRUD operations
5. implement basic session management in database operations
Change-Id: Ifbd251462396c2cb414b1ae9150cfc1e2e2d00c0
Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
Diffstat (limited to 'dashboard/backend/dovetail/utils/__init__.py')
-rwxr-xr-x | dashboard/backend/dovetail/utils/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dashboard/backend/dovetail/utils/__init__.py b/dashboard/backend/dovetail/utils/__init__.py new file mode 100755 index 00000000..6dbd8d79 --- /dev/null +++ b/dashboard/backend/dovetail/utils/__init__.py @@ -0,0 +1,8 @@ +############################################################################## +# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## |