-
Notifications
You must be signed in to change notification settings - Fork 9
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
CORE-17437: State Manager Configuration Section #1277
Conversation
Jenkins build for PR 1277 build 11 Build Successful: |
9acb330
to
b27e8c9
Compare
Related runtime-os change: corda/corda-runtime-os#4780 |
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.
just 1
...a/src/main/resources/net/corda/schema/configuration/stateManager/1.0/corda.stateManager.json
Outdated
Show resolved
Hide resolved
...n/resources/net/corda/schema/configuration/stateManager/1.0/state-manager-db-properties.json
Outdated
Show resolved
Hide resolved
data/db-schema/src/main/resources/net/corda/db/schema/state-manager/db.changelog-master.xml
Outdated
Show resolved
Hide resolved
data/config-schema/src/main/java/net/corda/schema/configuration/StateManagerConfig.java
Show resolved
Hide resolved
data/config-schema/src/main/java/net/corda/schema/configuration/StateManagerConfig.java
Outdated
Show resolved
Hide resolved
data/config-schema/src/main/java/net/corda/schema/configuration/MessagingConfig.java
Show resolved
Hide resolved
b27e8c9
to
adeb932
Compare
|
||
// Database Configuration Values | ||
public static final class Database { | ||
public static final String DB_PROPERTIES = "database"; |
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.
Yeah that's better, so when users pass config to the stateManagerFactory.create() the configs don't need to be in a "stateManager" level 👍 (i.e. user can listen for changes to "ConfigKeys.STATE_MANAGER_CONFIG" key, and on this change, pass the config at config.getConfig(ConfigKeys.STATE_MANAGER_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.
Promote State Manager configuration to its own section and remove it from under the Messaging configuration.
47d4362
to
e3dc655
Compare
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
This reverts commit edc6b36.
Promote State Manager configuration to its own section and remove it
from under the Messaging configuration.