|
|
7b2dae6e5a
|
Merge pull request #4 from brendan-ch/feat/integrate-apibasedrepository
feat/integrate-apibasedrepository
|
2025-01-09 14:21:28 -08:00 |
|
|
|
ceec9b7617
|
update test to account for multiple shuttle IDs in data
|
2025-01-09 14:00:52 -08:00 |
|
|
|
8cd6c71206
|
move json snapshots to separate directory
|
2025-01-09 13:51:55 -08:00 |
|
|
|
c4ee93d3d1
|
fix filtering statement within getEtaForShuttleAndStopId
|
2025-01-09 13:48:46 -08:00 |
|
|
|
e74eadc86c
|
update resolvers to pull eta data from apiBasedRepository
|
2025-01-09 13:36:26 -08:00 |
|
|
|
04a9d4494e
|
fix logic for getting stop data
|
2025-01-09 13:34:50 -08:00 |
|
|
|
798a708793
|
call seeding function
|
2025-01-09 13:23:21 -08:00 |
|
|
|
404c391dfa
|
fix seeding function
|
2025-01-09 13:23:11 -08:00 |
|
|
|
d7bc9b1923
|
add apiBasedRepository to server context
|
2025-01-09 13:11:27 -08:00 |
|
Brendan Chen
|
7e30ef057d
|
Merge pull request #3 from brendan-ch/chore/add-readme
|
2025-01-08 19:37:40 -08:00 |
|
|
|
5082ebd6c8
|
add README
|
2025-01-08 19:24:02 -08:00 |
|
|
|
430ce465d6
|
Merge pull request #2 from brendan-ch/feat/api-based-repository
feat/api-based-repository
|
2025-01-08 18:50:37 -08:00 |
|
|
|
a5dc5a11da
|
update TODOs
|
2025-01-08 17:41:38 -08:00 |
|
|
|
3abbfbb26d
|
disable getShuttlesByRouteId tests for now
|
2025-01-08 17:40:37 -08:00 |
|
|
|
432c8600be
|
update test for getShuttleById
|
2025-01-08 17:37:04 -08:00 |
|
|
|
160e24460b
|
update getShuttleById to move TTL check to other method
|
2025-01-08 17:36:54 -08:00 |
|
|
|
f7ec46dacd
|
disable test for TTL check
|
2025-01-08 17:28:42 -08:00 |
|
|
|
f865544e49
|
add getStopById test for getEtasForStopId
|
2025-01-08 17:26:05 -08:00 |
|
|
|
365031384c
|
stub getShuttleById in getEtasForShuttleId
|
2025-01-08 17:23:36 -08:00 |
|
|
|
f53774bb2f
|
fix syntax error in getEtasForShuttleId test
|
2025-01-08 17:21:16 -08:00 |
|
|
|
c0e73d945a
|
fix faulty getEtasForShuttleId test
|
2025-01-08 17:20:29 -08:00 |
|
|
|
91d020a7bc
|
update caching behavior temporarily for updateEtasForSystemIfTTL
|
2025-01-08 17:18:12 -08:00 |
|
|
|
9d5d499fb6
|
stub out getStopById in test for updateEtasForSystemIfTTL
|
2025-01-08 17:17:29 -08:00 |
|
|
|
a4e359b19b
|
update stopByStopId in cache
|
2025-01-08 16:50:14 -08:00 |
|
|
|
eef414cdb7
|
implemnet getStopById method
|
2025-01-08 16:49:00 -08:00 |
|
|
|
17b6f93f0e
|
add implementation for getEtasForStopId and getEtasForShuttleId
|
2025-01-08 16:44:06 -08:00 |
|
|
|
a66e0ce9ad
|
fix test data in ApiBasedRepositoryTests
|
2025-01-08 16:39:30 -08:00 |
|
|
|
eeadfa62cb
|
fix id in conditional and return milleseconds for eta
|
2025-01-08 16:39:11 -08:00 |
|
|
|
55501a0d92
|
update getEtaForShuttleAndStopId test to use method stubs
|
2025-01-08 16:30:23 -08:00 |
|
|
|
638d15ccd8
|
fix incorrect ID used for eta filter
|
2025-01-08 16:30:07 -08:00 |
|
|
|
a7efda6fba
|
fix conditional check for getEtaForShuttleAndStopId
|
2025-01-08 16:25:56 -08:00 |
|
|
|
88dbce007d
|
implement getStopsBySystemId and updateStopsForSystemId
|
2025-01-08 16:19:11 -08:00 |
|
|
|
3829286ec4
|
in RepositoryDataLoader, fix hardcoded value
|
2025-01-08 16:15:59 -08:00 |
|
|
|
97c3376cf7
|
fix incorrect inheritance for IOrderedStop
|
2025-01-08 16:13:46 -08:00 |
|
|
|
90f9710a8e
|
finish up implementation for updateEtasForSystemIfTTL
|
2025-01-08 16:08:53 -08:00 |
|
|
|
0996be0ce3
|
add implementation for updateShuttlesForSystemIfTTL
|
2025-01-08 15:55:39 -08:00 |
|
|
|
65211df3b7
|
remove redundant TODO
|
2025-01-08 15:55:29 -08:00 |
|
|
|
16c6f48a1d
|
extract method to update shuttle data
|
2025-01-07 21:11:53 -08:00 |
|
|
|
c869091fff
|
add to-do for cleanup
|
2025-01-07 21:06:29 -08:00 |
|
|
|
01c4afc4f4
|
add tests for getShuttlesBySystemId
|
2025-01-07 21:04:41 -08:00 |
|
|
|
e59a3808c0
|
update type definition for getShuttlesBySystemId
|
2025-01-07 21:04:12 -08:00 |
|
|
|
9a80bde10e
|
add fields for cache and ttls
|
2025-01-07 20:56:06 -08:00 |
|
|
|
ae20bb9bb9
|
add implementation for getShuttleById
|
2025-01-07 20:47:37 -08:00 |
|
|
|
77c2d88ba2
|
add test cases for getShuttlesBySystemIzd
|
2025-01-07 20:47:26 -08:00 |
|
|
|
0a7b6ab510
|
add test for getting new data
|
2025-01-07 20:37:42 -08:00 |
|
|
|
12ebd97068
|
add test for old data
|
2025-01-07 20:34:46 -08:00 |
|
|
|
effd3928f0
|
update cache and ttls interface
|
2025-01-07 20:32:54 -08:00 |
|
|
|
4cfff7fcca
|
add mock api response and first test for getShuttleById
|
2025-01-07 20:29:54 -08:00 |
|
|
|
792476a59b
|
add tests for getShuttleById
|
2025-01-07 20:24:15 -08:00 |
|
|
|
4ba16bb7c2
|
add method to seed the cache for the system id
|
2025-01-07 20:17:55 -08:00 |
|