Cassandra Data API
- Spring Boot 2.0.0
- Spring WebFlux
- Reactive Cassandra Driver
- Integration tests with Docker Compose
- Functional Style Routes
- CORS Enabled
- Dockerized
- Use of Spring Data Cassandra
use
./gradlew
instead ofgradle
if you didn't installedgradle
gradle cassandra-data-service:bootRun
# run with `docker` profile.
SPRING_PROFILES_ACTIVE=docker gradle cassandra-data-service:bootRun
# start the dependent containers first... (TODO: issue with starting delay of cassandra)
docker-compose -f docker-compose-infra.yml up cassandra
docker-compose -f docker-compose-infra.yml up kafka
# run the tests
gradle cassandra-data-service:test
gradle cassandra-data-service:build
gradle cassandra-data-service:build -x test -t
# skip test
gradle cassandra-data-service:build -x test
# build docker image
gradle cassandra-data-service:docker -x test
deploying app to Cloud
# tag and puch to cassandra-data-service
docker login
docker push