-
Notifications
You must be signed in to change notification settings - Fork 186
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
Enh: First version of the notifications service #3217
Conversation
💥 Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled... |
15896b6
to
e160615
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
Looks good. I would approve if it wasn't a draft...
Yeah, the question is what should we do about the groups topic? |
I am for merging now. Group functionality should go into refinement. |
@kobergj now? |
Description
Implemented the minimal version of the notifications service to be able to notify a user when they received a share.
Currently the message is hard coded and there is only one communication channel for email. In the future we could have templated messages which could also be formatted by the the communication channel. Also a HTTP/REST service could be added to allow other services to send messages to users.
I implemented the functionality to also send messages to groups but this doesn't work currently since we don't have an authenticated context which we need to communicate with the gateway. On solution for this would be to have a service user but maybe we could have other solutions like mTLS for service to service communication?
@micbar should we tackle this in this PR still?
Motivation and Context
oCIS needs to be able to notify users in certain situations. The notifications service provides methods to communicate to the users via various channels.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: