[hw-3] loms service

This commit is contained in:
Никита Шубин
2025-06-20 10:11:59 +00:00
parent c8e056bc99
commit b88dfe6db5
73 changed files with 8837 additions and 52 deletions

View File

@@ -0,0 +1,18 @@
@startuml
actor User as u
collections Cart as c
database CartStorage as cs
collections Order as o
u -> c : POST /checkout/<user_id>
activate c
c -> cs : cart.GetItemsByUserID
c -> o : gRPC Loms.OrderCreate\n\t- user\n\t- []item
c -> cs : cart.DeleteItemsByUserID
c -> u : Response: 200 OK
deactivate c
@enduml