Skip to content

Commit

Permalink
Update further charts for TIM-1264
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed May 23, 2024
1 parent ed3841b commit 1177227
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions src/plantuml/TI-Messenger-Dienst/Ressourcen/UC_10104_Seq.puml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ skinparam sequenceMessageAlign direction
skinparam minClassWidth 200
skinparam BoxPadding 1
skinparam sequenceReferenceHeaderBackgroundColor palegreen
skinparam sequenceReferenceBackgroundColor Beige
scale max 2048 width

skinparam sequence {
Expand All @@ -30,15 +31,15 @@ ActorFontSize 20
}
autonumber

actor U1 as "Akteur - A in der Rolle\nUser"
actor U1 as "Akteur - A in\nder Rolle User"
participant C1 as "TI-Messenger-\nClient A" #AliceBlue
box <size:18>Messenger-Service</size> #WhiteSmoke
participant MP as "Messenger-\nProxy"
participant MH as "Matrix-Homeserver \n(inklusive Nutzerverzeichnis)"
participant PG as "Push-Gateway"
end box
participant PG as "Push-\nGateway"
participant C2 as "TI-Messenger-\nClient B"#TECHNOLOGY
actor U2 as "Akteur - B in der Rolle\nUser"
actor U2 as "Akteur - B in\nder Rolle User"

|||
note over U1, U2: \n<size:17>Die Akteure sind auf dem selben Messenger-Service angemeldet und im Besitz eines zugelassenen TI-Messenger-Clients.\n<size:17>Ein Chatraum wurde durch den Einladenen eingerichtet.</size>\n
Expand All @@ -56,15 +57,17 @@ note over U1, U2: \n<size:17>Die Akteure sind auf dem selben Messenger-Service a
MH-->MP: MXID
deactivate MH
MP-->C1: HTTP(S) Forward
deactivate MP
|||
end

|||
U1->C1: Akteur B einladen
C1->MP: POST /_matrix/client/r0/rooms/\n{roomId}/invite (roomId)
C1->MP: POST /_matrix/client/v3/\nrooms/{roomId}/invite
activate MP

|||
ref over MP, MH: <size:17><b>Berechtigungsprüfung</size>\n
ref over MP, MP: <size:17><b>Berechtigungsprüfung</size>\n
|||

alt#LightGrey #AliceBlue <size:16>Matrix-Domain nicht in der Föderation enthalten</size>
Expand All @@ -79,7 +82,9 @@ note over U1, U2: \n<size:17>Die Akteure sind auf dem selben Messenger-Service a
MP->MH: HTTP(S) Forward
activate MH
MH->MH: Invite verarbeiten
MH-->C1: HTTP 200
MH-->MP: HTTP 200
MP-->C1: HTTP(S) Forward
deactivate MP
|||
opt#LightGrey #LightBlue <size:16>Push-Benachrichtigung</size>
|||
Expand All @@ -94,22 +99,27 @@ note over U1, U2: \n<size:17>Die Akteure sind auf dem selben Messenger-Service a
|||

C2->MP: Sync Request
activate MP
MP->MH: HTTP(S) Forward
MH-->MP: Sync Response
MP-->C2: HTTP(S) Forward

C2->U2: Einladung anzeigen
U2-->C2: Einladung bestätigen
C2->MP: join
|||
MP-->MH: HTTP(S) Forward
MH->MH: join verarbeiten
MH-->MP: Room ID
deactivate MH
MP-->C2: HTTP(S) Forward
deactivate MP
C2-->U2: Nutzer ist dem \nRaum beigetreten
deactivate C2
deactivate C2

C1->MP: Sync Request
activate MP
MP->MH: HTTP(S) Forward
activate MH
MH-->MP: Sync Response
deactivate MH
MP-->C1: HTTP(S) Forward
Expand Down

0 comments on commit 1177227

Please sign in to comment.