|
|
d617d22b6d
|
do the same for ordered stops
|
2025-01-21 15:34:05 -08:00 |
|
|
|
7b3f7e5960
|
do the same with mock stops
|
2025-01-21 15:25:47 -08:00 |
|
|
|
dd2fde30b9
|
do the same for mock routes
|
2025-01-21 15:22:56 -08:00 |
|
|
|
02ebeb4782
|
use generator method for shuttles
|
2025-01-21 15:19:06 -08:00 |
|
|
|
f71e589493
|
fix test with generator method
|
2025-01-21 15:14:20 -08:00 |
|
|
|
05b3538a91
|
add and use generator method for system objects
|
2025-01-21 15:13:53 -08:00 |
|
|
|
bfd4c40a10
|
add remaining tests for 100% test coverage
|
2025-01-21 15:01:21 -08:00 |
|
|
|
736d348133
|
add addOrUpdate tests for UnoptimizedInMemoryRepository
|
2025-01-21 14:50:48 -08:00 |
|
|
|
8f66b9ddfb
|
add missing tests according to coverage report
|
2025-01-21 14:37:21 -08:00 |
|
|
|
0d9d935a9e
|
add rest of tests (mostly generated)
|
2025-01-21 14:27:18 -08:00 |
|
|
|
70717d6476
|
add test cases and implementations for system getters
|
2025-01-21 14:25:05 -08:00 |
|
|
|
52d1ae2b86
|
Merge pull request #7 from brendan-ch/chore/reorganize-classes
chore/reorganize-classes
|
2025-01-21 13:35:06 -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 |
|
|
|
26d82390c6
|
remove ApiBasedRepository.ts and tests
|
2025-01-21 13:26:52 -08:00 |
|
|
|
17e1ef2945
|
Merge pull request #6 from brendan-ch/experimental/clear-repository-data-on-refresh
experimental/clear-repository-data-on-refresh
|
2025-01-17 14:50:30 -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 |
|
|
|
b7a25a6115
|
add repository methods to clear all data
|
2025-01-16 21:07:44 -08:00 |
|
|
|
b8a47d4942
|
Merge pull request #5 from brendan-ch/chore/enable-data-updates
chore/enable-data-updates
|
2025-01-15 22:03:12 -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 |
|
|
|
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 |
|