Files
schemaCheck/.gitea/config/serialization-schema-check-config.yaml
2026-07-15 16:50:04 +08:00

42 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# 序列化结构变更检测 — 业务仓库配置
# ============================================================
# 说明:
# - 本配置文件为业务覆盖配置,会与 jar 内 default-config.yaml 深度合并
# - 未声明的项沿用工具内置默认值(忽略规则、检测模式等)
# - 当前覆盖 Redis 缓存 + MQRocketMQ/Kafka生产侧投递检测
# 总开关 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: []
# MQ destination 忽略示例(按需取消注释)
# ignore:
# mq_destinations:
# - "benchmark:*"
# - "*:TEST"