-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add schema registry and migrator components #9710
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
…try-component Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
...-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/ServicesRegistryImpl.java
Outdated
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Outdated
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Show resolved
Hide resolved
...a-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/ServiceMigratorImpl.java
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Show resolved
Hide resolved
...ra-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/SchemaRegistryImpl.java
Show resolved
Hide resolved
…ation Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
@@ -50,7 +50,7 @@ public SelfNodeInfo selfNodeInfo() { | |||
@Nonnull | |||
@Override | |||
public List<NodeInfo> addressBook() { | |||
throw new UnsupportedOperationException("Address book is not supported."); | |||
return List.of(mockSelfNodeInfo()); |
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.
This method will be used when we build the state. That is why this change is in the PR
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
b59a4ff
to
cd96150
Compare
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
…try-component Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
f3d60cf
to
fa57b07
Compare
Signed-off-by: Bilyana Gospodinova <[email protected]>
Signed-off-by: Bilyana Gospodinova <[email protected]>
…try-component Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9710 +/- ##
============================================
- Coverage 92.35% 92.27% -0.09%
- Complexity 7635 7766 +131
============================================
Files 927 948 +21
Lines 32085 32437 +352
Branches 4083 4113 +30
============================================
+ Hits 29632 29930 +298
- Misses 1496 1543 +47
- Partials 957 964 +7 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
Signed-off-by: Kristiyan Selveliev <[email protected]>
Quality Gate passedIssues Measures |
Description:
This PR adds subcomponents needed for reusable services -
ServicesRegistryImpl, SchemaRegistryImpl and ServiceMigratorImpl components
This PR adds:
ServicesRegistryImpl class similar to FakeServicesRegistry in services + unit tests
SchemaRegistryImpl class similar to FakeSchemaRegistry in services + unit tests
ServiceMigratorImpl class similar to FakeServiceMigrator in services + unit tests
Related issue(s):
Fixes #9260
Notes for reviewer:
Checklist