asura-tmdb/documentation/sequence_diagrams/sequenceDiagramUser.puml

24 lines
523 B
Plaintext
Raw Normal View History

@startuml Guest View
title Guest View
skinparam actorStyle awesome
actor Guest #LightBlue
2022-03-15 13:01:50 +01:00
participant Website
database Server #Brown
2022-03-15 20:40:02 +01:00
hide footbox
2022-03-15 15:28:02 +01:00
Guest->Website: viewTournament(Tournament)
activate Guest
2022-03-15 13:01:50 +01:00
activate Website
Website->Server: fetchTournament(Tournament)
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->Guest: displayTournament(Tournament)
2022-03-15 13:01:50 +01:00
else status = failure
Website-->Guest: displayError(error)
deactivate Guest
2022-03-15 13:01:50 +01:00
deactivate Website
end
@enduml