Files
plantUML/oms/process/basket-import.puml
2024-04-08 19:15:50 +03:00

26 lines
935 B
Plaintext
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
scale 800x800
actor user as user
participant ARM
participant Gateway
participant SITE
autonumber
user -> ARM: Вводит номер корзины
ARM -> Gateway: Запрос на info/cart
Gateway -> SITE: Запрос на api/v1/json/user-cart/
SITE --> Gateway: answer
Gateway -> Gateway: Получает название региона из кэша
Gateway -> Gateway: Запрашивает цены из SCROOGE
Gateway -> Gateway: Запрашивает инфо о товаре из PDM
Gateway -> Gateway: Собирает ответ для frontend
Gateway --> ARM: answer
ARM -> ARM: Проверяет регионы\nв запросе и в заказе
alt Регион корзины == регион заказа
ARM --> user: answer
else Регион корзины <> регион заказа
ARM -> user: Запрашивает\nподтверждение\nо смене региона
end
@enduml