Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update assertj and removed cassandra driver dependency
Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com>
- Loading branch information
1 parent
2c27755
commit dba2a50
Showing
11 changed files
with
111 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
modules/yugabytedb/src/main/java/org/testcontainers/containers/YCQLSessionDelegate.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...yugabytedb/src/main/java/org/testcontainers/containers/delegate/AbstractYCQLDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.testcontainers.containers.delegate; | ||
|
||
import org.testcontainers.delegate.DatabaseDelegate; | ||
|
||
/** | ||
* An abstract delegate do-nothing class | ||
* | ||
* @author srinivasa-vasu | ||
*/ | ||
public abstract class AbstractYCQLDelegate implements DatabaseDelegate { | ||
|
||
@Override | ||
public void execute(String statement, String scriptPath, int lineNumber, boolean continueOnError, | ||
boolean ignoreFailedDrops) { | ||
// do nothing | ||
} | ||
|
||
@Override | ||
public void close() { | ||
// do nothing | ||
} | ||
|
||
} |
44 changes: 26 additions & 18 deletions
44
...gabytedb/src/main/java/org/testcontainers/containers/delegate/YugabyteDBYCQLDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CREATE TABLE bar( | ||
foo text primary key | ||
CREATE TABLE dsql( | ||
greet text primary key | ||
); | ||
|
||
INSERT INTO bar (foo) VALUES ('hello world'); | ||
INSERT INTO dsql (greet) VALUES ('Hello DSQL'); |