Commit Graph

39 Commits

Author SHA1 Message Date
bc2f90e11e add polyline coordinates for red route 2025-02-19 11:30:38 -08:00
63a215ac41 remove TODO for test data class 2025-02-19 10:55:37 -08:00
556906d15e remove test data repository loader 2025-02-19 10:55:16 -08:00
6da782fd3d add stubs for test data repository loader 2025-02-19 10:50:04 -08:00
3b173aeb22 add RepositoryLoader interface 2025-02-19 10:47:58 -08:00
71b3b718ab add clearEtaData call to repository 2025-01-23 14:24:42 -08:00
d7528757d4 remove clearing of data in timed repository and update tests 2025-01-22 22:31:39 -08:00
15a9330722 add note about pruning behavior for ApiBasedRepositoryLoader 2025-01-22 22:29:01 -08:00
d8119b7506 add implementations for data types with id 2025-01-22 21:36:21 -08:00
e7e513b0b1 implement pruning code 2025-01-22 21:10:59 -08:00
200c5328b6 make timeout constant a class property 2025-01-22 16:20:20 -08:00
c902472457 add try/catch to remaining methods 2025-01-22 15:52:29 -08:00
d1f8d940b3 remove console.error calls to leave responsibility to caller 2025-01-22 15:51:00 -08:00
bc3526df88 refactor remaining methods into separate methods for improved testing 2025-01-22 15:16:28 -08:00
95f2181b1c add test for fetchAndUpdateStopAndPolylineDataForRoutesInExistingSystemsInRepository 2025-01-22 15:03:29 -08:00
df0e1d3d0f add error throwing to method 2025-01-22 14:59:04 -08:00
b2be3ae583 refactor fetchAndUpdateStopAndPolylineDataForRoutesWithSystemId into separate method 2025-01-22 14:55:51 -08:00
9fda898ecb update fetchAndUpdateRouteDataForSystemId to include try/catch 2025-01-22 14:36:49 -08:00
f1fd774821 refactor route fetching logic for single system ID to external function 2025-01-22 14:27:12 -08:00
1b9a77209f add error pathway and test case for validation 2025-01-22 14:01:57 -08:00
4dd8b450a0 move baseUrl and supported system ids to class level 2025-01-22 13:43:37 -08:00
e4b4683b60 change update helper methods back to protected 2025-01-22 13:41:17 -08:00
86777a1681 make all loader methods public for improved testing 2025-01-22 13:25:16 -08:00
59af309bec move api logic to parent class ApiBasedRepositoryLoader 2025-01-21 13:33:28 -08:00
900d649409 add note to turn loadTestData into class 2025-01-21 13:28:45 -08:00
fc23021c70 rename repository loader to TimedApiBasedRepositoryLoader 2025-01-21 13:27:42 -08:00
80faf8114b remove redundant todo 2025-01-17 14:46:35 -08:00
33c1a512d2 experiment with using RepositoryDataLoader for ETA data 2025-01-17 14:39:05 -08:00
e4b08be1e4 clear data individually instead of all at once 2025-01-16 21:29:51 -08:00
6176dd9f5a call methods to clear data 2025-01-16 21:07:49 -08:00
4c65f5d26e change timeout to 10 secs 2025-01-15 21:51:18 -08:00
5289e60d05 add binding of function and timer 2025-01-15 21:42:33 -08:00
9ad275a662 use global timeout variable instead of local one 2025-01-15 21:37:54 -08:00
7917cd7126 set timeout for repository data loader 2025-01-15 21:32:06 -08:00
3829286ec4 in RepositoryDataLoader, fix hardcoded value 2025-01-08 16:15:59 -08:00
65211df3b7 remove redundant TODO 2025-01-08 15:55:29 -08:00
d10ad92907 update imports and create ApiBasedRepository.ts stub 2025-01-06 21:01:22 -08:00
fcf0f01715 rename files for consistency 2025-01-06 20:46:09 -08:00
588a2b18ad move repositories and loaders to directories 2025-01-06 18:13:09 -08:00