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

Larry McCay commented on KNOX-817:
----------------------------------

Absolutely, you know what?
We are going to need a way to programmatically test this as well.
For our Apache releases, we largely use our clientDSL which is based on groovy.

Let me point you to the one for hive as it requires a driver and the like as 
well.

https://github.com/apache/knox/blob/master/gateway-release/home/samples/hive/groovy/jdbc/sandbox/HiveJDBCSample.groovy

We would need to do something similar to that.
It would help provide a blog on how to use Phoenix through Knox 
programmatically as well as with sqlline.


> Gateway service defintion for Avatica
> -------------------------------------
>
>                 Key: KNOX-817
>                 URL: https://issues.apache.org/jira/browse/KNOX-817
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 0.11.0
>
>         Attachments: KNOX-817.001.patch
>
>
> Apache Avatica, an Apache Calcite sub-project, is an HTTP-based JDBC server 
> and corresponding JDBC driver (which uses that server). It is meant to act as 
> a proxy to some database. Avatica is presently used by a number of projects, 
> Apache Phoenix and Apache Drill to name two prominent ones, and has a number 
> of community-developed drivers in languages other than Java.
> As far as authentication goes, Avatica only provides authentication based on 
> the authentication capabilities of the database. Knox is a natural fit for 
> Avatica, specifically the centralized authentication, SSL support, and 
> auditing are all enticing features.
> With the help of [~lmccay] (and 
> https://github.com/moresandeep/knox-dev-docker), I got some service files 
> working very quickly. Would be nice to contribute these back to enable 
> Phoenix, Drill and others to use Knox out of the box.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to