Sorabh Hamirwasia created DRILL-7190:
----------------------------------------

             Summary: Missing backward compatibility for REST API with 
DRILL-6562
                 Key: DRILL-7190
                 URL: https://issues.apache.org/jira/browse/DRILL-7190
             Project: Apache Drill
          Issue Type: Bug
          Components: Web Server
    Affects Versions: 1.16.0
            Reporter: Sorabh Hamirwasia
            Assignee: Vitalii Diravka
             Fix For: 1.16.0


With DRILL-6562 I am seeing additional changes which is not supporting older 
requests URL. For example:

1) Earlier export of plugin config was done for json format by default using 
URL:  */storage/\{name}/export* and now the new URL is 
*/storage/\{name}/export/\{format}*. This means the older one is not supported 
anymore. Is it intended or should we treat the format as JSON by default if not 
provided ?

2) The POST URL to create and update plugin is changed from */storage/\{name}* 
to */storage/create_update*

3) Once a storage plugin is deleted it is not redirected to */storage* anymore, 
which it was in 1.15. Because of this line change: 
[https://github.com/apache/drill/commit/5fff1d8bff899e1af551c16f26a58b6b1d033ffb#diff-274673e64e6f54be595a8703753123b0R115]



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

Reply via email to