-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: Store log entries #1245
feat: Store log entries #1245
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1245 +/- ##
==========================================
- Coverage 87.92% 87.92% -0.01%
==========================================
Files 171 173 +2
Lines 17290 17364 +74
==========================================
+ Hits 15203 15267 +64
- Misses 1329 1337 +8
- Partials 758 760 +2
Continue to review full report at Codecov.
|
2528c78
to
58308ae
Compare
b6d4576
to
1b5263b
Compare
return nil, fmt.Errorf("failed to open log entry store: %w", err) | ||
} | ||
|
||
return &Store{ |
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.
Do you need to configure the index tags?
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.
I do if I need to retrieve specific entry later (e.g. log 'A' + entry '1'). I am not 100% sure that I need this use case later on but it seems reasonable to be able to retrieve it. I can remove it later on if I don't need. I have to think about all the queries that we may need from log entries later on.
Store log entries. Closes trustbloc#1240 Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
Store log entries.
Closes #1240
Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com