[
https://issues.apache.org/jira/browse/PHOENIX-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542076#comment-16542076
]
Josh Elser commented on PHOENIX-4750:
-------------------------------------
{code:java}
+ public static final String QUERY_SERVER_CUSTOMIZERS_ENABLED =
"phoenix.queryserver.customizers.enabled";{code}
Let's get a companion to this over in QueryServicesOptions.java (the default
value)
Looks straightforward otherwise (nice and simple due to your nice work in
Avatica!). Could you write an IT with a contrived ServerCustomizer that you
could verify? Maybe enable HTTP Basic auth, only for a given user? All of the
options defined over at
[https://calcite.apache.org/avatica/docs/client_reference.html] should work
directly with the PQS client URL (e.g.
{{jdbc:phoenix:thin:url=http://localhost:8765;authentication=BASIC;avatica_user=foo;avatica_password=bar}})
> Resolve server customizers and provide them to Avatica
> ------------------------------------------------------
>
> Key: PHOENIX-4750
> URL: https://issues.apache.org/jira/browse/PHOENIX-4750
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Alex Araujo
> Assignee: Alex Araujo
> Priority: Major
> Fix For: 4.15.0
>
> Attachments: PHOENIX-4750.patch
>
>
> CALCITE-2284 allows finer grained customization of the underlying Avatica
> HttpServer.
> Resolve server customizers on the PQS classpath and provide them to the
> HttpServer builder.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)