[ 
https://issues.apache.org/jira/browse/QPID-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726783#comment-16726783
 ] 

Alex Rudyy commented on QPID-6948:
----------------------------------

A defect was detected with invocation of operations having void return using 
REST management. Due to a defect an invocation of operation results in empty 
response body whilst before the json response 'null' was returned to the 
caller. The defect breaks REST API and makes it incompatible with previous 
version of REST API.

> [Broker-J] Introduce REST API compatibility layer
> -------------------------------------------------
>
>                 Key: QPID-6948
>                 URL: https://issues.apache.org/jira/browse/QPID-6948
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-7.1.0
>
>
> Make the REST API backwardly compatibility with model as used by 0.32.
> In general the compatibility layer should:
> For GET:
> * attributes that are removed should be simulated (e.g. defaultVirtualHost)
> * new attributes/new types don't need to be hidden
> For POST/PUT:
> * on creation, new mandatory attributes should be given sensible defaults
> * removed operations should be supported perhaps by rewriting the request in 
> terms of new operations.
> When the model changes structurally, the compatibility layer should present 
> the old model. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to