Skip to content

Commit

Permalink
update diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
makomweb committed Jun 17, 2021
1 parent c5e89fb commit 8bdee8e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 34 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tutorial for using the Symfony Messenger component

![image](sequence-diagram-handle-order.png)
![image](Sequence-Diagram.png)

## Steps

Expand Down
Binary file added Sequence-Diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Sequence-Diagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@startuml

header
Jun-16-2021
endheader

title Upload an Image order

autonumber

activate Browser
activate Symfony_App
activate Repository
activate Message_Bus
activate Worker

Browser -> Symfony_App : upload image

Symfony_App -> Symfony_App : persist image locally

Symfony_App -> Repository: store image info

Repository -> Symfony_App: id

Symfony_App -> Browser: upload finished

Symfony_App -> Message_Bus: publish message (id)

Worker <- Message_Bus: consume message (id)

Worker -> Worker: resize image (id))

Worker -> Repository: resize finished (id)

@enduml
33 changes: 0 additions & 33 deletions handle-order-sequence-diagram.puml

This file was deleted.

Binary file removed sequence-diagram-handle-order.png
Binary file not shown.

0 comments on commit 8bdee8e

Please sign in to comment.