-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cassandra module #776
Add Cassandra module #776
Conversation
…tCluster() method, remove excess exception usage
Implement Cassandra support
return getCluster(this); | ||
} | ||
|
||
public static Cluster getCluster(ContainerState containerState) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this method need to be public?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because the argument is ContainerState
and not GenericContainer
@Override | ||
protected Session createNewConnection() { | ||
try { | ||
return CassandraContainer.getCluster(container) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as above, why not calling getCluster()
on the container?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see the answer :)
LGTM apart from this minor questions. |
Finally merged :D Thanks @AnkBurov for your contribution! |
Nice! Thanks. |
Superseeds #525 by @AnkBurov