| 1 | # Dekko main process {#architecture_dekko} |
| 2 | |
| 3 | @startuml{dekko.svg} |
| 4 | |
| 5 | title Main process (dekko) |
| 6 | |
| 7 | frame "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/ src://Dekko/app]]" as dekko { |
| 8 | |
| 9 | package "plugman" { |
| 10 | } |
| 11 | |
| 12 | package "[[architecture_ubuntu_ui.html ubuntu-ui-plugin]]\n[[https://gitlab.com/dekkan/dekko/-/tree/master/plugins/ubuntu-plugin src://plugins/ubuntu-plugin]]" as utui { |
| 13 | } |
| 14 | |
| 15 | package "[[architecture_stores.html stores]]\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/stores src://Dekko/stores]]" as stores { |
| 16 | } |
| 17 | |
| 18 | package "[[architecture_workers.html workers]]\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers src://Dekko/workers]]" as workers { |
| 19 | } |
| 20 | |
| 21 | package "backend\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/backend src://Dekko/backend]]" as backend { |
| 22 | } |
| 23 | |
| 24 | () "actions\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/api/public src://Dekko/actions]]" as actions |
| 25 | |
| 26 | utui --> actions : generates |
| 27 | actions --> workers : are processed |
| 28 | workers --> stores : dispatches events |
| 29 | stores --> utui : delivers state |
| 30 | stores --> backend |
| 31 | backend --> stores |
| 32 | } |
| 33 | |
| 34 | () "Content-Hub" as contenthub |
| 35 | |
| 36 | utui --> contenthub : shares data |
| 37 | contenthub --> utui : provides data |
| 38 | |
| 39 | :User: --> utui : touches, puts in |
| 40 | utui --> :User: : views state |
| 41 | |
| 42 | frame "[[architecture_dekko_worker.html dekko-worker]]" as dekkoworker { |
| 43 | } |
| 44 | backend <--> dekkoworker : sends, fetches and syncs mail |
| 45 | |
| 46 | @enduml |
| 47 |