Commit Graph

116 Commits

Author SHA1 Message Date
dbcc882a18 Only update ETAs in shuttle repository loader if repository was injected 2025-11-19 11:43:04 -08:00
a89d3c7ae3 Fix test references 2025-11-13 22:36:13 -08:00
6278d695fa Add support back in for external source ETA repositories, if we switch back later 2025-11-13 22:28:07 -08:00
57d0171d68 Remove unused integration test systems 2025-11-11 15:16:01 -08:00
ea943206c0 Remove spy on nonexistent method 2025-11-11 12:06:05 -08:00
41bea7b693 Remove unused code within ApiBasedShuttleRepositoryLoader 2025-11-10 20:26:44 -08:00
09f5fa55df Delete loadShuttleTestData 2025-11-10 20:23:54 -08:00
5bcb1b3ccd Remove check for ETA data update 2025-11-10 20:23:07 -08:00
e6793572bf Remove call to addOrUpdateEta within the shuttle repository loader 2025-11-10 20:15:39 -08:00
513c8bb127 Change the default maximum distance, and move it to environment.ts 2025-09-26 16:24:20 -07:00
dc50f98a6d Restore the pruning test for shuttles 2025-09-26 16:19:39 -07:00
67a4b3fc8e Update test cases to test updating shuttle data depending on proximity 2025-09-26 16:12:01 -07:00
155ab2b4d2 Filter out out-of-service shuttles 2025-09-26 16:01:32 -07:00
5ed15ee534 Update mock data arrangement of shuttle data test to match updated requirements 2025-09-26 15:56:27 -07:00
7ed780a459 Implement filtering of shuttles by proximity to the closest route polyline coordinate 2025-09-26 15:40:58 -07:00
9268ad5181 Repeat warning message for ETA data 2025-09-26 15:00:04 -07:00
7d886975b9 Update mocked methods in tests, and test method names to match 2025-09-26 14:56:49 -07:00
db263122a1 Refactor remaining methods in ApiBasedShuttleRepositoryLoader.ts to follow the same sub-procedure pattern 2025-09-26 14:56:34 -07:00
74a55b3f57 Refactor shuttle update method into clear sub-procedures 2025-09-26 14:45:11 -07:00
9a2b2f65b9 Rename methods to indicate a single responsibility 2025-09-26 14:31:20 -07:00
14fbdc7408 Move testHelpers directory up one level 2025-07-31 22:41:05 -04:00
b7299b8359 Move all tests to subdirectories underneath code to be tested 2025-07-31 22:35:49 -04:00
ed037cf2d2 Move repositories into folders. 2025-07-19 11:58:45 -04:00
aae24d9920 add updated shuttle 2025-06-27 08:17:32 -07:00
f6f71526d7 add shuttle to test data 2025-06-26 17:45:42 -07:00
1c7ee9fbc3 change all millisecond references into Dates 2025-04-29 17:05:23 -07:00
b58babc7ea change updatedTime into a Date 2025-04-29 17:01:51 -07:00
518044d860 update parking code 2025-04-29 16:12:31 -07:00
563362b0b5 update ApiBasedShuttleRepositoryLoader with timestamps 2025-04-29 16:11:41 -07:00
d529554d84 update loadShuttleTestData for integration tests 2025-04-29 16:09:23 -07:00
fe90ffe911 update property name again and make it required 2025-04-29 16:07:30 -07:00
f1dd8650b6 update the time of the data update 2025-04-29 16:06:15 -07:00
7e74748139 add integration test setup for parking data 2025-04-16 17:27:13 -07:00
02e440773a add functionality to normalize the spots available if over capacity 2025-04-16 17:18:48 -07:00
267da3ff36 update InterchangeSystem build methods to attach parking system 2025-04-16 16:22:01 -07:00
c9aa2c401f restructure parking and shuttle repository loaders 2025-04-11 17:13:39 -07:00
463f5cd582 make timeoutMs a read only property (set only in constructor) 2025-04-11 16:58:09 -07:00
44095e711a make timeoutMs a settable property 2025-04-11 16:57:47 -07:00
a0e0c19ca3 update timed loader to use class composition 2025-04-11 16:52:27 -07:00
d1a47baea6 implement fetchAndUpdateAll for parking repository loader 2025-04-11 16:44:54 -07:00
16dce32887 add a RepositoryLoader interface defining a fetchAndUpdateAll method 2025-04-11 16:43:46 -07:00
49b823890f remove "Timed" from class name to prepare for subclassing 2025-04-11 16:13:36 -07:00
c250e3ae5c bind fetchAndUpdateParkingStructures to class 2025-04-11 16:12:37 -07:00
2a01d007a9 refactor parking structure construction into separate method 2025-04-11 16:11:27 -07:00
6998ff529c implement method to retrieve parking structures 2025-04-10 16:59:09 -07:00
263607fc69 move ApiResponseError to separate file 2025-04-10 16:44:57 -07:00
f6d8253719 make generateId public 2025-04-10 16:40:54 -07:00
45df97f15c add methods to generate an ID based on address 2025-04-10 16:36:02 -07:00
110df5501d add chapman repository loader and buildParkingRepositoryLoaderIfExists function 2025-04-10 16:24:16 -07:00
dc639b1ca8 add parking repository loader interface 2025-04-10 16:15:30 -07:00