sandbox/drawings/smc/notifications/frontend_flow.puml
2025-01-24 10:50:14 +03:00

21 lines
No EOL
995 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@startuml
Title Получение данных о SMTP серверах
actor Client
actor Frontend
participant Backend
Client -> Frontend : Нажимаю на кнопку "SMTP сервера"
Frontend -> Backend : GET: /api/smtp/local
Backend -> Frontend : local SMTP server details
Frontend -> Backend : GET: /api/smtp/corporate
Backend -> Frontend : corporate SMTP server details
alt #palegreen LocalServer.is_active = False\n∧\nCorpServer.is_active = False
Frontend -> Client : Отобразить форму CorpServer
else #palegreen LocalServer.is_active = True\n∧\nCorpServer.is_active = False
Frontend -> Client : Отобразить форму LocalServer
else #palegreen LocalServer.is_active = False\n∧\nCorpServer.is_active = True
Frontend -> Client : Отобразить форму CorpServer
else #pink LocalServer.is_active = True\n∧\nCorpServer.is_active = True
Frontend -> Client : Отобразить ошибку настройки сервера
end
@enduml