From 97c34c1840de3b3812b306b2b3d6fc354862196a Mon Sep 17 00:00:00 2001 From: "zhifeng.jiang" Date: Fri, 7 Oct 2016 15:55:59 +0800 Subject: Add testdb url and node_name in post parameters of restful server JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang --- restful_server/db.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'restful_server/db.py') diff --git a/restful_server/db.py b/restful_server/db.py index 8da64187..24fc27a5 100644 --- a/restful_server/db.py +++ b/restful_server/db.py @@ -25,6 +25,8 @@ def create_job(args): 'suite_name': args["suite_name"], 'max_minutes': args["max_minutes"], 'type': args["type"], + 'testdb_url': args["testdb_url"], + 'node_name': args["node_name"], 'start_time': str(datetime.now()), 'end_time': None, 'state': 'processing', -- cgit 1.2.3-korg