Skip to content

PavelSusloparov/sudoku-workshop

Repository files navigation

Sudoku workshop

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

Workshop agenda

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.

Technical Pre-requirements

  1. Install docker

  2. Install docker-compose

  3. Follow Artifactory secrets setup for RedTech Environment Setup

  4. Clone this repository

  5. In IntelijIdea. File -> New -> Module from Existing Source -> Gradle -> Choose sudoku

  6. In IntelijIdea. File -> New -> Module from Existing Source -> Gradle -> Choose sudoku-book

Services start

./run.sh

Verification

Check that all containers are running

docker ps

Sudoku service

Enter URL in your browser

http://0.0.0.0:8102/actuator/health

You should see - {"status": "UP"}

Sudoku Book service

Enter URL in your browser

http://0.0.0.0:8103/actuator/health

You should see - {"status": "UP"}

Begin Workshop

Continue here

Need help?

Check solution branch for the complete solution.

About

Kotlin/SpringBoot/Cucumber/Junit5/MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published