The repo is an example of integration between 2 applications with Rest API JSON. Integration includes best practices, such as:
- Contract testing with Cucumber and JUnit
- Component testing with WireMock, Cucumber and JUnit
- Unit testing with Mockito and JUnit
- Unit tests code coverage with Jacoco
- API documentation with OpenAPI specification
We provide digital entertainment services for the global market. Our first product is Sudoku Book. More about sudoku here
Our first feature is to create automatic Sudoku Book solver to help people be better at the game.
-
Install docker
-
Install docker-compose
-
Follow Artifactory secrets setup for RedTech Environment Setup
-
Clone this repository
-
In IntelijIdea. File -> New -> Module from Existing Source -> Gradle -> Choose sudoku
-
In IntelijIdea. File -> New -> Module from Existing Source -> Gradle -> Choose sudoku-book
./run.sh
Check that all containers are running
docker ps
Enter URL in your browser
http://0.0.0.0:8102/actuator/health
You should see - {"status": "UP"}
Enter URL in your browser
http://0.0.0.0:8103/actuator/health
You should see - {"status": "UP"}
Check solution
branch for the complete solution.