You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Svetoslav Neykov (JIRA)" <ji...@apache.org> on 2016/11/21 11:06:59 UTC
[jira] [Commented] (BROOKLYN-125) attributeWhenReady blocks entity
stop
[ https://issues.apache.org/jira/browse/BROOKLYN-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683223#comment-15683223 ]
Svetoslav Neykov commented on BROOKLYN-125:
-------------------------------------------
Will time out after one minute on stop if value not available.
> attributeWhenReady blocks entity stop
> -------------------------------------
>
> Key: BROOKLYN-125
> URL: https://issues.apache.org/jira/browse/BROOKLYN-125
> Project: Brooklyn
> Issue Type: Bug
> Reporter: Svetoslav Neykov
>
> Using attributeWhenReady in shell.env blocks stop. A sample blueprint:
> {code}
> services:
> - type: <slow entity, i.e. brooklyn.entity.webapp.tomcat.TomcatServer>
> brooklyn.config:
> shell.env:
> var: $brooklyn:component("fast").attributeWhenReady("host.address")
> - type: brooklyn.entity.machine.MachineEntity
> id: fast
> {code}
> The "fast" entity is quick to disappear, so attributeWhenReady will block indefinetly when setting up the environment for the stop calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)