summaryrefslogtreecommitdiffstats
path: root/restful_server
AgeCommit message (Collapse)AuthorFilesLines
2016-10-20Push test results to testdb at the end of qtip_server job.zhifeng.jiang2-2/+8
JIRA:QTIP-99 Change-Id: I2a3ba25c1bcb66cf71a65757c3f003838dca614f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-13Refactor pushing suite result to test dbzhifeng.jiang1-0/+22
modification: remove compute_suite.py,network_suite.py,storage_suite.py handler all suite result in suite_result.py refactor pushtoDB.py so that it can be called by qtip_server JIRA:QTIP-99 Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-10Add testdb url and node_name in post parameters of restful serverzhifeng.jiang2-4/+17
JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-08Merge "Add benchmark name in post request parameters"Yujun Zhang1-2/+11
2016-10-08Merge "Rename `suit` to `suite`"Yujun Zhang1-2/+2
2016-10-07Merge "Correct spelling error in function name"Yujun Zhang2-3/+3
2016-10-07Rename `suit` to `suite`Yujun Zhang1-2/+2
We should use correct words for naming. Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Correct spelling error in function nameYujun Zhang2-3/+3
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang2-7/+7
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Add benchmark name in post request parameterszhifeng.jiang1-2/+11
Change-Id: I53974789d59f316afa72fb753397baa45247e64c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-28Start restful server auto in dockerzhifeng.jiang2-6/+15
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-21Merge "Fix issues found in security review"Yujun Zhang1-1/+1
2016-09-20Run benchmark test in restful server post apizhifeng.jiang2-16/+77
modification: Call ansible async in restful server post api Set the job state 'finished' when finish benchmark test Terminate the next benchmark in restful server delete api job result will be in next commit JIRA:QTIP-97 Change-Id: I252482dddd9b35ba33f992e8ea19037d8919fad6 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-20Fix issues found in security reviewSerenaFeng1-1/+1
JIRA: QTIP-105 Change-Id: I08108a982f9059fd19b92df0d219fa8f13f288ad Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-23Add some state change functions in db.py.zhifeng.jiang2-5/+25
modification: Add some functions in db.py Unit test will be added after functions called by restful server. Rename 'deadline' to 'max-minutes' JIRA:QTIP-99 Change-Id: I74ed93df3f2dd91fa154fa0fcb52605983ee2719 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-13Add restful server API in QTIP which can be called by Yardstick.zhifeng.jiang3-0/+186
modification: Add restful server API. Include needed packages in requirement file. Add unit tests for restful server api. JIRA:QTIP-97 Change-Id: I5306d5dd76ee818fef46d0e7b7392f2df2982552 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>