Commit Graph

12 Commits

Author SHA1 Message Date
douxu 57d1111a83 refactor: modernize Go idioms and add MongoDB K8s manifests
- replace interface{} with any across ~30 files for Go 1.18+ style
  - adopt for-range-over-int loops in place of explicit index loops
  - use maps.Copy from stdlib to replace manual map copy loops
  - use min() builtin for exponential backoff delay cap in retry_manager
  - add MongoDB 7.0 K8s manifests (StatefulSet, Service, PVC, Secret)
  - document PostgreSQL and MongoDB deploy steps in deploy.md with SSH tunnel port mappings
2026-05-29 14:28:58 +08:00
douxu 9661278935 refactor: rename TaskParams to Params and remove debug prints
- rename TaskParams interface to Params in task/base_task.go for brevity                                                     - remove debug fmt.Println/Printf statements from graph.go and handler_factory.go
  - fix is_local flag from false to true for existing test components in deploy.md                                             - add 6 new test component records (ns4-ns8) to deploy seed data
2026-04-28 17:41:28 +08:00
douxu 898beaeec4 optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
douxu 1a1727adab optimize reponse code and business code of measurement sub api 2026-01-26 16:29:50 +08:00
douxu 13433f93e5 optimize code of custom error structure 2026-01-20 16:42:54 +08:00
douxu cf880279e4 optimize real time data query api 2026-01-13 17:23:47 +08:00
douxu 34684bd5f1 fix: eliminate server error code definition conflicts 2026-01-13 11:45:03 +08:00
douxu d75b9a624c optimize handler of compoent attribute query api 2026-01-13 11:39:00 +08:00
douxu cceffa8219 add handler of compoent attribute query api 2026-01-12 17:21:04 +08:00
douxu d1495b7ab8 optimize code of component attribute update api 2026-01-09 17:26:45 +08:00
douxu b7009c351e refactor(errer-package): optimize package name of constant
1.optimize package name of constant
2025-06-13 15:34:49 +08:00
douxu 3fb78b8195 refactor(common/error): optimize error struct
add msg 、cause and occurred field into error struct for logging detail wrong info
2025-06-10 16:29:52 +08:00