Commit Graph

253 Commits

Author SHA1 Message Date
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00
c517d93e3a add test cases and rename some methods 2025-03-27 10:02:13 -07:00
09be37cedb move arguments and notification interfaces to notification repository file 2025-03-27 09:57:49 -07:00
687fe0d826 finish the rename for the data loaders 2025-03-27 09:33:37 -07:00
fab99db755 rename existing repository to shuttle repository 2025-03-27 09:32:29 -07:00
3a85f3da8b bind rest of notification scheduler methods to class 2025-03-27 09:28:47 -07:00
83cf38ed91 remove dotenv 2025-03-27 08:27:14 -07:00
7199adf20e play the default sound when the notification is sent 2025-03-25 16:21:19 -07:00
717575e004 update query resolvers to add the seconds threshold 2025-03-25 16:00:13 -07:00
99672e749f use seconds threshold provided in argument inputs 2025-03-25 15:48:42 -07:00
96e7e0297b update tests for mutation resolvers 2025-03-25 15:43:00 -07:00
14a3738fba add a public method to get the seconds threshold for a scheduled notification 2025-03-25 15:39:17 -07:00
fb49577cf6 add logic to send notification based on a provided threshold 2025-03-25 15:19:09 -07:00
1f8d4bfbd4 extract tuple.toString to variable 2025-03-25 15:11:47 -07:00
50636e5582 change set of device IDs to object of device IDs to seconds threshold 2025-03-25 15:09:32 -07:00
8874704acb add optional secondsThreshold value 2025-03-25 14:55:34 -07:00
9e6e20503d Merge pull request #32 from brendan-ch/chore/split-notification-service
[INT-45] chore/split-notification-service
2025-03-24 10:35:38 -07:00
6251f0e247 move shouldSendNotifications property to the AppleNotificationSender 2025-03-24 10:02:30 -07:00
a6ceeb4dfb add optional dependency inject for apple notification sender 2025-03-24 09:59:29 -07:00
23dc4c3f59 add getter for the last refreshed token time 2025-03-24 09:44:50 -07:00
9869632a88 change reloadAPNsTokenIfTimePassed method to public for testing 2025-03-24 09:42:41 -07:00
7f1bf005c1 integrate notification sender class into ETA notification scheduler 2025-03-24 09:39:07 -07:00
83766c90c5 add notification sending logic 2025-03-24 09:34:53 -07:00
a58780a37d add apns token methods 2025-03-24 09:30:22 -07:00
619ef9a27f update naming of classes and tests 2025-03-24 09:20:10 -07:00
049ea731a3 add message for integration testing 2025-03-20 20:22:58 -07:00
d8ec54919e move shuttle away from the stop 2025-03-20 20:22:50 -07:00
889e302912 add orientation data to api based loader 2025-03-17 13:25:46 -07:00
891bf522ba add orientation data to route resolver 2025-03-17 13:25:37 -07:00
024a7dd30c add orientation to loadTestData 2025-03-17 13:24:08 -07:00
d9d11e1b31 update entities and schema to include orientation in degrees 2025-03-17 13:15:07 -07:00
371fb25faf add etas for a second shuttle 2025-02-19 12:01:26 -08:00
e8d5dbe6b3 link schmid gate to shuttle 2025-02-19 11:59:00 -08:00
ad07a6be44 add schmid gate as a stop 2025-02-19 11:58:13 -08:00
614b062b01 add polyline coordinates for the teal route 2025-02-19 11:53:31 -08:00
bc2f90e11e add polyline coordinates for red route 2025-02-19 11:30:38 -08:00
58bb8a1c32 change flag to integration-testing and update notification service construction 2025-02-19 11:15:11 -08:00
f1b9fb6824 add a flag to control whether the notification service should actually send notifications 2025-02-19 11:14:48 -08:00
92537a298b check for command line argument 2025-02-19 11:02:21 -08:00
63a215ac41 remove TODO for test data class 2025-02-19 10:55:37 -08:00
556906d15e remove test data repository loader 2025-02-19 10:55:16 -08:00
6da782fd3d add stubs for test data repository loader 2025-02-19 10:50:04 -08:00
3b173aeb22 add RepositoryLoader interface 2025-02-19 10:47:58 -08:00
f5d40ebd7a add implementation for isNotificationScheduled 2025-02-12 19:53:26 -08:00
8971e3514d add isNotificationScheduled resolver and test cases 2025-02-12 19:51:42 -08:00
c09d35b65c implement method in NotificationService 2025-02-12 19:43:05 -08:00
c1ec50db7b add TupleKey method to convert string key back to tuple 2025-02-12 19:39:37 -08:00
3ce72d79be add NotificationService method and test case stub 2025-02-12 19:30:11 -08:00
2d4e206739 lower seconds threshold for notification to fire 2025-02-11 12:05:27 -08:00
a74a6c995a update implementation and test for getAPNsFullUrlToUse 2025-02-11 11:58:13 -08:00