You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2016/07/28 14:09:54 UTC
[GitHub] brooklyn-server pull request #278: rest api: entity/spec returns unquoted te...
GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/278
rest api: entity/spec returns unquoted text/x-yaml
Previously it returned json:
* it wrapped it in quotes.
* it did strange things with \n: the result rendered as \u201c\n\u201d rather than actual new-line characters (though it was more complicated than that - an angular UI did recognise the \u201c\n\u201d as a single character).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server entity-rest-api/get-spec-returns-plain-text
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/278.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #278
----
commit 15d1014789f9a4945330ff8f6acc6f5dae27f95c
Author: Aled Sage <al...@gmail.com>
Date: 2016-07-28T13:59:39Z
rest api: entity/spec returns unquoted text_plain
Previously it returned json:
* it wrapped it in quotes.
* it did strange things with \n: the result rendered as \u201c\n\u201d rather than
actual new-line characters (though it was more complicated than that
in that an angular UI did recognise the \u201c\n\u201d as a single character).
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] brooklyn-server issue #278: rest api: entity/spec returns unquoted text/x-ya...
Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-server/pull/278
Thanks @m4rkmckenna - merging now.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] brooklyn-server pull request #278: rest api: entity/spec returns unquoted te...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/brooklyn-server/pull/278
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] brooklyn-server issue #278: rest api: entity/spec returns unquoted text/x-ya...
Posted by m4rkmckenna <gi...@git.apache.org>.
Github user m4rkmckenna commented on the issue:
https://github.com/apache/brooklyn-server/pull/278
LGTM / Tested
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---