cgivre commented on a change in pull request #2401:
URL: https://github.com/apache/drill/pull/2401#discussion_r788785459
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StorageResources.java
##########
@@ -180,6 +194,47 @@ public Response enablePlugin(@PathParam("name") String
name, @PathParam("val") B
}
}
+ @GET
+ @Path("/storage/{name}/update_oath2_authtoken")
+ @Produces(MediaType.TEXT_HTML)
+ public Response updateAuthToken(@PathParam("name") String name,
@QueryParam("code") String code) {
+ try {
+ if
(storage.getPlugin(name).getConfig().getClass().getSimpleName().equalsIgnoreCase("HttpStoragePluginConfig"))
{
Review comment:
Fixed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]