[P] Convert sequence diagram files to PlantUML format

This commit is contained in:
2026-03-23 20:50:26 +02:00
parent 153e0592e6
commit c3dffb0d76
8 changed files with 60 additions and 710 deletions

View File

@@ -0,0 +1,30 @@
@startuml
participant Агент as agent
participant "MQTT Broker (raw\ntopic)" as mqtt1
participant "Edge Service" as edge
participant "MQTT\nBroker (processed\ntopic)" as mqtt2
participant "Hub Service" as hub
participant "Redis" as redis
participant "Store API" as store
participant "PostgreSQL" as db
participant "MapView Client" as mapview
agent -> mqtt1 : Надіслати\nсиру\nтелеметрію
mqtt1 -> edge : Передати\nсире\nповідомлення
edge -> edge : Перевірити\nAgentData
edge -> edge : Обробити\nтелеметрію
edge -> mqtt2 : Надіслати\nоброблені дані
mqtt2 -> hub : Передати\nоброблене\nповідомлення
hub -> hub : Перевірити\nProcessedAgentData
hub -> redis : LPUSH у буфер
hub -> redis : LPOP елемента\nbatch
redis -> hub : Повернути\nелемент
hub -> store : POST batch
store -> db : Додати записи
db --> store : Повернути\nстворені записи
store -> mapview : Надіслати через WebSocket
mapview -> mapview : Сортувати за\ntimestamp
mapview -> mapview : Оновити маркер\nтранспорту
mapview -> mapview : Додати маркер\npothole/bump
store --> hub : Успішна відповідь
@enduml