summaryrefslogtreecommitdiffstats
path: root/qtip/api/controllers/metric.py
AgeCommit message (Collapse)AuthorFilesLines
2017-07-26Deprecate plan and metric loaderYujun Zhang1-25/+0
- qtip test plan is now automaticlly generated by `qtip create`. The original way of loading plans is no longer valid - metric specs are now embedded in qpi spec, no separated loader are required now JIRA: QTIP-258 Change-Id: I768d75b014163ce060faff00f415a1cdc437ce73 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-22Add unit tests for List and get in API.akhilbatra8981-7/+6
- 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>
2017-03-15provide get_one_exceptions to unify get_xx processSerenaFeng1-9/+3
add refactor get_metric() Change-Id: I972c77e63a654eeb286c573d75efe842b2887c1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-10Implement Retrieval of plans, QPIs, and metricsakhilbatra8981-7/+16
- 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>
2017-03-09Add basic swagger specifications and corresponding controllersakhilbatra8981-0/+23
- 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>