From 9ae4f28389794dc5021ad7ec3f69bd7ea59bef87 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Wed, 19 Sep 2018 12:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9app=5Fpayload=E5=92=8Capp=5Fd?= =?UTF-8?q?ns=E4=B8=9A=E5=8A=A1id=20=E5=88=A0=E9=99=A4app=20byte=E3=80=81h?= =?UTF-8?q?eader=E3=80=81tcp=20session=E4=B8=9A=E5=8A=A1=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9app=20ssl=E7=9A=84=E8=A1=A8=E5=90=8D=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/sql/20180918/add_appFeature.sql | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/resources/sql/20180918/add_appFeature.sql b/src/main/resources/sql/20180918/add_appFeature.sql index c9b8eda5c..9980d9eec 100644 --- a/src/main/resources/sql/20180918/add_appFeature.sql +++ b/src/main/resources/sql/20180918/add_appFeature.sql @@ -1,6 +1,6 @@ #add app payload and app dns -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 ('127', '561', '0', '1', 'monit', '998', 'app_payload', NULL, '1', '1', NULL, NULL, NULL, '1'); -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 ('129', '562', '0', '1', 'monit', '999', 'app_dns', NULL, '1', NULL, NULL, NULL, NULL, '1'); +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 ('127', '561', '0', '1', 'monit', '1025', 'app_payload', NULL, '1', '1', NULL, NULL, NULL, '1'); +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 ('129', '562', '0', '1', 'monit', '1027', 'app_dns', NULL, '1', NULL, NULL, NULL, NULL, '1'); 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 ('', '0', '0,1,2', '0,1', '0,1,2,3', '203', '561', '1', 'APP_PAYLOAD', 'C2S_session_size,S2C_session_size,L2_header,L3_header', 'APP载荷特征', '1', NULL, NULL, NULL, NULL, '1', '3', NULL, NULL, NULL, NULL, NULL, NULL, '1'); 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 ('', '0', '0,1,2', '0,1', '0,1,2,3', '204', '562', '1', 'APP_DNS', 'DNS_Name', 'APP DNS域名', '1', NULL, '0000-00-00 00:00:00', NULL, '0000-00-00 00:00:00', '1', '3', '', '', '', '', '', '', '1'); INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1075', '735', '0,1,86,717,735,', 'APP_PAYLOAD', 'APP PAYLOAD', '260', '/app/headerCfgList', '', '', '1', 'app:header:config', '1', '2018-09-16 21:40:49', '1', '2018-09-16 21:40:49', '', '1', NULL, '0', '0', '561'); @@ -14,7 +14,22 @@ INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, update function_region_dict set is_valid=0 where function_id=550; update function_service_dict set is_valid=0 where function_id=550; update sys_menu set del_flag=0 where function_id=550; -update statistics_tables set is_valid=1 where id=44; +update statistics_tables set is_valid=0 where id=44; +#delete 404 app byte config +update function_region_dict set is_valid=0 where function_id=404; +update function_service_dict set is_valid=0 where function_id=404; +update sys_menu set del_flag=0 where function_id=404; +update statistics_tables set is_valid=0 where id=1; +#delete 530 app header config +update function_region_dict set is_valid=0 where function_id=530; +update function_service_dict set is_valid=0 where function_id=530; +update sys_menu set del_flag=0 where function_id=530; +update statistics_tables set is_valid=0 where id=42; + +#update app ssl regionValue +update function_region_dict set config_region_value=APP_SSL where function_id=520; +#update app ssl old value +update app_ssl_cert_cfg set cfg_type='APP_SSL' where service_id=1029; #update ssl disctrict new info DELETE from sys_data_dictionary_item where dictionary_id=110;