feat: Implement Mirror Node Blocks API support across all frameworks#80
Open
Twiineenock wants to merge 1 commit intohiero-ledger:mainfrom
Open
feat: Implement Mirror Node Blocks API support across all frameworks#80Twiineenock wants to merge 1 commit intohiero-ledger:mainfrom
Twiineenock wants to merge 1 commit intohiero-ledger:mainfrom
Conversation
This commit adds the Block data model, BlockRepository interfaces, and framework-specific implementations for Spring Boot and MicroProfile. It also includes integration tests and sample endpoint demonstrations. Signed-off-by: Twiineenock <Twiineenock@users.noreply.github.com>
18c5055 to
55b53e9
Compare
Author
|
HI @hendrikebbers , @Ndacyayisenga-droid, please have a look here. |
Contributor
|
@Twiineenock , thanks for the PR, your commits are missing gpg-sign. you can follow this Signing Docs |
Author
Thnaks @Abhishek9639 , tests passed |
This file contains hidden or 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
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.
This commit adds the Block data model, BlockRepository interfaces, and framework-specific implementations for Spring Boot and MicroProfile. It also includes integration tests and sample endpoint demonstrations.
Description:
Implement native support for the Mirror Node Blocks API across the Hiero Enterprise Java SDK to enable enterprise-grade network observation and indexing.
BlockandTimestampRangeJava Records tohiero-enterprise-baseBlockRepositoryinterface inhiero-enterprise-baseBlockRepositoryImplinhiero-enterprise-springwith auto-configurationBlockRepositoryImplinhiero-enterprise-microprofileMirrorNodeJsonConverterImplto handle block JSON mappingRelated issue(s):
Fixes #79
Notes for reviewer:
I have verified the implementation by running both the Spring Boot and MicroProfile sample applications against the Hedera Testnet. Both frameworks successfully retrieve and display live block data via the
/blocksendpoint. Integration tests cover pagination and data integrity for block queries by number and hash.I've attached screenshots from both the Spring Boot and MicroProfile environments demonstrating live block data retrieval below.
Checklist