Commit Graph

907 Commits

Author SHA1 Message Date
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
f67e3f13f5 update test data for correctness 2025-04-10 16:58:30 -07:00
e25a96f704 add test for ApiResponseError 2025-04-10 16:46:59 -07:00
b6856a98a2 move ApiResponseError assertion function to separate file 2025-04-10 16:46:20 -07:00
263607fc69 move ApiResponseError to separate file 2025-04-10 16:44:57 -07:00
3d6dc1e7b6 add pass to check validity of parking structures generated 2025-04-10 16:43:04 -07:00
f6d8253719 make generateId public 2025-04-10 16:40:54 -07:00
8c810c5224 add setup of loader 2025-04-10 16:36:28 -07:00
45df97f15c add methods to generate an ID based on address 2025-04-10 16:36:02 -07:00
aed005f7a7 add successful JSON response for chapman parking structure data 2025-04-10 16:29:13 -07:00
726af52685 rename test file 2025-04-10 16:27:15 -07:00
b9810057ce add test cases 2025-04-10 16:26:41 -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
aa7b21c4c0 Merge pull request #40 from brendan-ch/feat/parking-data-repository
[INT-62] feat/parking-data-repository
2025-04-08 16:52:55 -07:00
461b1d1a59 implement class 2025-04-08 16:47:41 -07:00
fe2b8b2f69 add test cases 2025-04-08 16:45:58 -07:00
e5c4387cff add stub methods for repo 2025-04-08 16:39:23 -07:00
922fd7abb8 add repository methods 2025-04-08 16:37:36 -07:00
b67b537a08 Merge pull request #39 from brendan-ch/feat/parking-data-models
[INT-60] feat/parking-data-models
2025-04-08 16:32:52 -07:00
e5b686f0be fix import errors 2025-04-08 16:30:43 -07:00
78514c5b8a remove required parking structure and add stub resolvers 2025-04-08 16:28:21 -07:00
b2e6acfefa update graphql schema 2025-04-08 16:23:06 -07:00
be407fe220 add comment regarding future features 2025-04-08 16:20:39 -07:00
6782654564 add parking structure entity 2025-04-08 16:20:15 -07:00
6cd7d38bfd split out shared entities into separate file 2025-04-08 16:19:20 -07:00
0ce0c54ddd remove IPassioSystem entity 2025-04-08 16:09:15 -07:00
2741d229f9 rename entities.ts to ShuttleRepositoryEntities.ts 2025-04-08 16:07:48 -07:00
51c2aedef6 Merge pull request #38 from brendan-ch/chore/reorganize-classes-for-multiple-systems
[INT-58] chore/reorganize-classes-for-multiple-systems
2025-04-07 20:00:00 -07:00
c7666c092c update remaining tests 2025-04-07 19:55:25 -07:00
f0c754908d update incorrect argument in shuttle resolver 2025-04-07 19:19:10 -07:00
4f855a8225 update implementation of repository to get all entities 2025-04-07 19:18:30 -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
495a946e78 use the correct system ID for mock data in eta loader test 2025-04-07 13:59:11 -07:00
4f7d24acf0 add TODO to be resolved before merge 2025-04-07 13:57:14 -07:00
059a9f5067 fix ETA data not loading via repository loader 2025-04-07 13:56:26 -07:00
8e3765abfb update tests to correctly test internal system ID and passio ID 2025-04-07 13:47:50 -07:00
fe6db035f1 fix pruning and construction ID issues with repository loader 2025-04-07 13:47:36 -07:00
6767cc88a3 make clear that data loading for different integration test systems is a TODO 2025-04-07 13:32:45 -07:00
25f2a8c458 differentiate between passio system ID and internal ID in loader class 2025-04-07 13:26:19 -07:00
12f0a41153 update builder method and use in index 2025-04-07 13:19:43 -07:00
34765a0f3b update initialization of systems in index file 2025-04-07 13:02:13 -07:00
e4ff597385 swap shuttle data loaders for buildForTesting method 2025-04-07 13:00:24 -07:00
476b96c423 listen for notification updates in the builder methods 2025-04-07 12:59:04 -07:00