Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/1033#discussion_r44920971
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/rebind/RebindManagerImpl.java
---
@@ -92,6 +92,9 @@
public static final ConfigKey<RebindFailureMode> REBIND_FAILURE_MODE =
ConfigKeys.newConfigKey(RebindFailureMode.class,
"rebind.failureMode.rebind",
"Action to take if a failure occurs during rebind",
RebindFailureMode.FAIL_AT_END);
+ public static final ConfigKey<RebindFailureMode>
ADD_CONFIG_FAILURE_MODE =
+ ConfigKeys.newConfigKey(RebindFailureMode.class,
"rebind.failureMode.addConfig",
+ "Action to take if a failure occurs when setting a
config value. It could happen coercion of the value type to fail.",
RebindFailureMode.FAIL_AT_END);
--- End diff --
The default for isolated problems is to `.CONTINUE` which will let Brooklyn
complete the startup, but display an error message in the console and deny REST
requests. Better apply the same default here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---