[
https://issues.apache.org/jira/browse/BROOKLYN-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John McCabe updated BROOKLYN-279:
---------------------------------
Summary: Catalog API lets you submit invalid yaml (was: Catalog composer
lets you submit invalid yaml)
> Catalog API lets you submit invalid yaml
> ----------------------------------------
>
> Key: BROOKLYN-279
> URL: https://issues.apache.org/jira/browse/BROOKLYN-279
> Project: Brooklyn
> Issue Type: Bug
> Reporter: John McCabe
>
> Adding a catalog item that contains Parameters and invalid DSL is accepted
> and added to the catalog. When you attempt to deploy the app via the template
> wizard no parameters are displayed. The UI gives no other feedback that
> theres been a problem.
> For example, a bp container the following invalid DSL ({{rootScope}} is not
> valid):
> {code}
> docker.image.tag: $brooklyn:rootScope().config("wordpress.imageTag")
> {code}
> instead of
> {code}
> docker.image.tag: $brooklyn:scopeRoot().config("wordpress.imageTag")
> {code}
> the catalog is added without problem, but when you attempt to deploy the
> parameters do not display
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)