-
Notifications
You must be signed in to change notification settings - Fork 3
/
seq2.plantuml
45 lines (38 loc) · 1.31 KB
/
seq2.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@startuml SimpleRemoteInitializationSequence
title Simple Remote Initialisation sequence
actor User
participant VSCode
participant Broker as "Remote broker"
database Database1
database Database2
User -> Broker ++ #Azure : Start
Broker -> Broker : CREATE Broker-SOCKET
User <-- Broker : Started
User -> VSCode ++ #Gold : Start
VSCode -> VSCode : GetAvailablePort\n(port)
VSCode -[#green]> Broker : GetStatus
VSCode <[#green]-- Broker : Status\n(Running)
VSCode -[#green]> Broker : GetDbNameList
Broker -[#green]> Broker : GetDbNameListFromConfig\n(db1, db2, etc.)
VSCode <[#green]-- Broker : DbNameList\n(db1, db2, etc.)
VSCode -[#green]> Broker : GetDbVersion\n(name)
activate Broker #Azure
Broker -[#green]> Broker : GetConnParamsConfig\n(host, port, etc.)
Broker -> Database1 : CONNECT VALUE (host, port, etc.)
Broker <-- Database1
Broker -> Database1 : DBVERSION
Broker <-- Database1
VSCode <-- Broker : DbVersion\n(version)
deactivate Broker
VSCode -[#green]> Broker : GetDbVersion\n(name)
activate Broker #Azure
Broker -[#green]> Broker : GetConnParamsConfig\n(host, port, etc.)
Broker -> Database2 : CONNECT VALUE (host, port, etc.)
Broker <-- Database2
Broker -> Database2 : DBVERSION
Broker <-- Database2
VSCode <-- Broker : DbVersion\n(version)
deactivate Broker
User <-- VSCode : End
User <-- Broker : End
@enduml