拦截文件策略功能更改
This commit is contained in:
@@ -16,4 +16,10 @@ VALUES
|
||||
INSERT INTO function_region_dict
|
||||
()
|
||||
VALUES
|
||||
('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 177, 8, 3, 'NTC_SUBSCRIBE_ID', '', 'HTTP SUBSCRIBE_ID配置', 1, NULL, NULL,NULL , NULL, 1, 3, '', '', '', '', '', '', 7);
|
||||
('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 177, 8, 3, 'NTC_SUBSCRIBE_ID', '', 'HTTP SUBSCRIBE_ID配置', 1, NULL, NULL,NULL , NULL, 1, 3, '', '', '', '', '', '', 7);
|
||||
|
||||
|
||||
INSERT INTO function_region_dict
|
||||
(`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
|
||||
VALUES
|
||||
('', '', '', '', '', 186, 570, 1, 'PXY_OBJ_KEYRING', '', '证书策略配置', 1, NULL, NULL, NULL, NULL, 2, 6, '', '', '', '', '', '', 1);
|
||||
|
||||
4
src/main/resources/sql/add_function_service.sql
Normal file
4
src/main/resources/sql/add_function_service.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
INSERT INTO function_service_dict
|
||||
(`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
|
||||
VALUES
|
||||
(116, 570, 0, 1, 'monit', 520, 'pxy_intercept_monit_keyring', '', 1, null, null, null, null, '');
|
||||
31
src/main/resources/sql/add_pxy_obj_keyring.sql
Normal file
31
src/main/resources/sql/add_pxy_obj_keyring.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
CREATE TABLE `pxy_obj_keyring` (
|
||||
`cfg_id` bigint(20) COMMENT '请求策略号',
|
||||
`cfg_desc` varchar(128) COMMENT '钥匙环名称',
|
||||
`cfg_type` varchar(64) COMMENT '内容类型',
|
||||
`keyring_type` varchar(128) COMMENT '证书类型',
|
||||
`private_key_file` varchar(1024) COMMENT '私钥文件',
|
||||
`public_key_file` varchar(1024) COMMENT '公钥文件',
|
||||
`expire_after` int COMMENT '默认为30天,实体证书不可设置,界面填0',
|
||||
`public_key_algo` varchar(64) DEFAULT NULL COMMENT '公钥算法',
|
||||
`crl` varchar(64) DEFAULT NULL COMMENT 'CRL',
|
||||
`action` int(11) NOT NULL COMMENT '阻断',
|
||||
`is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
|
||||
`is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
|
||||
`creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
|
||||
`create_time` datetime NOT NULL,
|
||||
`editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
|
||||
`edit_time` datetime DEFAULT NULL,
|
||||
`auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
|
||||
`audit_time` datetime DEFAULT NULL,
|
||||
`service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
|
||||
`request_id` int(11) NOT NULL COMMENT '取自request_info.id',
|
||||
`is_area_effective` int(11) NOT NULL DEFAULT 0 COMMENT '0否,1是',
|
||||
`classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
|
||||
`attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
|
||||
`lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
|
||||
`area_effective_ids` varchar(1024) DEFAULT '' COMMENT '多个英文逗号分隔',
|
||||
`function_id` int(11) NOT NULL,
|
||||
`cfg_region_code` int(11) DEFAULT NULL,
|
||||
`compile_id` int(11) NOT NULL,
|
||||
PRIMARY KEY (`cfg_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
Reference in New Issue
Block a user