-
Notifications
You must be signed in to change notification settings - Fork 0
/
SequenceDiagram.puml
33 lines (20 loc) · 1012 Bytes
/
SequenceDiagram.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
29
30
31
32
33
@startuml SequenceDiagram
actor User
participant ServerController
participant MachineTrackerAccessRemote
box "REST API" #LightBlue
participant MachineTrackerController
participant MachineTrackerService
participant "Repository / Persistence" as Repo
end box
User -> ServerController: Opens the app
ServerController -> MachineTrackerAccessRemote: handleSubmission()
MachineTrackerAccessRemote -> MachineTrackerController: Send http request to REST API
MachineTrackerController --> MachineTrackerService: getVendMachList()
MachineTrackerService -> Repo: getVendmachtrack()
Repo --> MachineTrackerService: returns a MachineTracker object
MachineTrackerService --> MachineTrackerController: HashMap<Integer, String> vendingMachineData
MachineTrackerController -> MachineTrackerAccessRemote: returns a http respons with json data
MachineTrackerAccessRemote -> ServerController: HashMap<Integer, String> vendingMachineData
ServerController -> User: visualization of the vending machines
@enduml