|
|
08d1f88693
|
add constructor which takes in repository
|
2025-02-02 12:47:13 -08:00 |
|
|
|
d0359e22cc
|
add NotificationService class with stubs, and test file
|
2025-02-02 12:43:52 -08:00 |
|
|
|
7de1fd757e
|
add TupleKey class
|
2025-01-29 16:57:00 -08:00 |
|
|
|
f1579904c7
|
check for system association in system resolvers
|
2025-01-29 00:03:31 -08:00 |
|
|
|
391884c91d
|
reduce System.shuttles resolver to one statement
|
2025-01-28 20:40:36 -08:00 |
|
|
|
3fca362c14
|
simplify stops resolver to one statement
|
2025-01-28 20:38:17 -08:00 |
|
|
|
da3d67a075
|
fix spacing for RouteResolvers.Route
|
2025-01-28 15:53:56 -08:00 |
|
|
|
9b69f00ea5
|
Merge pull request #13 from brendan-ch/chore/update-graphql-schema-to-include-ids
chore/update-graphql-schema-to-include-ids
|
2025-01-23 16:18:00 -08:00 |
|
|
|
71b3b718ab
|
add clearEtaData call to repository
|
2025-01-23 14:24:42 -08:00 |
|
|
|
5813408a36
|
move other resolvers into their own files
|
2025-01-23 03:39:50 -08:00 |
|
|
|
718677d6dd
|
fix import error
|
2025-01-23 03:35:07 -08:00 |
|
|
|
d506f9bbfe
|
split query resolvers into separate files
|
2025-01-23 03:33:43 -08:00 |
|
|
|
36d1a24484
|
update resolvers for updated schema
|
2025-01-23 03:26:59 -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 |
|
|
|
be2efe2353
|
implement rest of methods
|
2025-01-22 20:41:24 -08:00 |
|
|
|
e9703e53ae
|
implement route removal
|
2025-01-22 20:10:50 -08:00 |
|
|
|
144fa7c852
|
move index finding to separate method
|
2025-01-22 20:09:49 -08:00 |
|
|
|
bc07fe5622
|
add implementation for removeSystemIfExists
|
2025-01-22 20:05:47 -08:00 |
|
|
|
f080c1ab5e
|
update stub methods to clarify behavior
|
2025-01-22 19:41:31 -08:00 |
|
|
|
f94c8dd629
|
add method stubs to remove data by id
|
2025-01-22 19:29:11 -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 |
|
|
|
26d82390c6
|
remove ApiBasedRepository.ts and tests
|
2025-01-21 13:26:52 -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 |
|
|
|
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 |
|
|
|
c4ee93d3d1
|
fix filtering statement within getEtaForShuttleAndStopId
|
2025-01-09 13:48:46 -08:00 |
|