Skip to content
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

javadsl for CassandraProjection #84

Merged
merged 1 commit into from
May 7, 2020
Merged

javadsl for CassandraProjection #84

merged 1 commit into from
May 7, 2020

Conversation

patriknw
Copy link
Member

Couldn't write any tests because we need javadsl of the testkit first, but I have prepared for the junit testing. #83

References #21

Copy link
Member

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@@ -49,6 +49,7 @@ import akka.stream.alpakka.cassandra.scaladsl.CassandraSession
Instant.now(clock))
}

// FIXME maybe we need to make this public for user's tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we could do on initialization or lazily (or try to do) if the keyspace and table DNE?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should not be automatic, but we probably need to expose it for test

@patriknw
Copy link
Member Author

patriknw commented May 6, 2020

I have added CassandraProjectionTest with javadsl.ProjectionTestKit b9ebe36 so this is ready for final review.

* CassandraProjectionTest with javadsl.ProjectionTestKit
Copy link
Member

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seglo seglo merged commit db50508 into master May 7, 2020
@octonato octonato mentioned this pull request May 7, 2020
5 tasks
@patriknw patriknw deleted the wip-21-javadsl-patriknw branch May 8, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants