You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "John McCabe (JIRA)" <ji...@apache.org> on 2016/05/23 17:06:12 UTC
[jira] [Comment Edited] (BROOKLYN-279) Catalog API lets you submit
invalid yaml
[ https://issues.apache.org/jira/browse/BROOKLYN-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296655#comment-15296655 ]
John McCabe edited comment on BROOKLYN-279 at 5/23/16 5:05 PM:
---------------------------------------------------------------
Changing issue title following feedback from [~m4rkmckenna] that it should be rejected by the API, the UI should also highlight where the resulting error is however.
was (Author: johnmccabe):
Changing issue title following feedback from [~m4rkmckenna] that it should be rejected via the API, the UI should also highlight where the resulting error is however.
> 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)