# ============================================================ # 缓存序列化结构变更检测 — 业务仓库配置 # ============================================================ # 说明: # - 本配置文件为业务覆盖配置,会与 jar 内 default-config.yaml 深度合并 # - 未声明的项沿用工具内置默认值(忽略规则、检测模式等) # - 当前实现以 Redis 写入检测为主,后续可扩展其他缓存 # 总开关 true-执行检测 false-跳过检测(流水线直接通过,不发通知) enabled: true # 运行模式 notify-仅通知,不阻断流水线 block-检测到结构变更即阻断流水线(exit 1) mode: notify # 通知配置 notify: enabled: true webhook_url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=fa14f0b3-e01a-40f6-96bd-e18beb94e85e notify_on_clean: false title_prefix: "【缓存结构变更】" # 观察期:先只扫描 jnpf-tenant 模块,稳定后改为 include_modules: [] include_modules: - jnpf-tenant # 手动补充映射(自动推断不准时使用) manual_mappings: - id: tenant-db-content writer_method: "jnpf.util.TenantDbContentCacheHelper#cacheSuccess" key_pattern: "tenant:db:content:*" value_type: "jnpf.util.TenantDbContentCacheHelper.CacheEnvelope" description: "租户库信息缓存" # 误报忽略(按需添加) suppressions: []