Skip to content

Commit

Permalink
remove dse-driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Nov 16, 2020
1 parent 25ef1c6 commit dfd4246
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions modules/alia/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
[com.datastax.cassandra/cassandra-driver-core "3.6.0"
:classifier "shaded"
:exclusions [io.netty/*]]
[com.datastax.cassandra/dse-driver "1.1.2"
:exclusions [com.datastax.cassandra/cassandra-driver-core]]
[org.hdrhistogram/HdrHistogram "2.1.9"]]
:jar-exclusions [#"log4j.properties"]
:codox {:source-uri "https://github.com/mpenet/alia/blob/master/{filepath}#L{line}"
Expand Down
3 changes: 0 additions & 3 deletions modules/alia/src/qbits/alia.clj
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@
Overriding default cipher suites is supported via `:cipher-suites`,
which accepts a sequence of Strings.
* `:kerberos?` : activate Kerberos via DseAuthProvider, see
http://www.datastax.com/dev/blog/accessing-secure-dse-clusters-with-cql-native-protocol
* `:pooling-options` : The pooling options used by this builder.
Options related to connection pooling.
Expand Down
8 changes: 0 additions & 8 deletions modules/alia/src/qbits/alia/cluster_options.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
ReconnectionPolicy
RetryPolicy
SpeculativeExecutionPolicy)
(com.datastax.driver.dse.auth
DseGSSAPIAuthProvider)
(javax.net.ssl
TrustManagerFactory
KeyManagerFactory
Expand Down Expand Up @@ -171,12 +169,6 @@
[_ ^Cluster$Builder builder auth-provider]
(.withAuthProvider builder auth-provider))

(defmethod set-cluster-option! :kerberos?
[_ ^Cluster$Builder builder kerberos?]
(when kerberos?
(.withAuthProvider builder (DseGSSAPIAuthProvider.)))
builder)

(defmethod set-cluster-option! :compression
[_ ^Cluster$Builder builder option]
(.withCompression builder (enum/compression option)))
Expand Down

0 comments on commit dfd4246

Please sign in to comment.