[
https://issues.apache.org/jira/browse/DRILL-7562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035460#comment-17035460
]
ASF GitHub Bot commented on DRILL-7562:
---------------------------------------
ihuzenko commented on issue #1972: DRILL-7562: Support HTTP Basic
authentication for REST API calls
URL: https://github.com/apache/drill/pull/1972#issuecomment-585267303
Hello @dobesv , it looks like there is no well-developed framework for REST
tests, but I think for this purpose you can extend _**RestClientFixture**_
class and try using it in your test.
----------------------------------------------------------------
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]
> Support HTTP Basic authentication
> ---------------------------------
>
> Key: DRILL-7562
> URL: https://issues.apache.org/jira/browse/DRILL-7562
> Project: Apache Drill
> Issue Type: Improvement
> Components: Web Server
> Affects Versions: 1.17.0
> Reporter: Dobes Vandermeer
> Priority: Major
>
> Current it appears that using the REST API requires you to login and get a
> session cookie. This is not ideal for use cases like "redash" where it just
> wants to operate mainly as a stateless client.
> Ideally credentials could simply be provided along with the request.
> Using HTTP Basic authentication would be an OK way to achieve that.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)