2022-04-27 11:24:19 +02:00
|
|
|
@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
|
|
|
|
2022-04-27 11:24:19 +02: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
|
2022-04-27 11:24:19 +02:00
|
|
|
Website-->Guest: displayTournament(Tournament)
|
2022-03-15 13:01:50 +01:00
|
|
|
else status = failure
|
2022-04-27 11:24:19 +02:00
|
|
|
Website-->Guest: displayError(error)
|
|
|
|
deactivate Guest
|
2022-03-15 13:01:50 +01:00
|
|
|
deactivate Website
|
|
|
|
end
|
|
|
|
|
2022-04-27 11:24:19 +02:00
|
|
|
@enduml
|