From 0610cea001b324af08deee48dfce08497e85bf3f Mon Sep 17 00:00:00 2001 From: Jonas Haugland Date: Wed, 27 Apr 2022 11:41:46 +0200 Subject: [PATCH] Updated sequence diagrams --- ...sequenceDiagramUser.puml => sequenceDiagramGuest.puml} | 0 documentation/sequence_diagrams/sequenceDiagramLogin.puml | 4 ++-- .../sequence_diagrams/sequenceDiagramManage.puml | 8 +++++--- .../sequence_diagrams/sequenceDiagramManager.puml | 3 --- 4 files changed, 7 insertions(+), 8 deletions(-) rename documentation/sequence_diagrams/{sequenceDiagramUser.puml => sequenceDiagramGuest.puml} (100%) diff --git a/documentation/sequence_diagrams/sequenceDiagramUser.puml b/documentation/sequence_diagrams/sequenceDiagramGuest.puml similarity index 100% rename from documentation/sequence_diagrams/sequenceDiagramUser.puml rename to documentation/sequence_diagrams/sequenceDiagramGuest.puml diff --git a/documentation/sequence_diagrams/sequenceDiagramLogin.puml b/documentation/sequence_diagrams/sequenceDiagramLogin.puml index eda0212..29d750d 100644 --- a/documentation/sequence_diagrams/sequenceDiagramLogin.puml +++ b/documentation/sequence_diagrams/sequenceDiagramLogin.puml @@ -21,8 +21,8 @@ opt if (userIsAdmin) else Website->Admin: redirect(noSuchUserPage) end +deactivate Website +deactivate Admin end -deactivate Website -deactivate Admin @enduml \ No newline at end of file diff --git a/documentation/sequence_diagrams/sequenceDiagramManage.puml b/documentation/sequence_diagrams/sequenceDiagramManage.puml index ea5947b..3ea117a 100644 --- a/documentation/sequence_diagrams/sequenceDiagramManage.puml +++ b/documentation/sequence_diagrams/sequenceDiagramManage.puml @@ -33,18 +33,20 @@ alt Manage Teams activate Server Server-->Website: postTeam(team) deactivate Server - Website-->Admin: showTeam(team) + Website-->Admin: showTeam(team) + deactivate Admin + deactivate Website end opt Delete + Admin->Website: deleteTeam(team) activate Admin activate Website - Admin->Website: deleteTeam(team) Website->Server: removeTeam(team:id) activate Server Server-->Website: postTeam(team) deactivate Server - Website-->Admin: updateTeamList(team) + Website-->Admin: updateTeamList(team) opt Error Website-->Admin: displayError(error) end diff --git a/documentation/sequence_diagrams/sequenceDiagramManager.puml b/documentation/sequence_diagrams/sequenceDiagramManager.puml index 2f686af..115ca69 100644 --- a/documentation/sequence_diagrams/sequenceDiagramManager.puml +++ b/documentation/sequence_diagrams/sequenceDiagramManager.puml @@ -71,7 +71,4 @@ deactivate Manager deactivate Website end - - - @enduml \ No newline at end of file