Closed Xu-Gavin closed 8 months ago
@itsmarsss There is a failing test, let me try to resolve it before reviewing.
@itsmarsss There is a failing test, let me try to resolve it before reviewing.
Test seems to fail because theres no Cassandra database docker container running on GitHub's CI environment...
Test will not fail when docker image is running in the background with default initialization:
docker run -p 9042:9042 --rm --name cassandra -d cassandra:4.0.7
docker exec -it cassandra bash -c "cqlsh -u cassandra -p cassandra"
CREATE KEYSPACE spring_cassandra WITH replication = {'class' : 'SimpleStrategy',
'replication_factor' : 1};
Otherwise, it will fail. I will push a commit that attempts to run a cassandra service in the background on Github Actions.
Fixed failing context tests by initializing a Cassandra Service on GitHub Actions. Assigning PR to @itsmarsss for review.
Closes #13.
I added basic support with Cassandra database for the
User
model. Future models will be supported later.Testcontainers was not implemented. Integration with testcontainers is was not successful and will be addressed in issue #15. Though, I've added the dependencies for the testcontainers already in
build.gradle
.