-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add evaluation of not looping alerts #751
base: eric-cpa-alerts
Are you sure you want to change the base?
Commits on Jul 11, 2024
-
adds List and Get methods to alerts client
The Get endpoint already exists on the service, so only the List endpoint needed to be added there. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 4515bd5 - Browse repository at this point
Copy the full SHA 4515bd5View commit details -
lift Repeat out of the base alert config
Through discussions it was confirmed that Repeat is not universal to all alerts. So it's lifted out of the Base alert and re-inserted into those alerts where it should be present (namely Low and High alerts only). BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 5775f56 - Browse repository at this point
Copy the full SHA 5775f56View commit details -
adds activity tracking to alert configurations
These activity properties will track the times at which alerts were sent, resolved, or acknowledged. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for cdda458 - Browse repository at this point
Copy the full SHA cdda458View commit details -
adds auth endpoint to retrieve a user's device tokens
This endpoint will be used by upcoming changes to the auth client to allow care partner backend processes to retrieve device tokens in order to send mobile device push notifications. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for f10bf84 - Browse repository at this point
Copy the full SHA f10bf84View commit details -
adds the ability to retrieve device tokens to the auth client
This functionality will be used by care partner processes to retrieve device tokens in order to send mobile device push notifications in response to care partner alerts being triggered. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for fdce5dc - Browse repository at this point
Copy the full SHA fdce5dcView commit details -
remove unused device tokens repo from data
This was missed when moving device tokens from the data service to the auth service in commit a0f5a84. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 2b77a38 - Browse repository at this point
Copy the full SHA 2b77a38View commit details -
adds a pusher client for sending APNs push notifications
Basic steps are taken to allow for other push notification services to be easily added in the future. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for c7e19c1 - Browse repository at this point
Copy the full SHA c7e19c1View commit details -
adapts sarama.Logger to implement log.Logger
So that sarama log messages better follow our standards, and will be emitted as JSON when log.Logger is configured for that. Before this change, the sarama logs were printed in plain-text without any of the benefits of the platform log.Logger. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 9213107 - Browse repository at this point
Copy the full SHA 9213107View commit details -
adapts go-common's asyncevents.SaramaEventsConsumer for alerts
The existing FaultTolerantConsumer isn't used because it's retry semantics are hard-wired and aren't compatible with what care partner alerting's needs. Note: A proper implementation of AlertsEventsConsumer to consume events is yet to be written. It will follow shortly. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 2deaa47 - Browse repository at this point
Copy the full SHA 2deaa47View commit details -
allow invites to set an upload id
The upload id is necessary to ensure that only the proper device data uploads are evaluated for care partner alert conditions. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for a31dd5c - Browse repository at this point
Copy the full SHA a31dd5cView commit details -
integrates an APNs pusher into data service
If the necessary configuration isn't found, then push notifications will instead be logged. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 13dc4c6 - Browse repository at this point
Copy the full SHA 13dc4c6View commit details -
adds Evaluate methods to alerts.Config
These methods return Note objects that can be sent as push notifications. NotLooping evaluation will be handled in a later commit. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for b5141dc - Browse repository at this point
Copy the full SHA b5141dcView commit details -
adds the alerts events consumer to the data service
It uses the new asyncevents from go-common, as alerts processing requires different retry semantics than the existing solution. The Pusher interface is moved out of data/service into data/events to avoid a circular dependency. BACK-2554
Configuration menu - View commit details
-
Copy full SHA for 5053a69 - Browse repository at this point
Copy the full SHA 5053a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 986106b - Browse repository at this point
Copy the full SHA 986106bView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d57125d - Browse repository at this point
Copy the full SHA d57125dView commit details