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,