-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresto_sequence1.puml
28 lines (24 loc) · 1.01 KB
/
resto_sequence1.puml
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
@startuml
'autonumber
actor Customer
participant "Authentication System"
participant "Reservation Manager"
participant "Table Manager"
participant "Database System"
Customer -> "Authentication System": Login Request
alt Login Successful
"Authentication System" -> "Database System": Verify Credentials
"Database System" --> "Authentication System": Credentials Verified
"Authentication System" --> Customer: Login Successful
else Login Unsuccessful
"Authentication System" --> Customer: Login Failed
end
Customer -> "Reservation Manager": Make Reservation
"Reservation Manager" -> "Table Manager": Check Table Availability
"Table Manager" -> "Database System": Query Available Tables
"Database System" --> "Table Manager": Return Available Tables
"Table Manager" --> "Reservation Manager": Available Tables
"Reservation Manager" -> "Database System": Store Reservation Details
"Database System" --> "Reservation Manager": Reservation Saved
"Reservation Manager" --> Customer: Reservation Confirmed (with ID)
@enduml