simple java spring project based on cloud microservices:
This project is a Java SpringBoot cloud project based on microservices and dockerizable, is CRUD about products and amount of items related to each product, with OAuth authentication and defined roles, this project contains next microservices:
A project that contains simple common classes used by other projects
A project that contains the connection properties for databases, and general props related to all projects
this folder contains the compose.yml and some commands necessaries to run the project in docker containers
This service is the main server where all the microservices are registered and can communicate with each other
this service contains the logic to count all the items for each product and also connect with products-service through eureka-server
this service contains all the logic for the login, register of users and managing of roles, encryption of passwords, protection of endpoints, and a couple of things more. This project connects with user-services using eureka-server
this service contains a CRUD for products, connect with MySQL using properties in the config-server, is possible to run multiple instances of this project the port is configured to support that dynamically and because of zuul server there will be used also dynamically
project that contains simple common objects used by other projects
project that contains a CRUD for users, connect with Postgres using properties in the config-server, is possible to run multiple instances of this project the port is configured to support that dynamically and because of zuul server there will be used also dynamically
this folder just contains the jar and the SQL configuration used in this project, Zipkin allows to track the traffic in each petition saying which projects are involved, more information in https://zipkin.io/
this is the balancer all the petition must go through here, and this service will select the fast/best option for the consumption.
Other supports:
also is possible to run an instance of rabbitMq it can be downloaded or ran in Docker, this is a messaging broker, Zipkin and the services are already set up for use like producers and consumers.