Commit Graph
282 Commits
Author SHA1 Message Date
Vickey 6a4321923f chore: update version to 2026.4.19 across all modules and adjust branch settings in codeql.yml 2026-04-19 13:45:21 +08:00
Copilot 5491d15f96 fix: revert proto package to api.common.* to fix build breakage
Proto3 type resolution walks up the package hierarchy. After changing
package api.common.auth/data/manager to api.center.*, unqualified
references like GrpcR/GrpcBase (defined in api.common) can no longer
be resolved, causing PROTOC compile errors.

Revert package declarations to api.common.auth/data/manager while
keeping java_package as io.github.pnoker.api.center.* — java_package
is independent from proto package and controls Java output only.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 02:05:36 +08:00
Copilot 04e8d29bb8 fix: complete dc3-api proto optimization
1. manager_point.proto: add missing SelectById RPC and GrpcRPointDTO
   response message to match driver_point.proto symmetry

2. Rename java_outer_classname to include module prefix to avoid
   confusion between driver and manager modules:
   - driver: DeviceProto→DriverDeviceProto, DriverProto→DriverRegistrationProto,
     EntityProto→DriverEntityProto, PointProto→DriverPointProto,
     QueryProto→DriverQueryProto, QueryPageProto→DriverQueryPageProto
   - manager: DeviceProto→ManagerDeviceProto, DriverProto→ManagerDriverProto,
     PointProto→ManagerPointProto, QueryProto→ManagerQueryProto,
     QueryPageProto→ManagerQueryPageProto

3. Reorganize proto files into subdirectories matching proto package:
   - auth:    src/main/protobuf/api/center/auth/
   - data:    src/main/protobuf/api/center/data/
   - driver:  src/main/protobuf/api/common/driver/
   - manager: src/main/protobuf/api/center/manager/
   Update all intra-module imports to use full absolute paths

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:51:07 +08:00
Copilot 352fece66e fix: optimize dc3-api pom element order and proto files
- dc3-api/pom.xml: move <profiles> to after <build> per Maven POM
  standard element ordering; move <dependencyManagement> before
  <dependencies>
- driver_device.proto: rename driverConfigs/pointConfigs to
  driver_configs/point_configs (proto3 snake_case convention)
- auth/data/manager protos: align package declaration from
  api.common.xxx to api.center.xxx to match java_package option
