Commit Graph

107 Commits

Author SHA1 Message Date
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
e5b686f0be fix import errors 2025-04-08 16:30:43 -07:00
2741d229f9 rename entities.ts to ShuttleRepositoryEntities.ts 2025-04-08 16:07:48 -07:00
b6f3e4ccde update method signatures to not include system id 2025-04-07 19:17:14 -07:00
0076d987ca rename methods in getter repository 2025-04-07 19:06:18 -07:00
059a9f5067 fix ETA data not loading via repository loader 2025-04-07 13:56:26 -07:00
fe6db035f1 fix pruning and construction ID issues with repository loader 2025-04-07 13:47:36 -07:00
25f2a8c458 differentiate between passio system ID and internal ID in loader class 2025-04-07 13:26:19 -07:00
60256ce572 update integration test data to use interchange system builder arguments 2025-04-07 12:55:10 -07:00
bed2fbc7c3 update shuttle test data for integration tests 2025-04-07 12:41:04 -07:00