Commit Graph

15 Commits

Author SHA1 Message Date
douxu 1b1f43db7f feat: implement topology analysis async task with BFS connectivity check
- add TopologyAnalysisHandler.Execute() with 5-phase BFS reachability
    check between start/end component UUIDs; support CheckInService flag
    to skip out-of-service nodes during traversal
  - carry task params through RabbitMQ message (TaskQueueMessage.Params)
    instead of re-querying DB in handler; update TaskHandler.Execute
    interface and all handler signatures accordingly
  - fix BuildMultiBranchTree UUIDFrom condition bug; return nodeMap for
    O(1) lookup; add QueryTopologicByStartUUID for directed traversal
  - add QueryBayByUUID/QueryBaysByUUIDs and
    QueryComponentsInServiceByUUIDs (two-column select) to database layer
  - add diagram.FindPath via LCA algorithm for tree path reconstruction
  - move initTracerProvider to middleware.InitTracerProvider; add
    OtelConfig struct to ModelRTConfig for endpoint configuration
  - update topology analysis params to start/end_component_uuid +
    check_in_service; remove dead topology init code
2026-04-24 17:14:46 +08:00
douxu f4ab4e4ea4 refactor(orm/circuit_diagram_component): fix compilation issues caused by structure field changes
http://server.baseware.net:9000/project/datart/task/47
2025-08-15 16:25:48 +08:00
douxu 3e833909d1 feat(token-parse): 1. add func of parse token 2.add func of query grid、zone、station、component 3.modify package of constant
http://server.baseware.net:9000/project/datart/task/22
2025-08-05 15:20:07 +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 f6cee44f84 refactor(handler): use logger package log func replace zap log func 2025-06-06 16:41:52 +08:00
douxu d2196701ec fix(multi-branch-tree-of-topologic): add global tree variable and fix topologic info processing bug 2025-05-20 16:08:17 +08:00
douxu 237c7ecf69 refactor(optimize storage struct): optimize topologic storage struct
1.optimize uuid start and end node of uuid nil node str
        2.optimize topologic query sql of init topologic in memory
2025-05-16 14:24:55 +08:00
douxu daf30766ba refactor(topologic storage struct): refactor topologic storage struct
1.refactor topologic storage struct by multi branch tree
        2.add new func of build multi branch tree
        3.modify sql of query topologic from db
        4.delete page id field from topologic struct
2025-05-13 16:34:25 +08:00
douxu af0cfce78f refactor(component set): add the return value of component query func
1.add the return value of topologic query func
refactor(diagram set): add the return value of topologic query func
    1.add the return value of topologic query func
    2.modify internalLockLeaseTime params unit
    3.modify refreshTime params unit
    4.modify lua script
feat(bay info): init interval information constructor
    1.init interval information constructor
test(sql case): add new pg sql case
    1. add new pg sql case
2025-04-30 16:44:58 +08:00
douxu c1691d4da2 fix bug of load data from postgres 2025-01-09 15:56:40 +08:00
douxu 655acf8e1e fix bug of circuit diagram load handler 2025-01-08 16:37:18 +08:00
douxu 214b194817 optimize circuit diagram update handler 2024-12-03 16:38:17 +08:00
douxu 3899cda8ef preliminary completion of circuit diagram update handler code writing 2024-12-02 16:13:16 +08:00
douxu eba41890c6 complete model load api 2024-11-27 15:41:22 +08:00
douxu 42e7d02625 complete the function of loading topology information and circuit diagram information 2024-11-27 09:11:48 +08:00