Administrator
2026-08-13 c1d984b2a937f8d3bfe94a9ec724f438994fe6bd
refs
author Administrator <15274802129@163.com>
Thursday, August 13, 2026 15:41 +0800
committer Administrator <15274802129@163.com>
Thursday, August 13, 2026 15:41 +0800
commitc1d984b2a937f8d3bfe94a9ec724f438994fe6bd
tree b04a1299864b096f8e960867696d49b074b37018 tree | zip | gz
parent a23f23570935850192099133509e90c33769d26c view | diff
feat(gate): 添加策略端组件开关配置

- 在 application.yml 中新增 app.gate.enabled 配置项,默认值为 false
- 为 CommandQueueInitializer 添加 ConditionalOnProperty 注解控制条件加载
- 为 GateCommandConsumer 添加 ConditionalOnProperty 注解控制条件加载
- 为 GateConfigController 添加 ConditionalOnProperty 注解控制条件加载
- 为 GateConfigPersistenceService 添加 ConditionalOnProperty 注解控制条件加载
- 为 GateLogBuffer 添加 ConditionalOnProperty 注解控制条件加载
- 为 GateWebSocketClientManager 添加 ConditionalOnProperty 注解控制条件加载
- 为 HeartbeatScheduler 添加 ConditionalOnProperty 注解控制条件加载
- 为 StatsEventProducer 添加 ConditionalOnProperty 注解控制条件加载
9 files modified
19 ■■■■■ changed files
src/main/java/com/xcong/excoin/modules/gateApi/CommandQueueInitializer.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateCommandConsumer.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateLogBuffer.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/GateWebSocketClientManager.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/HeartbeatScheduler.java 2 ●●●●● diff | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/gateApi/StatsEventProducer.java 2 ●●●●● diff | view | raw | blame | history
src/main/resources/application.yml 3 ●●●●● diff | view | raw | blame | history