refactor(device): 重构设备交付服务并更新Nacos配置
- 在多个模块的bootstrap.yml中添加Nacos用户名密码配置 - 注释掉日志配置中的用户名密码参数避免安全风险 - 重构CsEquipmentDeliveryServiceImpl中的updateEquipmentDelivery方法 - 添加NDID变更处理逻辑,包括设备注册表更新和Redis缓存迁移 - 实现设备名称重复校验功能 - 添加工程项目的变更处理和台账树更新 - 移除CsEventPO中的rms和uchg字段及JsonFormat注解 - 将getYzd方法从CsEventPOServiceImpl迁移到PortableOfflLogServiceImpl - 添加事件严重度和落点计算功能 - 更新补召查询逻辑,使用SortBy参数区分不同类型 - 添加CsLedgerService的queryByPid接口实现
This commit is contained in:
@@ -21,9 +21,13 @@ spring:
|
||||
discovery:
|
||||
ip: @service.server.url@
|
||||
server-addr: @nacos.url@
|
||||
username: @nacos.username@
|
||||
password: @nacos.password@
|
||||
namespace: @nacos.namespace@
|
||||
config:
|
||||
server-addr: @nacos.url@
|
||||
username: @nacos.username@
|
||||
password: @nacos.password@
|
||||
namespace: @nacos.namespace@
|
||||
file-extension: yaml
|
||||
shared-configs:
|
||||
@@ -37,6 +41,7 @@ spring:
|
||||
|
||||
#项目日志的配置
|
||||
logging:
|
||||
# config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&username=@nacos.username@&password=@nacos.password@&group=DEFAULT_GROUP&dataId=logback.xml
|
||||
config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
|
||||
level:
|
||||
root: warn
|
||||
|
||||
Reference in New Issue
Block a user