Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/754
  
    Suggest we keep the changes for `PolicyConfigApi.get(...)`, making it work 
analogously to `EntityConfigApi.get(...)`. The value there can be any object, 
so it needs to be encoded as JSON.
    
    @alx Backwards compatibility is debatable. If we used to return plain 
strings as `application/json` then obviously this was broken and clients 
should've complained. This probably got covered by the libraries used to fetch 
the resource, suggesting that making it proper json will actually improve 
compatibility with existing clients.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to