- It is not the final state
- Authority control structure is currently being developed
This project microservice architecture implementation trying on spring cloud ecosystem.
- Config Server
- Eureka Server
- Spring Cloud Gateway
- Spring Cloud Load Balancer
- Hystrix
- Admin Panel
- Zipkin
-
JDK 17
-
Maven
-
Rabbit MQ Server : Available in docker-compose file.
-
Zipkin Server : Available in docker-compose file. Just start the server to trace (Default Port: 9411)
-
Build Dependencies In Order Of Writing
Dependency Or Parent Description Repository coc-cloud-top-parent Pom should be exist in .m2 local folder. (mvn clean install) https://github.com/erensayar/common-components coc-cloud-parent Pom should be exist in .m2 local folder. (mvn clean install) https://github.com/erensayar/common-components coc-core Jar should be exist in .m2 local folder. (mvn clean install) https://github.com/erensayar/common-components msparent Pom should be exist in .m2 local folder. (mvn clean install) In this Repo mscore Jar should be exist in .m2 local folder. (mvn clean install) In this Repo coc-boot-parent Jar should be exist in .m2 local folder. (mvn clean install) https://github.com/erensayar/common-components coc-auth Jar should be exist in .m2 local folder. (mvn clean install) https://github.com/erensayar/common-components
In project root directory:
mvn docker:build
docker image ls
REPOSITORY | TAG | SIZE |
---|---|---|
ms-app-mis-account-service | 1.0.0 | 256MB |
ms-app-mis-account-service | latest | 256MB |
ms-app-mis-product-service | 1.0.0 | 256MB |
ms-app-mis-product-service | latest | 256MB |
ms-app-mis-notification-service | 1.0.0 | 258MB |
ms-app-mis-notification-service | latest | 258MB |
ms-app-mis-campaign-service | 1.0.0 | 258MB |
ms-app-mis-campaign-service | latest | 258MB |
ms-app-mas-hystrix-service | 1.0.0 | 219MB |
ms-app-mas-hystrix-service | latest | 219MB |
ms-app-mas-eureka-service | 1.0.0 | 219MB |
ms-app-mas-eureka-service | latest | 219MB |
ms-app-mas-admin-service | 1.0.0 | 224MB |
ms-app-mas-admin-service | latest | 224MB |
ms-app-mas-config-service | 1.0.0 | 220MB |
ms-app-mas-config-service | latest | 220MB |
docker rmi $(docker images | grep 'ms-app-')
- MS Structure (MAS)
- Feign Communication
- Query Communication
- Business (MIS)
- Dockerizing Modules
- Gateway improvement with spring cloud gateway
- Load Balance improvement with spring cloud load balancer
- Config server encryption-decryption
- Hot config update (refreshcope etc..)
- Admin server duplicate instance?
- Auth server
- Mail notification implementation
- Phone notification implementation
- Phone notification simulation
- User : jdbc:h2:mem:account-db
- Product : jdbc:h2:mem:product-db
- Notification : jdbc:h2:mem:notification-db
- Campaign : jdbc:h2:mem:campaign-db
(These are not necessary for now)
ACCOUNT
ID | NAME | PHONE | SURNAME | |
---|---|---|---|---|
1 | [email protected] | account-1-name | +905552223344 | account-1-surname |
2 | [email protected] | account-2-name | +905552223344 | account-2-surname |
3 | [email protected] | account-3-name | +905552223344 | account-3-surname |
4 | [email protected] | account-4-name | +905552223344 | account-4-surname |
5 | [email protected] | account-5-name | +905552223344 | account-5-surname |
Product
ID | DESCRIPTION | NAME |
---|---|---|
1 | Product-1-Description | Product-1 |
2 | Product-2-Description | Product-2 |
3 | Product-3-Description | Product-3 |
4 | Product-4-Description | Product-4 |
5 | Product-5-Description | Product-5 |
Eureka
Admin Server
Zipkin
- spring cloud microservice example
- microservice example
- api gateway example
- spring cloud gateway example
- load balance example
- spring cloud load balancer example
- config server example
- eureka server example
- admin server example
- zipkin example