feat(syslog): 为三个生产模块增加启动版本标识
- syslog-serve 增加 SYSLOG_BUILD_READY 启动日志 - syslog-consumer 增加 SYSLOG_BUILD_READY 启动日志 - 更新 syslog-consumer-rule 代码修订标识至 v63 - 输出模块名、代码修订号、运行环境及关键非敏感配置 - 支持通过容器日志快速确认实际部署的 JAR 版本 - 补充 syslog-serve 和 syslog-consumer 启动日志测试 - 不输出数据库密码、API 凭据等敏感信息 - 不修改 Maven POM 配置
This commit is contained in:
+4
-1
@@ -21,6 +21,9 @@ public interface DeviceDeviceMapper {
|
||||
*/
|
||||
List<DeviceDevice> selectAll();
|
||||
|
||||
/** 规则缓存全量失效只需要主键,避免加载整行设备信息。 */
|
||||
List<Long> selectAllIds();
|
||||
|
||||
/**
|
||||
* 根据IP地址查询设备
|
||||
*/
|
||||
@@ -90,4 +93,4 @@ public interface DeviceDeviceMapper {
|
||||
* 根据厂商查询设备
|
||||
*/
|
||||
List<DeviceDevice> selectByVendor(String vendor);
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -24,6 +24,10 @@ public interface DmNormalizeRuleMapper {
|
||||
|
||||
List<Long> selectDeviceIdsByRuleId(@Param("ruleId") Long ruleId);
|
||||
|
||||
List<Long> selectRuleIdsByDeviceId(@Param("deviceId") Long deviceId);
|
||||
|
||||
List<Long> selectAllAssociatedDeviceIds();
|
||||
|
||||
/**
|
||||
* 根据ID更新数据标准化规则
|
||||
* @param rule 数据标准化规则对象
|
||||
|
||||
Reference in New Issue
Block a user