You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/23 00:59:00 UTC

[jira] [Commented] (DRILL-8148) Add REST Endpoints to Update OAuth Tokens

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

ASF GitHub Bot commented on DRILL-8148:
---------------------------------------

cgivre opened a new pull request #2473:
URL: https://github.com/apache/drill/pull/2473


   # [DRILL-8148](https://issues.apache.org/jira/browse/DRILL-8148): Add REST Endpoints to Update OAuth Tokens
   
   ## Description
   This PR adds three REST endpoints to Drill to facilitate updating OAuth tokens for REST API calls. 
   
   ## Documentation
   The following API calls are now available for updating an HTTP Storage Plugin's OAuth tokens if OAuth is used.  These three new endpoints are `POST` requests and accept the tokens as part of the form body. 
   
   * `/storage/{plugin name}/update_access_token`
   * `/storage/{plugin name}/update_refresh_token`
   * `/storage/{plugin name}/update_oauth_tokens`
   
   These endpoints take as arguments: `access_token`, `refresh_token` or both. 
   
   ## Testing
   Added unit tests.


-- 
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: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add REST Endpoints to Update OAuth Tokens
> -----------------------------------------
>
>                 Key: DRILL-8148
>                 URL: https://issues.apache.org/jira/browse/DRILL-8148
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.20.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: Future
>
>
> See attached PR



--
This message was sent by Atlassian Jira
(v8.20.1#820001)