-
Notifications
You must be signed in to change notification settings - Fork 117
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: 13084 Split Service
into Service
and RpcService
and migrated Service
to platform-sdk
#13331
Conversation
hedera-node/hedera-app-spi/src/main/java/com/hedera/node/app/spi/HapiUtils.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app-spi/src/main/java/com/hedera/node/app/spi/HapiUtils.java
Outdated
Show resolved
Hide resolved
ff08245
to
fca5f3f
Compare
Service
into Service
and RpcService
and migrated Service
to platform-sdkService
into Service
and RpcService
and migrated Service
to platform-sdk
6621d15
to
2798835
Compare
Node: HAPI Test (Restart) Results3 tests 3 ✅ 6m 2s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Node Death Reconnect) Results3 tests 3 ✅ 7m 1s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Token) Results 20 files 20 suites 5m 52s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Crypto) Results 23 files 23 suites 12m 6s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Misc) Results 51 files 51 suites 22m 35s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Time Consuming) Results19 tests 19 ✅ 21m 35s ⏱️ Results for commit 5e4df35. ♻️ This comment has been updated with latest results. |
Node: Unit Test Results 2 318 files ±0 2 318 suites ±0 2h 41m 20s ⏱️ - 54m 38s Results for commit 5e4df35. ± Comparison against base commit 3bfe8f9. This pull request removes 3974 and adds 3731 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
...-clients/src/main/java/com/hedera/services/cli/signedstate/DumpContractStoresSubcommand.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/Hedera.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/HederaInjectionComponent.java
Outdated
Show resolved
Hide resolved
...ode/hedera-app/src/main/java/com/hedera/node/app/grpc/impl/netty/NettyGrpcServerManager.java
Show resolved
Hide resolved
...m-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/spi/SchemaRegistry.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/test/java/com/hedera/node/app/services/ServiceRegistryImplTest.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/OrderedServiceMigrator.java
Outdated
Show resolved
Hide resolved
platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/spi/HapiUtils.java
Outdated
Show resolved
Hide resolved
platform-sdk/swirlds-state-api/src/main/java/com/swirlds/state/spi/info/NodeInfo.java
Show resolved
Hide resolved
platform-sdk/swirlds-state-api/src/main/java/com/swirlds/state/spi/info/SelfNodeInfo.java
Show resolved
Hide resolved
...ds-state-api/src/main/java/com/swirlds/state/spi/worfklows/record/GenesisRecordsBuilder.java
Outdated
Show resolved
Hide resolved
… the latter where possible. Moved it and other classes to `swirlds-platform-core` Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
hedera-node/hedera-app-spi/src/main/java/com/hedera/node/app/spi/ServiceFactory.java
Show resolved
Hide resolved
@imalygin , instead of in the title |
sure, that's a good idea, will do. |
Service
into Service
and RpcService
and migrated Service
to platform-sdkService
into Service
and RpcService
and migrated Service
to platform-sdk
Service
into Service
and RpcService
and migrated Service
to platform-sdkService
into Service
and RpcService
and migrated Service
to platform-sdk
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
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.
LGTM w.r.t. smart contract service changes only - trivial necessary import
statement modifications + one file that corrected two @NotNull
annotations.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #13331 +/- ##
==============================================
+ Coverage 0 67.57% +67.57%
- Complexity 0 36387 +36387
==============================================
Files 0 3716 +3716
Lines 0 149461 +149461
Branches 0 15560 +15560
==============================================
+ Hits 0 100998 +100998
- Misses 0 44097 +44097
- Partials 0 4366 +4366 ☔ View full report in Codecov by Sentry. |
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.
LGTM for now, tyvm @imalygin ...we can look to update Services to keep application-only infrastructure needed for migration in the sharedValues
map.
Description:
Highlights of the PR:
Service
interface into two interfaces -RpcService
andService
. As the name suggests,RpcService
comes with RPC definition.Service
interface and the classes it depends on toswirlds-state-api
Related issue(s):
Fixes #13084
Notes for reviewer:
This refactoring is required to make #11771 possible.