SmartThingsOSS / ratpack-cassandra

Other
14 stars 13 forks source link

Migrations fail with SSL option #10

Closed jterhune closed 8 years ago

jterhune commented 8 years ago

Versions 0.4.0 and 0.5.0 fail on startup when truststore and keystore properties are defined. This happens because there's a transitive dependency on cassandra-migration 0.0.11, which is compiled against the 2.x cassandra driver, and SSLOptions became an interface in the 3.x driver.

There's a pull request for upgrading cassandra-migration to the 3.x driver here: https://github.com/SmartThingsOSS/cassandra-migration/pull/5

java.lang.InstantiationError: com.datastax.driver.core.SSLOptions at smartthings.cassandra.CassandraConnection.connect(CassandraConnection.java:63) at smartthings.migration.MigrationRunner.run(MigrationRunner.java:54) at smartthings.ratpack.cassandra.CassandraMigrationService.onStart(CassandraMigrationService.java:54)