b4de9d0df8
feat(config): 修改测试环境地址
2026-02-26 17:16:24 +08:00
bec46c2919
fix(rocketmq): 修正ACL配置位置到producer/consumer节点下
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
rocketmq-spring-boot-starter的access-key/secret-key需配置在
producer和consumer节点下而非rocketmq根节点,同时为所有
@RocketMQMessageListener注解添加accessKey/secretKey属性。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 16:19:42 +08:00
748b09d355
fix(rocketmq): 添加腾讯云TDMQ ACL认证配置解决连接失败
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
修复RocketMQ发送消息报"No accessKey is configured"错误,
统一各模块环境变量名为ROCKETMQ_NAMESRV_ADDR。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 15:50:44 +08:00
91de356a67
fix(iot-gateway): 修正RPC环境变量名为VIEWSH_IOT_GATEWAY_RPC_URL
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
Spring Boot relaxed binding将viewsh.iot.gateway.rpc.url映射为
VIEWSH_IOT_GATEWAY_RPC_URL,而非VIEWSH_GATEWAY_RPC_URL。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 15:17:06 +08:00
e15ebfd3d4
fix(iot-gateway): 修正RPC环境变量名不匹配导致连接失败
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
docker-compose中VIEWSH_IOT_GATEWAY_RPC_URL与yaml期望的VIEWSH_GATEWAY_RPC_URL不一致,
导致iot-gateway回退到默认值127.0.0.1:48091,容器间无法通信。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 11:39:37 +08:00
547da7cfd2
refactor(deploy): 迁移CI/CD至双服务器架构
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- Jenkinsfile: Registry改为Infra内网172.17.16.7:5000,部署目标改为Prod内网172.17.16.14
- docker-compose: 镜像源改为172.17.16.7:5000,MySQL改为172.17.16.8,Redis改为172.17.16.13,RocketMQ改为腾讯云TDMQ
- 所有模块application-prod.yaml: 统一更新MySQL/Redis/RocketMQ默认连接地址
- deploy.sh: Registry地址同步更新
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 10:41:54 +08:00
1147ae4503
fix(iot-gateway): 修改3d11正确ProductKey
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-02-10 10:14:54 +08:00
41ffffe431
fix(iot): 修复 3D11 编解码器上报时间和数据过滤
...
- reportTime 改用 time 字段(设备上传时间)而非 endTime
- 新增 24 小时数据过滤,超时数据舍弃并返回 null
- 数据舍弃时仍返回成功响应,避免设备反复重试
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 13:52:18 +08:00
cc6b11f4e9
feat(iot): 对接 3D11 单目客流计数器
...
在 IoT Gateway 的 Vert.x Router 上注册 /api/camera/* 专用路由,
桥接 3D11 摄像头的心跳和数据上报到现有消息总线和编解码体系。
- 新建 Camera3D11 DTO(心跳请求、数据上报请求、统一响应)
- 新建 IotCamera3D11Codec 编解码器(TYPE=CAMERA_3D11)
- 新建 IotCameraUpstreamHandler 处理心跳和数据上报
- productKey 通过 application.yaml 配置,未配置时不注册路由
- 心跳上报间隔设为 1 分钟
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-08 00:23:44 +08:00
b5972b03a8
fix(iot): 修改客流计数器上传数据解析时间作为reportTime
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-27 15:22:48 +08:00
35c120d883
fix(iot): 修改客流计数器应答升级链接
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-26 16:35:50 +08:00
54b5e7ec77
config(iot): 修改网关 RPC 地址端口
...
48080 → 48091
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-25 09:38:44 +08:00
4cd520ab78
fix(iot-gateway): 兼容设备端消息体长度计算不准确的问题
...
修改 JT808 解码器,采用更宽松的消息体长度处理策略:
- 使用实际可用的长度(expected 与 actual 取最小值)
- 将长度差异日志降为 DEBUG 级别
- 继续解析消息而不是直接丢弃
原因:部分设备端计算消息体长度时存在偏差,导致位置上报等消息被跳过。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-22 10:10:09 +08:00
b1ecc7786b
feat(iot-gateway): JT808 新增 instruction_config 服务并修正 TTS 标志
...
1. 新增 instruction_config 服务
- 用于下发服务指令配置(如 #2014*SET*TTS0:...#)
- 使用 0x01 标志位(静默执行),设备解析后不发声
- 通过文本信息下发 (0x8300) 发送
2. 修正 TTS 服务默认标志
- 默认 tts_flag 从 4 改为 0x08(普通通知)
- 日志输出改为十六进制格式 (0x08, 0x09)
JT808 播报标志规范:
- 0x01: 静默执行(配置指令)
- 0x08: TTS 普通通知
- 0x09: TTS 紧急通知
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-22 09:58:01 +08:00
a4cfbbcba1
fix(iot-gateway): 降级扩展字段长度越界日志级别
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
将 JT808 解码器中扩展字段长度越界的日志级别从 WARN 降为 DEBUG。
这是设备端数据格式问题,不影响正常消息解析,跳过该扩展字段即可。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 23:30:48 +08:00
4e387e410c
refactor(iot-gateway): JT808编解码器代码重构
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- 提取 enrichParamsWithMetadata 方法统一处理元数据
- 提取 extractPhoneFromMap 和 extractFlowIdFromMap 方法
- 优化 getParamsAsMap 方法,同时支持 params 和 data 字段
- 优化代码注释格式
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 22:15:12 +08:00
0c2cd85915
fix(iot-gateway): JT808协议使用skipReply标记协议层已应答
...
- Jt808ProtocolHandler 使用 setSkipReply(true) 替代 setCode(0)
- 避免业务层重复发送回复消息
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 22:12:03 +08:00
5dab9622d6
fix(iot): TCP消息处理容错改进,避免异常断开连接
...
- 消息格式无法识别时记录警告并跳过,不断开连接
- 消息解码失败时记录警告并跳过,不断开连接
- 设备不存在时断开连接,其他认证失败只记录日志
- 添加 bytesToHex 工具方法用于调试
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 18:05:23 +08:00
7c7b122de3
fix(iot): 修复JT808业务消息重复应答问题
...
- 在 handleBusinessMessage 中设置 message.setCode(0) 标记协议层已应答
- 避免业务层重复发送 reply 消息
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 18:04:57 +08:00
eb5513f9b6
fix(iot): 修复JT808事件消息identifier字段不匹配问题
...
- 修复 parseButtonEventAsEvent 使用 eventId 而非 identifier
- 添加消息体长度校验,防止越界访问
- 解码失败时返回 null 而非抛异常,避免断开连接
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-21 18:04:21 +08:00
447ea8fe90
fix(iot): 修改jt808应答调用IotDeviceMessage.requestOf
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-21 15:20:38 +08:00
ed127c3b29
fix(iot): jt808消息应答机制调整-每条消息都需应答
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-21 14:48:16 +08:00
864b5da245
fix(iot): 修复JT808消息应答
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-17 00:13:18 +08:00
cd362e3f82
fix(iot-gateway): 修复 JT808 注册应答消息编码失败的问题
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-16 16:15:52 +08:00
cea43d282c
fix: 修复iot-gateway调用iot-server地址错误问题
2026-01-16 15:31:29 +08:00
200a505394
fix(iot): fix JT808 escape logic to exclude packet delimiters
2026-01-16 15:01:18 +08:00
69a9a912da
fix(iot): support JT808 auto-authentication on business messages
2026-01-16 14:22:23 +08:00
0cfd659bd8
fix(iot): fix UnsupportedOperationException in JT808 codec
2026-01-16 13:24:39 +08:00
8a543db18f
fix: 修复iot-gateway容器端口未映射
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-16 11:46:47 +08:00
7b3e028bea
feat(iot): 实现设备 API 接口及更新网关处理逻辑
2026-01-15 16:14:25 +08:00
2a1cdfc4dc
Merge remote-tracking branch 'origin/master' into merge-temp
2026-01-14 22:49:28 +08:00
bcbbde1879
fix: iot-gateway去除健康检查、nacos配置
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-14 17:48:00 +08:00
0768ac345e
fix: iot-gateway添加admin监控
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-14 17:01:56 +08:00
99a4d72e04
fix: 调整IOT服务端口适配健康检查
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-14 16:14:35 +08:00
a20ef566d0
fix: Jenkins修复3-修改nacos配置
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2026-01-14 11:12:28 +08:00
efe05ad624
refactor: 重构配置管理,移除.env依赖,使用docker-compose环境变量+Nacos配置中心
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- 更新所有application-prod.yaml,将环境变量占位符替换为硬编码默认值
- 重写docker-compose.core.yml,使用Spring Boot环境变量命名规范
- 修复Jenkins pipeline中的getContainerName方法调用错误
- 配置优先级:Nacos配置中心 > Docker环境变量 > application-prod.yaml
变更文件:
- viewsh-gateway/src/main/resources/application-prod.yaml
- viewsh-module-system-server/src/main/resources/application-prod.yaml
- viewsh-module-infra-server/src/main/resources/application-prod.yaml
- viewsh-module-iot-server/src/main/resources/application-prod.yaml
- viewsh-module-iot-gateway/src/main/resources/application-prod.yaml
- docker-compose.core.yml
- Jenkinsfile
2026-01-13 23:50:37 +08:00
62978560c5
feat: iot-gateway 支持 Nacos 配置管理
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- 在 application.yaml 中添加 Nacos config import
- 在 application-prod.yaml 中添加 Nacos 配置
- 在 docker-compose.core.yml 中注入 Nacos 环境变量
- 支持配置统一管理和动态刷新
- 与其他微服务保持架构一致性
2026-01-13 14:10:05 +08:00
98d3db9ade
fix: 调整 iot-gateway prod 配置结构与 application.yaml 保持一致
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- 移除 Nacos 配置(在 application.yaml 中通过 import 引入)
- 保持与 application.yaml 完全相同的结构
- 仅将硬编码值替换为环境变量占位符
2026-01-13 13:51:53 +08:00
f9aa7828c7
feat: 完善 iot-gateway 生产环境配置
...
- 添加 IoT 网关特有的配置项环境变量支持
- 支持 HTTP/MQTT/TCP/EMQX 协议配置
- 支持设备 RPC 和 Token 配置
- 支持消息总线配置
- 添加生产环境配置文档
2026-01-13 12:32:14 +08:00
2b9c1aa7d8
feat: 添加所有核心服务的生产环境配置文件
...
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
- 创建 application-prod.yaml 支持环境变量占位符
- 支持 Docker Compose 环境变量注入
- 支持 Nacos 配置中心覆盖
- 涵盖 5 个核心服务: gateway, system, infra, iot-server, iot-gateway
2026-01-13 11:52:27 +08:00
dd7c1e097b
chore: iot、system配置文件调整
2025-12-31 15:53:40 +08:00
ba22a96e44
chore: system、infra、iot、server配置文件调整v1.0
2025-12-31 14:09:36 +08:00
98f5f031a2
chore: IOT模块单体版本 - 代码合并
2025-12-31 13:32:26 +08:00
8ccfafe2bb
first commit
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
2025-12-31 11:48:19 +08:00