Skip to content

colinbut/microservices-online-webshop

Repository files navigation

Microservices Online Webshop

This is an example microservices application in Java that is used for demo purposes.

Customer Service

Spring Boot Application

  • Java 11

User Service

Spring Application

  • Java 8
  • Spring 4.16 (XML Configuration)
  • H2 Embedded Database
  • Spring JDBC's JdbcTemplate
  • Custom DAOs

Registration Service

Spring Boot Application

  • Java 11

Sends tomcat access logs as JSON to stdout. Also ships app logs to stdout as JSON.

Spring Boot Admin

Login UI

Since it uses the spring security module the default username & password is the spring security default username & password which is:

username: user password:

The username & password can be configured via the spring.security.user.name and the spring.security.user.password properties respectively.

spring-boot-admin

spring-boot-admin-dashboard

Can inspect the details:

spring-boot-admin-details

Looking at Threads:

spring-boot-admin-thread

Deployment

Helm

helm install --name microservices-online-webshop --values=./deployments/helm/dev-values.yml

K8 Manifests

e.g. to deploy a single particular microservice:

kubectl apply -f ./deployments/k8-manifests/registration-service-deployment.yml
kubectl apply -f ./deployments/k8-manifests/registration-service-svc.yml

or to deploy all microservices:

kubectl apply -f ./deployments/k8-manifests/all.yml

Author

Colin But.

About

A microservices example - online webshop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published