~aleteoryx/muditaos

ref: 06d16390c21c37457bc875e841bb12039d1123d7 muditaos/module-sys/SystemManager/doc/services_synchronization.puml -rw-r--r-- 508 bytes
06d16390 — Lefucjusz [MOS-1021] Fix blocked passcode behavior 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@startuml
skinparam BackgroundColor F0F0F0

actor Driver
participant "System Manager" as sysmgr
participant "Dependency Graph" as graph
participant Service as srv

Driver -> sysmgr: Pass a list\nof services
sysmgr -> graph **: create

|||
sysmgr -> graph: addServices()

|||
sysmgr -> graph: topologicalSort()

|||
activate graph
graph --> sysmgr: sorted services
deactivate graph
destroy graph
|||

loop for each service in sorted services
sysmgr -> srv: Start
srv --> sysmgr: Confirmation
end
|||

@enduml