server: # 网关默认端口(projman 注册档案:port=10010;compose 模板端口注入以盘点结论为准) port: 10010 spring: application: name: open-gateway datasource: # 注册表/台账库(open_gateway)——连接串由平台配置层注入,jar 内不留环境值 url: # 例(平台配置层):jdbc:mysql://:/open_gateway?useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai username: # password: # driver-class-name: com.mysql.cj.jdbc.Driver jpa: hibernate: # 表结构由 docs/sql/01_schema.sql 交付,应用不自动建表 ddl-auto: none redis: # 密钥链(sign:app:{appKey})走共享 Redis db0——由平台配置层注入 host: # port: # main: allow-bean-definition-overriding: true management: endpoints: web: exposure: include: health endpoint: health: probes: enabled: true yh: app: auth: # starter 验签配置(T0.11 起 GatewayKeyService 复用 SignKeyResolver) # include/exclude 路径策略由平台配置层下发;本文件不配任何真实值 enabled: # 默认随 starter gateway: # 路由表(T0.12):target -> base-url,值 = 容器网内服务直连 URL,走平台配置层 routes: # # userbase: http://userbase-service:8080 # userclass: http://userclass-service:8080 # cms: http://cms-service:8080 # svc-hall: http://svc-hall-service:8080 # flow-center: http://flow-center-service:8080 # usermsg: http://usermsg-service:8080 # notice: http://notice-service:8080 # 观察模式(T1.6):true = 全判定只记不拦(R4:P1 只观察);生产初期保持 true observe: true