Commit Graph

302 Commits

Author SHA1 Message Date
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
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
d584d1f58b update repository loader and tests to support only one system 2025-04-06 10:14:24 -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
d76740e5e7 add tls config 2025-03-31 23:37:28 -07:00
0e204af330 for development and production, swap out in memory repo for redis one 2025-03-31 20:37:53 -07:00
50148cc2f4 implement RedisNotificationRepository 2025-03-31 20:26:26 -07:00
39066b88bc have teardown clear all data in redis before starting next test 2025-03-31 20:21:09 -07:00
36359a4caa add export and getter to check connection status 2025-03-31 19:42:47 -07:00
cc6623404c add connect/disconnect methods 2025-03-31 19:37:19 -07:00
c98367f12e add bindings and redis client arg for constructor 2025-03-31 19:35:38 -07:00
1acd12d113 add stub methods for redis notification repository 2025-03-31 19:30:42 -07:00
a95c89c15b update tests and index with updated scheduler interface 2025-03-31 19:21:10 -07:00
ef94055133 add start and stop methods, move subscribe out of constructor 2025-03-31 19:17:41 -07:00
02b3b77a61 bind apple notification sender methods 2025-03-31 18:56:02 -07:00
75a4e133ed fix failing test for notification deletion 2025-03-27 11:40:32 -07:00
9c22e154be add bindings for the notifications repository 2025-03-27 11:34:01 -07:00
a84cedd05a add test and implementation for addOrUpdate listeners 2025-03-27 11:23:07 -07:00
51d66d8886 add tests and implementation for notification deletes 2025-03-27 11:18:43 -07:00
b0f04a9256 add stub methods for subscribe/unsubscribe 2025-03-27 11:10:49 -07:00
b2fb430a38 add notification event subscriber/unsubscriber 2025-03-27 11:08:40 -07:00
f2a2dd74f6 listen to shuttle ETA updates in the scheduler constructor 2025-03-27 10:58:20 -07:00
ef94a9aa7e fix method calls and tests 2025-03-27 10:56:57 -07:00
a665c29745 add method to check if notification is scheduled 2025-03-27 10:46:38 -07:00
3761f43909 update server context to only include the notification repository 2025-03-27 10:42:43 -07:00
bda46d6808 rename repository to server repository in server context 2025-03-27 10:38:02 -07:00
bba00eb067 remove everything from the scheduler that's in the repository already 2025-03-27 10:30:12 -07:00
ae30660095 fix constructors 2025-03-27 10:23:30 -07:00
fb58414ba3 add notification repository as optional dependency 2025-03-27 10:20:25 -07:00
f007b72d94 add code for in-memory notification repository 2025-03-27 10:19:00 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00