-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: configuration to use Platform SDK across all project #101
Conversation
…meoutThresholdMillis Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…ed since is not needed and is littering the logs with errors Signed-off-by: Alfredo Gutierrez <[email protected]>
…n, so providing custom properties is possible, and also, getting a test context with test config is easier. Signed-off-by: Alfredo Gutierrez <[email protected]>
…sholdMillis, all needed changes from server to tests Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…st the ConsumerConfig For now, only the config is useful but in the future we will include metrics as well Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…es that is more descriptive. Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
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. Ping me to review again when you're ready
server/src/test/java/com/hedera/block/server/BlockStreamServiceTest.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/hedera/block/server/persistence/storage/write/BlockAsDirWriter.java
Show resolved
Hide resolved
server/src/main/java/com/hedera/block/server/config/BlockNodeConfigExtension.java
Show resolved
Hide resolved
server/src/test/java/com/hedera/block/server/config/TestConfigBuilder.java
Show resolved
Hide resolved
Signed-off-by: Alfredo Gutierrez <[email protected]>
Added the `createPathIfNotExists` that is used in both the PersistenceStorageConfig and BlockAsDirWriter. Refactored needed tests. Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
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!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
===========================================
Coverage 100.00% 100.00%
- Complexity 110 114 +4
===========================================
Files 19 21 +2
Lines 414 430 +16
Branches 23 25 +2
===========================================
+ Hits 414 430 +16
|
Description:
Related issue(s):
Fixes #98
Fixes #99
Fixes #33
Notes for reviewer:
Checklist