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

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

I implemented functionality introducing backward compatibility layers for 
versions 7.0 and 6.1 of REST API. I think that supporting  versions 7.0 and 6.1 
should be sufficient for release 7.1.0. The support for previous versions of 
REST API (6.0, 3.0, etc) could be added in following Qpid versions (even into 
bugfix versions for 7.1.x) if it would be needed.

> [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