Compare commits
2 Commits
5865951153
...
aa3dc4560e
| Author | SHA1 | Date | |
|---|---|---|---|
| aa3dc4560e | |||
| 2abdf012d6 |
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 44 KiB |
@ -75,6 +75,12 @@ package "③ Facade Pattern [Structural]" #FFF8E1 {
|
|||||||
class "LocationService\n<<Service>>" as LocationService <<Subsystem>>
|
class "LocationService\n<<Service>>" as LocationService <<Subsystem>>
|
||||||
class "ActivityLogService\n<<Service>>" as ActivityService <<Subsystem>>
|
class "ActivityLogService\n<<Service>>" as ActivityService <<Subsystem>>
|
||||||
class "SosService\n<<Service>>" as SosServiceFacade <<Subsystem>>
|
class "SosService\n<<Service>>" as SosServiceFacade <<Subsystem>>
|
||||||
|
class "NotificationService\n<<Service>>" as NotifServiceFacade <<Subsystem>>
|
||||||
|
|
||||||
|
class "GuardianDashboardController\n<<Client>>" as GuardianDashboardController {
|
||||||
|
+ getDashboard(guardianId) : ResponseEntity
|
||||||
|
' GET /api/v1/guardian/dashboard
|
||||||
|
}
|
||||||
|
|
||||||
WalkGuideBlocFacade --> VoiceCommandHandler : processText()
|
WalkGuideBlocFacade --> VoiceCommandHandler : processText()
|
||||||
VoiceCommandHandler --> SttServiceFacade : delegates
|
VoiceCommandHandler --> SttServiceFacade : delegates
|
||||||
@ -82,9 +88,11 @@ package "③ Facade Pattern [Structural]" #FFF8E1 {
|
|||||||
VoiceCommandHandler --> GoRouterFacade : delegates
|
VoiceCommandHandler --> GoRouterFacade : delegates
|
||||||
VoiceCommandHandler --> SosBlocFacade : delegates
|
VoiceCommandHandler --> SosBlocFacade : delegates
|
||||||
|
|
||||||
|
GuardianDashboardController --> GuardianDashboardService : getDashboard()
|
||||||
GuardianDashboardService --> LocationService : aggregates
|
GuardianDashboardService --> LocationService : aggregates
|
||||||
GuardianDashboardService --> ActivityService : aggregates
|
GuardianDashboardService --> ActivityService : aggregates
|
||||||
GuardianDashboardService --> SosServiceFacade : aggregates
|
GuardianDashboardService --> SosServiceFacade : aggregates
|
||||||
|
GuardianDashboardService --> NotifServiceFacade : aggregates
|
||||||
}
|
}
|
||||||
|
|
||||||
note right of VoiceCommandHandler
|
note right of VoiceCommandHandler
|
||||||
@ -94,4 +102,11 @@ note right of VoiceCommandHandler
|
|||||||
→ route navigation → BLoC event dispatch
|
→ route navigation → BLoC event dispatch
|
||||||
end note
|
end note
|
||||||
|
|
||||||
|
note right of GuardianDashboardService
|
||||||
|
Client (Controller) hanya panggil getDashboard(guardianId)
|
||||||
|
Facade mengagregasi 4 service sekaligus:
|
||||||
|
location + activity + SOS + notification
|
||||||
|
→ satu response, satu request dari Flutter
|
||||||
|
end note
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user