bazzar/crates/stock_manager/docs/Create product.puml

15 lines
274 B
Plaintext

@startuml
'https://plantuml.com/sequence-diagram
autonumber
Http -> RPC : Call RPC Create product
RPC -> PostgreSQL : Create record
alt Success case
Http <- RPC : Product created
MQTT <- RPC : Emit product_created event
else Failed
Http <- RPC : Create failed
end
@enduml