Compare commits
No commits in common. "aa3dc4560eb695dc5129bbbd993acd2450289676" and "5865951153dde12128756e135e61944e76a6e484" have entirely different histories.
aa3dc4560e
...
5865951153
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 38 KiB |
@ -75,12 +75,6 @@ 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
|
||||||
@ -88,11 +82,9 @@ 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
|
||||||
@ -102,11 +94,4 @@ 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