|
|
8c341e91e0
|
Call getArrivedStopIfExists based on different parameter
|
2025-11-21 10:57:04 -08:00 |
|
|
|
712e311006
|
Update getArrivedStopIfExists method to take an argument returnNextStopOnly
|
2025-11-21 10:51:38 -08:00 |
|
|
|
c2f1a67a70
|
Remove unused ETA code from RedisShuttleRepository
|
2025-11-21 10:39:08 -08:00 |
|
|
|
37fbc3ef45
|
Make checkIfShuttleIsAtStop part of the ShuttleGetterRepository interface
|
2025-11-20 17:48:49 -08:00 |
|
|
|
a9db9b5d5c
|
Pass down the new arguments into the shuttle repositories
|
2025-11-20 16:47:50 -08:00 |
|
|
|
b8c3f17510
|
Add test for ETA clearing
|
2025-11-19 10:57:27 -08:00 |
|
|
|
83671e2b22
|
Add logic to fire the SHUTTLE_WILL_LEAVE_STOP event
|
2025-11-18 21:06:10 -08:00 |
|
|
|
c8c5aa28c6
|
Add a method to mark a shuttle as not at a stop
|
2025-11-18 20:42:06 -08:00 |
|
|
|
78cf60af4a
|
Add code to mark shuttle at a stop (Redis set)
|
2025-11-18 20:27:00 -08:00 |
|
|
|
34b2ab05d4
|
Rename properties in WillArriveAtStopPayload for more clarity
|
2025-11-18 19:14:29 -08:00 |
|
|
|
f06e778b80
|
Implement removal of last stop data on shuttle removal
|
2025-11-14 10:26:52 -08:00 |
|
|
|
f76126c951
|
Implement clearing of last stop data
|
2025-11-14 10:19:15 -08:00 |
|
|
|
b74a0d5d64
|
Restrict stop arrival event to only next stop after shuttle's last stop, if last stop exists
|
2025-11-13 22:13:17 -08:00 |
|
|
|
d6ad90ee7a
|
Change SHUTTLE_WILL_ARRIVE_AT_STOP to return payload of last stop and current stop, to avoid data race
|
2025-11-13 18:52:13 -08:00 |
|
|
|
1866224b5b
|
Prevent shuttle arriving at same stop from firing the SHUTTLE_WILL_ARRIVE_AT_STOP event
|
2025-11-11 21:22:39 -08:00 |
|
|
|
9af50ddfe9
|
Change the event name to SHUTTLE_WILL_ARRIVE_AT_STOP, and emit it before the stop is updated
|
2025-11-11 19:10:13 -08:00 |
|
|
|
992a2b6149
|
Implement the events
|
2025-11-11 18:34:17 -08:00 |
|
|
|
747477cff4
|
Update shuttle repository implementations to remove ETA functionality
|
2025-11-11 15:28:11 -08:00 |
|
|
|
99999450b5
|
Remove clearAllData from BaseRedisRepository and update tests
|
2025-11-11 14:50:53 -08:00 |
|
|
|
01c55d52ec
|
Make BaseRedisRepository extend EventEmitter; make RedisShuttleRepository extend BaseRedisRepository
|
2025-11-11 12:31:32 -08:00 |
|
|
|
20c97de94d
|
Unify the new ETA functionality across all shuttle repositories
|
2025-11-10 20:20:39 -08:00 |
|
|
|
4481496fda
|
Privatize implementation details for updating shuttle ETA information
|
2025-11-10 19:51:15 -08:00 |
|
|
|
c9cbde7a78
|
Rename internal method to something more representative of if
|
2025-11-10 19:35:21 -08:00 |
|
|
|
864097154e
|
Make addTravelTimeDataPoint public, add tests, and fix the query interval
|
2025-11-10 19:05:32 -08:00 |
|
|
|
7a0937c04e
|
Refactor updateShuttleLastStopArrival to use shuttle ID
|
2025-11-10 18:23:44 -08:00 |
|
|
|
ef20117f3c
|
Modify getShuttleLastStopArrival to use shuttle ID
|
2025-11-10 18:21:55 -08:00 |
|
|
|
91517669f0
|
Implement updateEtasBasedOnHistoricalData and add a test for it
|
2025-11-10 18:11:54 -08:00 |
|
|
|
d92db84738
|
Implement travel time data point saving and loading, and tests
|
2025-11-10 16:46:34 -08:00 |
|
|
|
c946647483
|
Update getArrivedStopIfExists and implement tests for it
|
2025-11-10 15:45:38 -08:00 |
|
|
|
cba91dae55
|
Implement getShuttleLastStopArrival and updateShuttleLastStopArrival
|
2025-11-10 15:36:33 -08:00 |
|
|
|
2a80a049bd
|
Add updated test cases and update call to stop arrival helper
|
2025-11-10 15:09:13 -08:00 |
|
|
|
63ed267ded
|
Add necessary call to updateShuttleLastTimeArrival
|
2025-11-10 14:54:48 -08:00 |
|
|
|
321631e6c9
|
Add partial implementation and scaffolding of historical ETA update
|
2025-11-10 14:49:41 -08:00 |
|
|
|
4b4715cdb2
|
Add RedisShuttleRepository and ShuttleRepositorySharedTests, like pattern for parking data
|
2025-11-03 10:34:21 -08:00 |
|