Commit Graph

288 Commits

Author SHA1 Message Date
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
ebcd35b85d use base64 encoded private key for apns 2025-02-11 11:46:46 -08:00
4fdf60f9bf update import for testing 2025-02-10 14:02:40 -08:00
a880d71c87 use updated getAPNs... method 2025-02-10 13:34:48 -08:00
5e186c643c propagate error message down to outer catch statement 2025-02-10 13:32:26 -08:00
baa94eeef5 update tests and implementation ofr getAPNsFullUrlToUse 2025-02-10 13:30:29 -08:00
da224c36ed use node.js http2 module instead of fetch 2025-02-10 13:21:48 -08:00
2d92370254 reload apns token on startup 2025-02-10 13:21:41 -08:00
6635a1a89b use api.development.push instead of api.sandbox.push 2025-02-10 10:36:49 -08:00
a6138b37cb use seconds instead of ms for claims payload 2025-02-10 10:32:46 -08:00
a3efae9f24 add dotenv support 2025-02-10 10:32:18 -08:00
d3c824be68 implement cancelNotification 2025-02-04 11:42:02 -08:00
2b0bef876c implement scheduleNotification 2025-02-04 11:40:09 -08:00
cea7b48323 add mutation resolvers to merged resolvers 2025-02-04 11:22:17 -08:00
814f2c6584 change repository type to GetterSetterRepository to account for mutations 2025-02-04 10:52:07 -08:00
f1f1d5c971 remove cancelAllNotifications resolver 2025-02-04 10:42:12 -08:00