arangodb / arangodb-spark-datasource

ArangoDB Connector for Apache Spark, using the Spark DataSource API
Apache License 2.0
14 stars 11 forks source link

[DE-790] Configuration for hostnameVerifier #38

Closed osanchez-stratio closed 3 months ago

osanchez-stratio commented 1 year ago

With the java-driver, You can set this configuration:

val arangodb = new ArangoDB.Builder()
.host("localhost", 8530)
.serializer(serializer)
.password("password")
.useSsl(true)
.sslContext(sc)
.hostnameVerifier(NoopHostnameVerifier.INSTANCE)
.build

You can use hostnameVerifier def in java-driver, but in Datasource there isn't way to change the hostnameVerifier, for example not to verify hostname

rashtao commented 1 year ago

Since version 1.5.0, which uses Java Driver version 7, this has been changed to: ArangoDB.Builder#verifyHost(boolean).

osanchez-stratio commented 1 year ago

Since version 1.5.0, which uses Java Driver version 7, this has been changed to: ArangoDB.Builder#verifyHost(boolean).

And in Datasource i can set verifyHost to false?

rashtao commented 1 year ago

This is still an enhancement proposal, it is not implemented yet.

vimal3271 commented 7 months ago

Is there any plan to implement this ?

rashtao commented 6 months ago

Yes, but delayed due to internal prioritization.