[
https://issues.apache.org/jira/browse/BROOKLYN-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Bouron updated BROOKLYN-336:
-----------------------------------
Description:
Deploying this simple blueprint:
{code:title=Bar.java|borderStyle=solid}
location: localhost
services:
- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
name: Test
{code}
then heading to the policy tab to add a
`org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy` which shouldn't work.
The UI displays the error coming back from the API but the policy is added
anyway. See attached gif to see it the bug in action
was:
Deploying this simple blueprint:
{code:title=Bar.java|borderStyle=solid}
location: localhost
services:
- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
name: Test
{code}
then heading to the policy tab to add a
`org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy` which shouldn't work.
The UI displays the error coming back from the API but the policy is added
anyway.
> Policy added even though the API returns an error
> -------------------------------------------------
>
> Key: BROOKLYN-336
> URL: https://issues.apache.org/jira/browse/BROOKLYN-336
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Thomas Bouron
> Attachments: brooklyn-policy-bug.gif
>
>
> Deploying this simple blueprint:
> {code:title=Bar.java|borderStyle=solid}
> location: localhost
> services:
> - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
> name: Test
> {code}
> then heading to the policy tab to add a
> `org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy` which shouldn't
> work. The UI displays the error coming back from the API but the policy is
> added anyway. See attached gif to see it the bug in action
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)