This commit is contained in:
35
.gitea/config/serialization-schema-check-config.yaml
Normal file
35
.gitea/config/serialization-schema-check-config.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# ============================================================
|
||||
# 序列化结构变更检测 — 业务仓库配置
|
||||
# ============================================================
|
||||
# 说明:
|
||||
# - 本配置文件为业务覆盖配置,会与 jar 内 default-config.yaml 深度合并
|
||||
# - 未声明的项沿用工具内置默认值(忽略规则、检测模式等)
|
||||
# - 当前以 Redis 缓存写入检测为主;MQ(RocketMQ/Kafka)方案见 docs/MQ序列化结构检测方案.md
|
||||
|
||||
# 总开关 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: []
|
||||
Reference in New Issue
Block a user