Skip to content

Commit

Permalink
Diagrama de flujo - Ver pedidos y/o productos.
Browse files Browse the repository at this point in the history
  • Loading branch information
uo276406 committed Feb 21, 2022
1 parent 2610366 commit af49c76
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions docs/06_runtime_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,25 @@ There are many notations for describing scenarios, e.g.
****

=== <Runtime Scenario 1>
=== View orders and products

[plantuml,"Sequence diagram",png]
----
actor User
User -> Webapp: Request orders done
* _<insert runtime diagram or textual description of the scenario>_
* _<insert description of the notable aspects of the interactions between the
building block instances depicted in this diagram.>_
database Restapi
Webapp -> Restapi: Get orders by user
Webapp <- Restapi: List of user's orders
It is possible to use a sequence diagram:
... **non related temporally** ...
[plantuml,"Sequence diagram",png]
----
actor Alice
actor Bob
database Pod as "Bob's Pod"
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice --> Pod: Store route
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
User -> Webapp: Show products
Webapp -> Restapi: Get products
Webapp <- Restapi: List of products
----
=== <Runtime Scenario 2>

=== ...
Many details to keep in mind:

=== <Runtime Scenario n>
* The user will interact with UI elements of the webapp such as buttons. These elements trigger events to the restapi.
* Restapi will manage request in order to get a response from database system. The response will be shown by the webapp in diferent views.

0 comments on commit af49c76

Please sign in to comment.