Commit Graph

945 Commits

Author SHA1 Message Date
2ba64a9b0d attach the context correctly in system resolver tests 2025-04-07 12:18:26 -07:00
d950156161 use findSystemById function in query resolvers 2025-04-07 12:18:16 -07:00
3d13bad11c update mock data generators 2025-04-07 12:14:12 -07:00
329f21beb7 add systemId to ordered stop and route resolvers 2025-04-07 12:12:08 -07:00
973867bd6d update loader to add system ID to ordered stop and ETA 2025-04-07 12:11:36 -07:00
4b610c3ba9 add systemId to ordered stop and ETA entities 2025-04-07 12:10:00 -07:00
9c414be8ce fix test references after removal of addMockSystemToRepository 2025-04-07 12:07:32 -07:00
dbb56f207d add system ID field to ordered stop 2025-04-07 11:58:07 -07:00
c32dcb9610 remove async label from test server construction of context 2025-04-06 14:40:08 -07:00
d95d112bf2 define findSystemById method 2025-04-06 14:38:02 -07:00
f31e010828 update method to set up test server context 2025-04-06 12:56:12 -07:00
af57063b15 update mutation resolvers with temporary method to locate system 2025-04-06 12:54:22 -07:00
f113dc1ec2 update ETA resolvers 2025-04-06 12:44:23 -07:00
7136f9201d update ordered stop resolvers 2025-04-06 11:42:33 -07:00
1629f79299 update route resolvers 2025-04-06 11:38:46 -07:00
28c3e2f5f5 fix incorrect id passed into find system method for stop resolvers 2025-04-06 11:37:53 -07:00
8a600565dc update shuttle resolvers 2025-04-06 11:36:25 -07:00
8dd2f02783 add findSystemById method on server context 2025-04-06 11:34:37 -07:00
ea4723df85 update stop resolvers to look for system 2025-04-06 11:30:27 -07:00
472b3a0b05 add system ID as parent ID in system resolvers 2025-04-06 11:28:13 -07:00
bc598f0858 update graphql definition to include system ID in routes, stops, and shuttles 2025-04-06 11:26:58 -07:00
56466964c1 update method calls in TimedApiBasedShuttleRepositoryLoader 2025-04-06 11:23:27 -07:00
8c2fb3a52a use simplified implementation without system loading 2025-04-06 11:21:07 -07:00
95eb2c8f65 condense shuttle repository methods 2025-04-06 11:15:24 -07:00
9ff388f2d4 update system resolvers 2025-04-06 11:10:16 -07:00
ed2b7dbe5e update query resolvers to work with updated context 2025-04-06 11:03:41 -07:00
2d1e3c13d2 add an id string argument for the system 2025-04-06 10:58:58 -07:00
2d4bc6bdd4 name the name argument correctly 2025-04-06 10:55:03 -07:00
940d172e87 rename ISystem to IPassioSystem 2025-04-06 10:50:51 -07:00
6d762ce620 remove all system related data from shuttle repository 2025-04-06 10:49:47 -07:00
db097b00dc rename class to InterchangeSystem.ts and add builder arguments 2025-04-06 10:43:34 -07:00
2bc12aa794 update the system class 2025-04-06 10:34:30 -07:00
95410470f6 make shuttleRepository and notificationRepository accessible through system 2025-04-06 10:34:03 -07:00
5b695c7250 add notification repository argument 2025-04-06 10:29:41 -07:00
187800cf40 add a build method and export statement 2025-04-06 10:28:19 -07:00
d607a3742c update constructor of loaders to take a system id 2025-04-06 10:24:55 -07:00
4ea43ff21f add system entity as class (holder for shuttle repo and loader) 2025-04-06 10:19:33 -07:00
503bb0fec7 fix timed api loader tests 2025-04-06 10:16:58 -07:00
d584d1f58b update repository loader and tests to support only one system 2025-04-06 10:14:24 -07:00
5936c2b743 update tests to match new repository behavior 2025-04-06 09:57:03 -07:00
a144657fa8 update remove implementation and tests 2025-04-06 09:55:23 -07:00
695fec1fce rename update method and update return types 2025-04-06 09:51:13 -07:00
7e0c1f3539 rename get system method on shuttle repository, update tests 2025-04-06 09:48:55 -07:00
Brendan Chen
af61bd4726 Merge pull request #37 from brendan-ch/hotfix/redis-tls 2025-03-31 23:42:05 -07:00
d76740e5e7 add tls config 2025-03-31 23:37:28 -07:00
Brendan Chen
1b6792a8c7 Merge pull request #36 from brendan-ch/feat/persistent-data-storage-for-notifications 2025-03-31 22:52:09 -07:00
0e204af330 for development and production, swap out in memory repo for redis one 2025-03-31 20:37:53 -07:00
fbc08838df test unsubscribeFromNotificationChanges method 2025-03-31 20:34:45 -07:00
c6f846d109 add tests for isNotificationScheduled 2025-03-31 20:29:44 -07:00
50148cc2f4 implement RedisNotificationRepository 2025-03-31 20:26:26 -07:00