-
Notifications
You must be signed in to change notification settings - Fork 187
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
Clientlog Service #7217
Clientlog Service #7217
Conversation
|
0b3dc4d
to
1ba5acb
Compare
e672635
to
da884cb
Compare
// ClientNotification is the event the clientlog service is sending to the client | ||
type ClientNotification struct { | ||
Type string | ||
ItemID string | ||
} |
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.
@felix-schwarz I was told you already thought about sse
s and how they should look like. Unfortunately nobody could tell me where you have written them down. This is what we have so far for client notifications. It's very basic but we can iterate over it.
Any suggestions/remarks/comments from your side?
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
7e8b032
to
6df7f72
Compare
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.
nothing crucial, up to you
testing... not sure, not much business logic involved
@@ -0,0 +1,3 @@ | |||
package service_test | |||
|
|||
// TODO: TEST! |
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.
... ;)
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.
Not much business logic. Mocking services would be a nightmare. Removed the _test.go
files
Signed-off-by: jkoberg <jkoberg@owncloud.com>
a4fe445
to
54e5eb0
Compare
Kudos, SonarCloud Quality Gate passed! |
Introduces the
clientlog
service that send machine readable notifications to clients