Skip to content

Commit

Permalink
feat(backend): dbconfig 增加PredixRedisCluster #3511
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlook authored and zhangzhw8 committed Mar 11, 2024
1 parent e3fbb0d commit 9c03c2d
Show file tree
Hide file tree
Showing 3 changed files with 437 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
--
-- WHERE: namespace='RedisInstance'

INSERT INTO `tb_config_file_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_type_lc`, `conf_file_lc`, `level_names`, `level_versioned`, `conf_name_validate`, `conf_value_validate`, `value_type_strict`, `namespace_info`, `version_keep_limit`, `version_keep_days`, `conf_name_order`, `description`, `created_at`, `updated_at`, `updated_by`) VALUES (319,'RedisInstance','config','fullbackup','配置','全备相关的配置','pub,plat,app,module,cluster','cluster',1,1,0,'tendisCache',5,365,0,NULL,'2024-01-18 15:49:34','2024-01-18 15:49:34','');
INSERT INTO `tb_config_file_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_type_lc`, `conf_file_lc`, `level_names`, `level_versioned`, `conf_name_validate`, `conf_value_validate`, `value_type_strict`, `namespace_info`, `version_keep_limit`, `version_keep_days`, `conf_name_order`, `description`, `created_at`, `updated_at`, `updated_by`) VALUES (319,'RedisInstance','config','fullbackup','配置','全备相关的配置','pub,plat,app,module,cluster','cluster',1,1,0,'tendisCache',5,365,0,NULL,'2024-01-18 15:49:34','2024-03-07 10:30:07','');
INSERT INTO `tb_config_file_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_type_lc`, `conf_file_lc`, `level_names`, `level_versioned`, `conf_name_validate`, `conf_value_validate`, `value_type_strict`, `namespace_info`, `version_keep_limit`, `version_keep_days`, `conf_name_order`, `description`, `created_at`, `updated_at`, `updated_by`) VALUES (312,'RedisInstance','dbconf','Redis-2','redis配置','redis2.0的配置文件','pub,plat,app,module,cluster','cluster',1,1,0,'tendisCache',5,365,0,NULL,'2024-01-18 15:49:34','2024-01-18 15:49:34','');
INSERT INTO `tb_config_file_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_type_lc`, `conf_file_lc`, `level_names`, `level_versioned`, `conf_name_validate`, `conf_value_validate`, `value_type_strict`, `namespace_info`, `version_keep_limit`, `version_keep_days`, `conf_name_order`, `description`, `created_at`, `updated_at`, `updated_by`) VALUES (313,'RedisInstance','dbconf','Redis-3','redis配置','redis3.0的配置文件','pub,plat,app,module,cluster','cluster',1,1,0,'tendisCache',5,365,0,NULL,'2024-01-18 15:49:34','2024-01-18 15:49:34','');
INSERT INTO `tb_config_file_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_type_lc`, `conf_file_lc`, `level_names`, `level_versioned`, `conf_name_validate`, `conf_value_validate`, `value_type_strict`, `namespace_info`, `version_keep_limit`, `version_keep_days`, `conf_name_order`, `description`, `created_at`, `updated_at`, `updated_by`) VALUES (314,'RedisInstance','dbconf','Redis-4','redis配置','redis4.0的配置文件','pub,plat,app,module,cluster','cluster',1,1,0,'tendisCache',5,365,0,NULL,'2024-01-18 15:49:34','2024-01-18 15:49:34','');
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DELETE FROM tb_config_file_def WHERE namespace='PredixyRedisCluster';
DELETE FROM tb_config_name_def WHERE namespace='PredixyRedisCluster' AND (flag_encrypt!=1 or value_default like '{{%');
Loading

0 comments on commit 9c03c2d

Please sign in to comment.