[forge-issues] [JBoss JIRA] (FORGE-2734) Result should allow an entity POJO to be added

George Gastaldi (JIRA) issues at jboss.org
Thu Mar 2 12:17:00 EST 2017


    [ https://issues.jboss.org/browse/FORGE-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13371723#comment-13371723 ] 

George Gastaldi commented on FORGE-2734:
----------------------------------------

Attribute map could use {{org.jboss.forge.ui.RESULT_ENTITY}}. Not sure about the media type, as I believe that could be inferred from the caller Accept header

> Result should allow an entity POJO to be added
> ----------------------------------------------
>
>                 Key: FORGE-2734
>                 URL: https://issues.jboss.org/browse/FORGE-2734
>             Project: Forge
>          Issue Type: Enhancement
>            Reporter: James Strachan
>
> when using an IDE or a REST API it can be handy to have a command that returns some result object that can be a blob of data that can be parsed/used by a program rather than textual console output.
> e.g. return a blob of JSON from a REST GET/POST on a forge command.
> We have a message a String which is great for textual status messages. But it might be nice to add an optional _entity_ property which folks could access from an IDE or REST API



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the forge-issues mailing list