- driver_entity.proto, driver_query.proto, driver_query_page.proto,
  manager_query_page.proto: remove trailing blank lines

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:41:47 +08:00
Copilot 339cdd304d chore: fix inceptionYear and scm connection in all pom.xml
- Fix <inceptionYear> from '2016-2022' to '2016' in 20 pom.xml files
- Fix <scm> connection/developerConnection to use scm:git: prefix in 22 pom.xml files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:31:07 +08:00
Copilot b1f42ba5cc refactor: optimize root, dc3-common and dc3-api pom.xml
- Consolidate 19+ individual DC3 module version properties into single <dc3.version>
- Remove redundant <scope>compile</scope> from DC3 Api dependencyManagement entries
- Reorder elements: modules before properties, profiles after dependencyManagement
- Fix <scm> connection/developerConnection to use scm:git: protocol prefix
- Fix <inceptionYear> from range '2016-2022' to correct single year '2016'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:15:20 +08:00
Copilot e13d75cbdf chore: bump version to 2026.4.18.3 and optimize pom.xml dependencies
- Bump all module versions from 2025.11.1 to 2026.4.18.3
- Remove orphaned dc3-common-influx dependency and property from root pom.xml
- Standardize dependency comment style in dc3-common/pom.xml
- Merge gRPC dependency groups into single section in dc3-common-api
- Restructure Spring Integration MQTT and Eclipse Paho groups in dc3-common-mqtt
- Fix incorrect comment 'DC3 Common Exception' to 'DC3 Common Related' in dc3-common-postgres
- Add missing blank line before </dependencies> in dc3-common-driver
- Remove stray blank line in root pom.xml dependencyManagement

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:05:30 +08:00
Vickey 5013ca096b feat: add JavaDoc comments and enhance field naming consistency across project 2026-01-07 17:07:46 +08:00
Vickey 66361055f4 feat: . 2026-01-07 15:19:43 +08:00
Vickey 013f0c0f19 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/PrefixConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/QueryWrapperConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/RequestConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/SuffixConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/SymbolConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/constant/common/TimeConstant.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/enums/DeviceEventTypeEnum.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/enums/DeviceStatusEnum.java
#	dc3-common/dc3-common-constant/src/main/java/io/github/pnoker/common/enums/EnableFlagEnum.java
2026-01-07 15:19:02 +08:00
zzi666 342fb4df14 refactor(proto): 优化proto文件注释和结构
删除重复的README.md文件
统一proto文件的注释格式为"Configuration options for code generation"
简化proto消息和服务的注释,移除冗余描述
调整字段注释格式,增加可读性
2025-12-31 14:15:29 +08:00
zzi666 c6814a568b Merge branch 'develop' of github.com:pnoker/iot-dc3 into develop 2025-12-31 10:07:38 +08:00
Vickey 5ea9f22d0f feat: . 2025-12-28 19:23:20 +08:00
Vickey f9e7f89ac3 feat: update pom 2025-11-11 13:22:24 +08:00
zzi666 313308b8d8 refactor: standardize and translate comments across Protobuf files and environment script for clarity and consistency 2025-11-06 16:37:35 +08:00
zzi666 d6d918ec8a refactor: standardize and translate comments in Protobuf files for improved clarity and consistency across modules 2025-11-06 16:37:18 +08:00
zzi666 a6f91d24d7 refactor: standardize and translate comments across Protobuf files, Java services, and configuration classes for consistency and clarity 2025-10-27 19:43:19 +08:00
zzi666 2893a84dba refactor: remove unused files, standardize code comments and documentation across modules 2025-10-27 10:15:25 +08:00
zzi666 0cb5ab3209 refactor: standardize descriptions, comments, and documentation across POM files and Protobuf definitions 2025-10-24 20:07:28 +08:00
zzi666 65d48101b2 refactor: update Java docs, README files, and Protobuf comments for consistent language and formatting 2025-10-24 16:51:40 +08:00
zzi666 4bc31532e8 refactor: standardize protobuf annotations and document translations 2025-10-24 15:45:50 +08:00
Vickey 5afd4c904b feat: update version 2025-10-05 17:16:37 +08:00
Vickey b244b1132c . 2025-09-11 17:02:24 +08:00
Vickey 0acaf7be0b remove hutool 2025-09-11 14:57:02 +08:00
Vickey a796ef9d36 . 2025-08-26 22:38:53 +08:00
Vickey df2d327233 . 2025-08-26 22:16:35 +08:00
Vickey dfc9d33098 . 2025-08-26 22:01:24 +08:00
Vickey 0031483990 refactor(数据存储): 重构点值数据存储逻辑,移除原始时间字段
- 移除点值相关的原始时间字段,统一使用创建时间
- 为点值管理器添加历史数据源注解
- 实现PostgreSQL存储服务的分页和最新值查询功能
- 更新MQTT接收服务以使用创建时间而非原始时间
2025-08-23 18:11:42 +08:00
Vickey 6c17edd3d8 feat: . 2025-08-09 13:23:18 +08:00
Vickey 44142686e5 feat: . 2025-07-15 14:58:51 +08:00
Vickey 8ae1f4aa6a feat: . 2025-07-15 12:01:43 +08:00
Vickey 0db69725dd feat: update 2025-06-21 16:21:18 +08:00
Vickey 4b69f0b2eb feat: 调整 2025-06-09 15:48:22 +08:00
Vickey edbc8936e9 feat: . 2025-05-12 14:56:54 +08:00
pnoker 9be2f5f0d6 chore: update version to 2025.2.5 across multiple files
Updated the version from 2025.2.4 to 2025.2.5 in pom.xml files and various Java classes to reflect the latest release. This change ensures consistency across the codebase and aligns with the new version of the IoT DC3 Platform.
2025-04-25 16:22:39 +08:00
pnoker 24faae2fd3 chore: update project version to 2025.2.4 across all modules
Updated the version from 2025.2.2 to 2025.2.4 in all pom.xml files, Java classes, and CI/CD configurations to reflect the latest release version. This change ensures consistency across the entire project.
2025-04-24 19:46:54 +08:00
pnoker 7bdb0fbbcd . 2025-04-21 22:12:44 +08:00
Vickey 6549bff8e4 feat: 版本信息 2025-03-04 22:21:29 +08:00
Vickey 1a5bb878f1 feat: 版本信息 2025-02-20 19:59:16 +08:00
zzi666 42e60f1b70 feat: version 2024.3.10 2025-01-18 17:45:09 +08:00
pnoker 21d54e2492 feat: . 2024-12-14 16:20:31 +08:00
pnoker d52fdb0da0 feat: . 2024-12-05 20:52:53 +08:00
pnoker 167615e209 feat: update email 2024-12-05 11:57:43 +08:00
zzi666 af68b5da28 feat: 更新springboot版本 2024-10-24 11:56:14 +08:00
pnoker 948d049e0f feat: 提取gateway代码到common模块中 2024-07-02 23:58:28 +08:00
pnoker 3ae07be80e feat: 合并common和api代码到主项目 2024-07-02 23:05:25 +08:00
pnoker f88bff832a feat: . 2023-03-26 01:08:57 +08:00
pnoker 03fc8605b6 feat: 更新驱动事件状态接口 2023-03-26 00:49:56 +08:00
pnoker 19c7ef9b70 feat: 调整驱动事件和设备事件 2023-03-24 22:35:54 +08:00
pnoker 9caba2bc62 feat: 设备指令:读、写 2023-03-24 03:20:51 +08:00