-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
care partner alerts #715
Open
ewollesen
wants to merge
54
commits into
master
Choose a base branch
from
eric-cpa-alerts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
care partner alerts #715
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
5396aec
adds List and Get methods to alerts client
ewollesen feba9d8
lift Repeat out of the base alert config
ewollesen 8dc7421
adds activity tracking to alert configurations
ewollesen 4a92a30
adds auth endpoint to retrieve a user's device tokens
ewollesen 0ce49c1
adds the ability to retrieve device tokens to the auth client
ewollesen 8915bf3
remove unused device tokens repo from data
ewollesen b411501
adds a pusher client for sending APNs push notifications
ewollesen ac0a3a9
adapts sarama.Logger to implement log.Logger
ewollesen 3207677
adapts go-common's asyncevents.SaramaEventsConsumer for alerts
ewollesen 062e365
allow invites to set an upload id
ewollesen ef03a86
integrates an APNs pusher into data service
ewollesen 2e8ee0e
adds Evaluate methods to alerts.Config
ewollesen 7b512db
adds the alerts events consumer to the data service
ewollesen 3582438
remove some debugging logs
ewollesen bbe380e
small fixes from code review
ewollesen fb6208c
rename Note => Notification
ewollesen c48da7e
one mock of DeviceTokenRepository is enough
ewollesen 8b22dd4
add a topic cascading retry mechanism for care partner alerts
ewollesen 68d30eb
modifies DelayingConsumer to use a message header instead of a delay
ewollesen d6e0e2c
just a little more explanation of cascading consumer
ewollesen 4f8bfbf
don't read topic and consumer group id from runtime configuration
ewollesen 2b0b8f5
there's no longer a need to inject server session tokens
ewollesen f1653b0
removes out-of-date tests
ewollesen bec3b5c
improve test coverage
ewollesen d5955b7
add data set id to alerts Evaluation, improve test coverage
ewollesen 099a7ef
implement no communication alerts
ewollesen 3f2bf06
evaluate not looping conditions part 1
ewollesen e105d0b
re-working to handle alert resolution and sent tracking
ewollesen 6323462
reduce kafka topics for care partner alerts outside of production
ewollesen 80d09a9
bump go-common to get kafka CDC updates for CPA
ewollesen ca1dd3f
rename nontypesglucose -> dataBloodGlucose
ewollesen a802f02
renames Recorder & UsersWithoutCommunications
ewollesen 1ebe778
pass a log.Logger to EvaluateNoCommunication
ewollesen 10883b4
remove un-needed comment
ewollesen 5494b1d
move care partner task definition to alerts package
ewollesen 215ffeb
make GetRunnerDeadline() use a multiple of GetRunnerDurationMaximum()
ewollesen 597869a
replace magic number with named constant
ewollesen 58745b7
adds environment-based config for alerts retry delays
ewollesen 503eeea
modify task service to allow tasks to repeat ASAP
ewollesen e8daea8
the alerts task's GetRunnerTimeout should be a multiple of its maximu…
ewollesen 83cc656
rename API endpoint /v1/users/overdue_communications => /v1/overdue_c…
ewollesen fab9ceb
remove unused config struct
ewollesen de0015b
validate overdue communication minimum value
ewollesen e74e810
assume no alerts retry topics by default
ewollesen 271772c
fix a receiver name to match others defined on the struct
ewollesen 18d97b8
merge alertsDataRepo into DataRepository
ewollesen 687c453
rename method receiver
ewollesen 93a978a
consolidate care partner alerts pusher configs
ewollesen 44fecf7
mark skipped activity updates
ewollesen ea8740a
prefix kafka consumer group ids
ewollesen 452934e
add logging when an alerts event can't be consumed
ewollesen b33531a
deserialize CPA kafka deviceData messages into a types.Blood
ewollesen 4aabbaa
add a context logger
ewollesen e1394ad
improved logging of marked messages
ewollesen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darin upstreamed some changes that remove the necessity of a separate token provider.