-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support different supervisor modes in exonum-java #1361
Support different supervisor modes in exonum-java #1361
Conversation
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.
changelog
let supervisor_service = supervisor_service(); | ||
let supervisor_mode = &config | ||
.run_config | ||
.node_config |
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.
Why don't you take node_config from above? And, possibly, move the remaining extraction code inside supervisor_service?
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.
Because node_config
from above isn't config.run_config.node_config
. It's exonum core's internal node configuration which does not have supervisor mode option. ECR-4116 created to address API inconvenience that forced this.
…-supervisor-modes # Conflicts: # exonum-java-binding/core/rust/exonum-java/src/node.rs
Overview
See: https://jira.bf.local/browse/ECR-XYZ
Definition of Done