-
Notifications
You must be signed in to change notification settings - Fork 27
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 #4780
CORE-17437: State Manager Configuration Section #4780
Conversation
0c1b4df
to
3a630c9
Compare
Jenkins build for PR 4780 build 19 Build Successful: |
892835a
to
55c4c1c
Compare
Related api change: corda/corda-api#1277 |
...cation/application-db-setup/src/main/kotlin/net/corda/application/dbsetup/PostgresDbSetup.kt
Outdated
Show resolved
Hide resolved
...ion/configuration-merger/src/main/kotlin/net/corda/libs/configuration/merger/ConfigMerger.kt
Show resolved
Hide resolved
...n/src/main/kotlin/net/corda/libs/configuration/validation/impl/ConfigurationValidatorImpl.kt
Show resolved
Hide resolved
.../src/test/kotlin/net/corda/applications/workers/workercommon/internal/BootstrapConfigTest.kt
Show resolved
Hide resolved
1d58468
to
658d7c6
Compare
Promote State Manager configuration to its own section and remove it from under the Messaging configuration.
bb8cb67
to
78d7fa8
Compare
@@ -40,17 +40,14 @@ class FlowMaintenanceImpl @Activate constructor( | |||
private var stateManager: StateManager? = null | |||
|
|||
override fun onConfigChange(config: Map<String, SmartConfig>) { | |||
// TODO - fix config key (CORE-17437). | |||
if(config.containsKey(ConfigKeys.MESSAGING_CONFIG)) { | |||
if (config.containsKey(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.
I don't think this is correct as this assumes that the messaging config is always already there when the state manager config arrives.
I think they need to be treated separate.
15779ce
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
Promote State Manager configuration to its own section and remove it
from under the Messaging configuration.