From 94e764f97ed357f61897f24f56d19e7f30477b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E5=86=AC=E6=A2=85?= Date: Wed, 5 Jun 2019 18:05:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=A4=B1=E8=B4=A5=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=9A=84=E4=B8=80=E4=B8=AA=E5=AD=97=E5=85=B8=EF=BC=9B?= =?UTF-8?q?=20=E5=8E=BB=E6=8E=89=E6=8B=A6=E6=88=AA=E9=99=90=E9=80=9F?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=20=E6=8B=A6=E6=88=AA=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=9A=84userRegion=E4=B8=BA{}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/20190521/http_manipulation.sql | 3 ++- src/main/resources/sql/20190521/intercept_policy.sql | 2 -- src/main/resources/sql/20190604/proxy_built-in.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/sql/20190521/http_manipulation.sql b/src/main/resources/sql/20190521/http_manipulation.sql index 8e50226af..f6ec8331f 100644 --- a/src/main/resources/sql/20190521/http_manipulation.sql +++ b/src/main/resources/sql/20190521/http_manipulation.sql @@ -18,7 +18,8 @@ INSERT INTO `function_region_dict` (`function_id`, `config_district`, `config_re #为admin角色分配操控菜单权限 insert into sys_privilege (PRIVILEGE_MASTER,PRIVILEGE_MASTER_VALUE,PRIVILEGE_ACCESS,PRIVILEGE_ACCESS_VALUE,PRIVILEGE_OPERATION ) select 'ROLE',r.id,1000,m.id,1 from sys_role r,sys_menu m where r.name='admin' and m.code in ('http_manipulation'); - +#删除拦截限速业务 +update function_service_dict set is_valid=0 where action_code='ratelimit' and service_id=514 and function_id=200; #TODO 删除service、region字典*****************确认是否删除server_conf.xml #update function_region_dict set is_Valid=0 where function_id in(208,209) and is_valid=1; #update function_service_dict set is_Valid=0 where function_id in(208,209) and is_valid=1; diff --git a/src/main/resources/sql/20190521/intercept_policy.sql b/src/main/resources/sql/20190521/intercept_policy.sql index ba86c55eb..7c50cc027 100644 --- a/src/main/resources/sql/20190521/intercept_policy.sql +++ b/src/main/resources/sql/20190521/intercept_policy.sql @@ -5,8 +5,6 @@ INSERT INTO `sys_data_dictionary_name`(`module_name`, `mark`, `remark`, `revisio INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'pass-through', 'Pass-Through', '默认', 1, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD'; #INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4097, 'fail-close', 'Fail-Close', NULL, 2, 1, 1, 154); INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'fail-close', 'Fail-Close', NULL, 2, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD'; -#INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4098, 'ignore', 'Ignore', NULL, 3, 1, 1, 154); -INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'ignore', 'Ignore', NULL, 3, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD'; #SSL version字典 INSERT INTO `sys_data_dictionary_name`(`module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('SSL_VERSION', 'SSL_VERSION', '用于代理拦截策略,SSL版本', NULL, '2019-05-09 11:50:43', '2019-05-09 11:50:46', 1); #INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4099, 'ssl3', 'SSLv3', 'min default', 1, 1, 1, 155); diff --git a/src/main/resources/sql/20190604/proxy_built-in.json b/src/main/resources/sql/20190604/proxy_built-in.json index 4f94303f0..f87b3db1a 100644 --- a/src/main/resources/sql/20190604/proxy_built-in.json +++ b/src/main/resources/sql/20190604/proxy_built-in.json @@ -20,7 +20,7 @@ "configOption": 1, "startTime": "2019-06-04 15:09:04", "endTime": "2099-06-04 15:09:04", - "userRegion": "DOMAIN_ID=0;DOMAIN_STR=20190604.com", + "userRegion": "{}", "groupNum": 1, "fatherCfgId": 0, "affairId": 97,