Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3, 0.4, 0.5
Description
The following properties are defined in gora.properties
gora.cassandrastore.servers=host:port
gora.cassandrastore.username=username
gora.cassandrastore.password=password
Initialization method in CassandraClient.java only takes the host name, but credentials are not passed to the constructor for CassandraHostConfigurator.
public void initialize(Class<K> keyClass, Class<T> persistentClass) throws Exception {
....
this.cluster = HFactory.getOrCreateCluster(this.cassandraMapping.getClusterName(),
new CassandraHostConfigurator(this.cassandraMapping.getHostName()));
....
}