feat: ASW-8 新增 Runner 相关接口
This commit is contained in:
@@ -141,6 +141,7 @@ DROP TABLE IF EXISTS `runner`;
|
||||
CREATE TABLE `runner` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键',
|
||||
`name` varchar(256) NOT NULL DEFAULT '' COMMENT '名称',
|
||||
`token` varchar(64) NOT NULL DEFAULT '' COMMENT 'token',
|
||||
`tags` varchar(256) NOT NULL DEFAULT '' COMMENT '标签,多个逗号分隔',
|
||||
`support_platforms` varchar(256) NOT NULL DEFAULT '' COMMENT '支持的平台; 可选值:android,ios,windows; 多个逗号分隔; 例:android,ios',
|
||||
`share_flag` int(1) NOT NULL DEFAULT 1 COMMENT '共享标识; 1:共享 0:不共享,仅创建人可用',
|
||||
@@ -192,8 +193,8 @@ CREATE TABLE `job` (
|
||||
`schedule_id` varchar(64) NOT NULL DEFAULT '' COMMENT '定时器ID',
|
||||
`signature_ids` text NOT NULL DEFAULT '' COMMENT '特征ID,多个逗号分隔',
|
||||
`tags` varchar(256) NOT NULL DEFAULT '' COMMENT '标签; 默认:"";多个用逗号分隔;例:kz,vpn,android',
|
||||
`start_timestamp` bigint(20) NOT NULL DEFAULT (UNIX_TIMESTAMP(NOW()) * 1000) COMMENT '开始时间戳',
|
||||
`end_timestamp` bigint(20) NOT NULL DEFAULT (UNIX_TIMESTAMP(NOW()) * 1000) COMMENT '结束时间戳',
|
||||
`start_timestamp` bigint(20) NOT NULL DEFAULT -1 COMMENT '开始时间戳',
|
||||
`end_timestamp` bigint(20) NOT NULL DEFAULT -1 COMMENT '结束时间戳',
|
||||
`status` varchar(64) NOT NULL DEFAULT '' COMMENT '状态; 可选值: created,pending,running,passed,failed,cancel',
|
||||
`pcap_id` varchar(64) NOT NULL DEFAULT '' COMMENT 'PCAP ID',
|
||||
`log_path` varchar(256) NOT NULL DEFAULT '' COMMENT '日志文件路径',
|
||||
|
||||
Reference in New Issue
Block a user