arina-ielchiieva commented on a change in pull request #1761: DRILL-7190:
Missing backward compatibility for REST API with DRILL-6562
URL: https://github.com/apache/drill/pull/1761#discussion_r277165192
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StorageResources.java
##########
@@ -221,6 +229,25 @@ private boolean isSupported(String format) {
.collect(Collectors.toList());
}
+ @POST
+ @Path("/storage/{name}")
+ @Consumes(MediaType.APPLICATION_JSON)
+ @Produces(MediaType.APPLICATION_JSON)
+ @Deprecated // use {@link #createOrUpdatePluginJSON} instead
Review comment:
use `@Deprecated(".....")`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services