brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetoslav Neykov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BROOKLYN-125) attributeWhenReady blocks entity stop
Date Thu, 22 Jan 2015 11:27:34 GMT

     [ https://issues.apache.org/jira/browse/BROOKLYN-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Svetoslav Neykov updated BROOKLYN-125:
--------------------------------------
    Description: 
Using attributeWhenReady in shell.env blocks stop. A sample blueprint:

{code:yaml}
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.

  was:
Using attributeWhenReady in shell.env blocks stop. A sample blueprint:

```
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
```

The "fast" entity is quick to disappear, so attributeWhenReady will block indefinetly when
setting up the environment for the stop calls.


> 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:yaml}
> 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)

Mime
View raw message