Skip to content

up1/workshop-microservices-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices workshop

  • Develop
    • Spring Boot (order service)
    • NodeJS (inventory service)
  • Working with Docker
  • Observability
    • Distributed tracing
      • OpenTelemetry
      • Zipkin
    • Application metric
      • Prometheus
      • Grafana
  • Testing
    • API testing with Postman

Step 1 :: Order service

Step to build and run service

$cd order
$./mvnw clean package
$./mvnw spring-boot:run
$cd ..

With Docker

$docker compose build order
$docker compose up -d order
$docker compose ps
$docker compose logs --follow

Access to API specification with Swagger v2

Access to service

Create inventory service

$docker compose build inventory
$docker compose up -d inventory
$docker compose ps
$docker compose logs --follow

Access to service

Observability

Distributed Tracing with Zipkin

$docker compose up -d zipkin
$docker compose ps
$docker compose logs --follow

Open Zipkin server in url=http://localhost:9411/

Application Metric with Actuator and Prometheus

$docker compose up -d prometheus
$docker compose ps
$docker compose logs --follow

Open prometheus server

Dashboard with Grafana

$docker compose up -d grafana
$docker compose ps
$docker compose logs --follow

Open Grafana server

Working with Grafana Platform

Log aggregation with Loki

$docker compose up -d loki
$docker compose ps
$docker compose logs --follow

Dashboard with Grafana

$docker compose up -d grafana
$docker compose ps
$docker compose logs --follow

Open prometheus server

API testing with Postman

$npm install -g newman

$cd testing/api-postman
$newman run order-service.postman_collection.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published