scala-kata
Features
Infrastructure and tool dependencies
This application has the following infrastructure dependencies:
- Consul (Docker image)
- Consul-template (Docker image)
Developing
First of all, please remember to create your own fork!
git clone https://github.com/david-romero/scala-kata
cd scala-kata
That's all, now you are ready!!!
Testing
Note that, thanks to test-containers, you don't need any infrastructure component to run integration test on your local environment
To run Unit Tests execute:
./sbt test
To run Integration Tests execute:
./sbt it:test
Building
./sbt stage
Running
./bin/scala-kata --spring.config.location=file:application.yml
Remember that you'll need to populate properly the application.yml file with:
consul-template -consul consul.service.consul:8500 -template "./application.yml.ctmpl:./application.yml" -once