brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John McCabe (JIRA)" <>
Subject [jira] [Commented] (BROOKLYN-279) Catalog API lets you submit invalid yaml
Date Mon, 23 May 2016 17:05:12 GMT


John McCabe commented on BROOKLYN-279:

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

View raw message