summaryrefslogtreecommitdiffstats
path: root/qtip/api
AgeCommit message (Collapse)AuthorFilesLines
2017-03-28Merge "Add unit tests for List and get in API." into stable/danubeYujun Zhang6-89/+58
2017-03-23Add unit tests for List and get in API.akhilbatra8986-89/+58
- refactor controllers - remove abspath and other irrelvant data in response - move fixtures - refactor decorators JIRA: QTIP-226 Change-Id: I5fac5b1bc998da198098992e7ddb47ba49685f31 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in> (cherry picked from commit bef693f40ad87170b7233b9fef62f2fd8abfc8d8)
2017-03-23Add missing license headersYujun Zhang2-1/+10
Change-Id: Idd76277c84a6afc9a545d6e2bba39aae6e7f5d71 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit 29df737b48ccf31f555d0e4c08a65e14ecb66331)
2017-03-21provide get_one_exceptions to unify get_xx processSerenaFeng2-9/+22
add refactor get_metric() Change-Id: I972c77e63a654eeb286c573d75efe842b2887c1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 9f87878becc36b19110e151e802180aa5f7fb305)
2017-03-11Implement Retrieval of plans, QPIs, and metricsakhilbatra8985-31/+173
- All specs can be listed - All specs can be individually retrieved - API can be installed alongside qtip - API can be hosted using command `qtip-api` JIRA: QTIP-221 JIRA: QTIP-222 Change-Id: I1e80e6609cae1252cb2fcdc38c71b4bf6d02e8c9 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in> (cherry picked from commit 15fceada86ad0d5dabe26365451aae9c95b36be1)
2017-03-09Add basic swagger specifications and corresponding controllersakhilbatra8985-2/+278
- Update specifications as per requirements - map specifications with controllers - make api installable JIRA: QTIP-220 Change-Id: Id149fdcf68e869e31a00cf16d7e725e368d2b25f Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-03-03Add missing license headersYujun Zhang2-0/+18
Change-Id: I33cdd3b1304c695b81d2e23434a70acfcc9a21f8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Merge "Add Api Basic framework skeleton"Yujun Zhang3-0/+20
2017-02-22Add Api Basic framework skeletonAkhil Batra3-0/+20
- Requirements updated to remove flask and include connexion - Api specifications will be added to specs file in swagger/ - controllers module will handle all requests and responses JIRA: QTIP-213 Change-Id: Icfec15ddeff7d53c53ce64910ae2bddd4fc0f260 Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2017-02-19Move api server to legacy code.Akhil Batra2-31/+0
Change-Id: Idda8a48bc8cecac5aff4a1f99b8e4e0b58855fff Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2017-01-11Reorganize the project foldersYujun Zhang9-355/+2
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-07modify deprecated importsAkhil Batra3-5/+5
Add description for the api specs flask.ext.xx is deprecated. need to use flask_xx instead https://github.com/pallets/flask/issues/1135 Change-Id: I9960dd44d03243bde73df8633c45ec3a1f437cea Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2016-12-14make qtip-server installableSerenaFeng1-2/+38
JIRA: QTIP-189 Change-Id: I8de0fa1ff3033fd37c499e75f35a5387f5345f8f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13refactor qtip-server structureSerenaFeng10-46/+68
JIRA: QTIP-186 Change-Id: I4ecdcdc2869de0ef717ebf4bd1346e7c428b5b19 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-25Bugfix: fix the qtip restful server unit test problem.zhifeng.jiang1-1/+1
JIRA:QTIP-158 Change-Id: I0ed1d3eb6959bb36615734ef757fa95560cb3baf Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-16Bugfix:Correct the import path in qtip_server.zhifeng.jiang2-3/+3
JIRA:QTIP-158 Change-Id: I962b01496346dc2257b069b4feffaef6dd094322 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-10Adjust folder structureYujun Zhang4-0/+326
Note: this patchset may break existing features, but it will help to accelerate the refactoring work. JIRA: QTIP-131 Change-Id: Ie0cd9d185e6b02316878daef905e26f4e533a66b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>