summaryrefslogtreecommitdiffstats
path: root/qtip/api/__main__.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-23Add unit tests for List and get in API.akhilbatra8981-2/+7
- 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-11Implement Retrieval of plans, QPIs, and metricsakhilbatra8981-1/+2
- 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 controllersakhilbatra8981-1/+4
- 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 Zhang1-0/+9
Change-Id: I33cdd3b1304c695b81d2e23434a70acfcc9a21f8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Add Api Basic framework skeletonAkhil Batra1-0/+11
- 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>