solomkinmv / glossary

Simple service to learn new English words
GNU General Public License v3.0
0 stars 1 forks source link
docker gradle intellij java-8 jwt restful-api spring spring-boot

Build Status codecov

glossary

Set up dev environment

  1. Install Lombok plugin for Intellij IDEA
  2. Allow annotation processing (Intellij should ask you to allow this)
  3. Configure additional javac parameter -params
  4. Run Application class with active dev profile

Microservices Flow

Run docker-compose (deprecated since 22 September, 2018, can't support to many deployment configurations)

docker-compose up

Deploy Kubernetes

  1. Provide necessary secrets. Find out more information in services README files.
  2. kubectl apply -f deployment/kuber/

Monitoring

Zipkin

Open request tracing by visiting http://localhost:9411/zipkin/

Hystrix dashboard

Visit dashboard: http://localhost:9001/hystrix.

Use turbine stream to open dashboard: http://localhost:9001/turbine.stream.`

Monolith Legacy Flow

Docker

Build container

./gradlew web:buildDocker

Run container

docker run -e "SPRING_PROFILES_ACTIVE=dev" -p 8080:8080 -t solomkinmv/glossary