summaryrefslogtreecommitdiffstats
path: root/restful_server/db.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10Add testdb url and node_name in post parameters of restful serverzhifeng.jiang1-0/+2
JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-07Merge "Correct spelling error in function name"Yujun Zhang1-1/+1
2016-10-07Correct spelling error in function nameYujun Zhang1-1/+1
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang1-2/+2
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-28Start restful server auto in dockerzhifeng.jiang1-3/+8
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-20Run benchmark test in restful server post apizhifeng.jiang1-9/+32
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-08-23Add some state change functions in db.py.zhifeng.jiang1-2/+22
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/+48
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>