brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Corbett (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BROOKLYN-465) CLI: Cannot set config on entities
Date Wed, 05 Apr 2017 11:38:41 GMT

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

Sam Corbett updated BROOKLYN-465:
---------------------------------
    Issue Type: Bug  (was: New Feature)

> CLI: Cannot set config on entities
> ----------------------------------
>
>                 Key: BROOKLYN-465
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-465
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Sam Corbett
>            Priority: Minor
>
> I get an error from the server when trying to set config on an entity:
> {code}
> $ br application rjifivcnbe entity zi1rx7mn42 config akey set "hello"
> JsonParseException: Unrecognized token 'hello': was expecting ('true', 'false' or 'null')
>  at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@171d57a; line: 1,
column: 11]
> {code}
> Replacing "hello" with `true` or `false` sets the config key to the boolean value and
replacing it with `null` nulls the value. Per the exception I'd guess the request is malformed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message