aboutsummaryrefslogtreecommitdiffstats
path: root/restful_server/qtip_server.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10Add testdb url and node_name in post parameters of restful serverzhifeng.jiang1-4/+15
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 Zhang1-2/+2
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 Zhang1-2/+2
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang1-5/+5
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.jiang1-3/+7
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.jiang1-7/+45
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.jiang1-3/+3
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.jiang1-0/+138
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>