Skip to content
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

Merged
merged 4 commits into from
Jan 15, 2020

Conversation

vitvakatu
Copy link
Contributor

Overview


See: https://jira.bf.local/browse/ECR-XYZ

Definition of Done

  • There are no TODOs left in the code
  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has Javadoc
  • Method preconditions are checked and documented in the Javadoc of the method
  • Changelog is updated if needed (in case of notable or breaking changes)
  • The continuous integration build passes

@coveralls
Copy link

coveralls commented Jan 13, 2020

Coverage Status

Coverage remained the same at 86.26% when pulling 5b35646 on vitvakatu:different-supervisor-modes into fd50659 on exonum:master.

Copy link
Contributor

@dmitry-timofeev dmitry-timofeev left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Ilya Bogdanov added 3 commits January 14, 2020 16:14
…-supervisor-modes

# Conflicts:
#	exonum-java-binding/core/rust/exonum-java/src/node.rs
@dmitry-timofeev dmitry-timofeev merged commit e39e978 into exonum:master Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants