~aleteoryx/muditaos

ref: 790c746ae1362439570525dfd81f85d4e46f0f2d muditaos/module-sys/SystemManager/doc/services_synchronization.puml -rw-r--r-- 508 bytes
790c746a — Maciej Gibowicz [BH-2096] Add quote group setting 1 year, 1 month 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