-
Notifications
You must be signed in to change notification settings - Fork 672
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
MG-1965 - Process Event Logs #2057
Merged
Merged
Conversation
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
ianmuchyri
requested changes
Jan 14, 2024
rodneyosodo
force-pushed
the
events-svc
branch
from
January 15, 2024 10:42
4282f24
to
ed03818
Compare
ianmuchyri
requested changes
Jan 15, 2024
10 tasks
rodneyosodo
force-pushed
the
events-svc
branch
3 times, most recently
from
February 12, 2024 20:46
b877d43
to
26ef76a
Compare
rodneyosodo
force-pushed
the
events-svc
branch
6 times, most recently
from
February 26, 2024 16:54
ec76941
to
35c5eb1
Compare
rodneyosodo
force-pushed
the
events-svc
branch
2 times, most recently
from
March 8, 2024 07:59
449f7ac
to
a817162
Compare
rodneyosodo
force-pushed
the
events-svc
branch
6 times, most recently
from
March 18, 2024 09:02
74d1aa5
to
c993b35
Compare
rodneyosodo
force-pushed
the
events-svc
branch
3 times, most recently
from
March 22, 2024 15:36
7c42d98
to
3ac623d
Compare
rodneyosodo
force-pushed
the
events-svc
branch
5 times, most recently
from
April 4, 2024 09:04
3283210
to
1cab6c0
Compare
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
- Added attributes and metadata as seperate values of activity. Metadata is normal metadata for an entity while attributes are the other entities from the event for example id, updated_at e.t.c - add entityType which can either be empty or user, group, thing or channel - add query method which generates SQL query depending on the entity type for example is the entity is user we retrieve entities that have id as the entity id and have operation that is prefixed with user. OR events that have user_id as an attribute correcsponding to that entity - update emission and consumption of events. Emit native types for example string slice for tags rather than formating it and also metadata as it is rather than marshalling it first into bytes This contains breaking changes on how events are consumed Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
A normal user can be able to list invitations but they will get only the operation and time it occurred unless you are the platform admin where you can view anything Signed-off-by: Rodney Osodo <[email protected]> Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
…e, events and middleware package in journal service Signed-off-by: Rodney Osodo <[email protected]>
arvindh123
previously approved these changes
Jun 27, 2024
dborovcanin
requested changes
Jun 27, 2024
Move ID generation from database to service layer Signed-off-by: Rodney Osodo <[email protected]>
dborovcanin
approved these changes
Jun 27, 2024
Closed
andychao217
pushed a commit
to andychao217/magistrala
that referenced
this pull request
Sep 23, 2024
MG-2142 - Consume Things connect/disconnect event in Bootstrap (absmach#2192) NOISSUE - add CreatedAt and UpdatedAt fields for mgclients.Client (absmach#2306) NOISSUE - Fix failed log message (absmach#2307) MF-2299 - Update influxdb2 volumes path (absmach#2300) NOISSUE - Remove redundant relation check (absmach#2197) NOISSUE - Add domain events for Auth service (absmach#2313) NOISSUE - Update CI tools (absmach#2314) MG-888 - Update consumers SDK tests (absmach#2271) MG-888 - Add bootstrap SDK tests (absmach#2261) MG-2026 - Fix JSON page response key from groups to channels (absmach#2298) MG-1965 - Process Event Logs (absmach#2057) MG-1529 - User Removal (absmach#2122)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What type of PR is this?
This is a feature PR because it adds eventlogs service to store history of events
What does this do?
Adds event logs service
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Yes, I have included tests for my changes.
Did you document any new/modified feature?
Yes, I have updated the documentation for the new feature.
Notes