jsevellec / cassandra-unit

Utility tool to load Data into Cassandra to help you writing good isolated JUnit Test into your application
GNU Lesser General Public License v3.0
424 stars 0 forks source link

Cassandra-unit CQLDataLoader does not work with latest datastax #304

Open scalahub opened 4 years ago

scalahub commented 4 years ago

Currently, the latest release is incompatible with the latest Datastax version, although the master branch of this repository has the fixed version.

In release 3.11.2.0, (also on Maven central), the code refers to the package com.datastax.driver.core which is no longer present. The below snippet is from the file org/cassandraunit/CQLDataLoader.java

package org.cassandraunit;

import com.datastax.driver.core.Session;   // this line 
import org.cassandraunit.dataset.CQLDataSet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static org.cassandraunit.utils.CqlOperations.*;

/**
 * @author Marcin Szymaniuk
 * @author Jeremy Sevellec
 */
public class CQLDataLoader {
    ...

Please release the fixed version.