[
https://issues.apache.org/jira/browse/BROOKLYN-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297946#comment-15297946
]
ASF GitHub Bot commented on BROOKLYN-273:
-----------------------------------------
Github user neykov commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/149#discussion_r64355530
--- Diff:
core/src/main/java/org/apache/brooklyn/core/objs/AbstractConfigurationSupportInternal.java
---
@@ -53,7 +67,61 @@
}
@Override
- public <T> Maybe<T> getNonBlocking(ConfigKey<T> key) {
+ public <T> Maybe<T> getNonBlocking(final ConfigKey<T> key) {
+ if (key instanceof StructuredConfigKey || key instanceof
SubElementConfigKey) {
+ return getNonBlockingResolvingStructuredKey(key);
--- End diff --
Could use this implementation for both cases to simplify.
> VanillaSoftwareProcess.restart() should call pre- and post-launch
> -----------------------------------------------------------------
>
> Key: BROOKLYN-273
> URL: https://issues.apache.org/jira/browse/BROOKLYN-273
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Aled Sage
>
> If calling restart() on a VanillaSoftwareProcess entity, to just restart the
> process, it will call "launch" (skipping the install + customize phases).
> I'd expect the pre-launch and post-launch commands to also be executed, but
> they are not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)