https://github.com/Romanow/store-service
Example for demonstrate microservices communication and observability
https://github.com/Romanow/store-service
elk-stack grafana kubernetes spring-boot spring-cloud
Last synced: about 1 year ago
JSON representation
Example for demonstrate microservices communication and observability
- Host: GitHub
- URL: https://github.com/Romanow/store-service
- Owner: Romanow
- License: mit
- Created: 2020-10-17T23:32:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T10:54:03.000Z (almost 2 years ago)
- Last Synced: 2024-09-14T22:25:05.011Z (almost 2 years ago)
- Topics: elk-stack, grafana, kubernetes, spring-boot, spring-cloud
- Language: Kotlin
- Homepage: https://romanow.github.io/micro-services-v2/
- Size: 776 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/Romanow/store-service/actions/workflows/build.yml)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/Romanow/store-service/releases/latest)
[](https://hub.docker.com/r/romanowalex/store-service)
[](https://github.com/Romanow/store-service/blob/master/LICENSE)
# Store Service
GitHub: [romanow/store-service](https://github.com/Romanow/store-service).
## Состав
* [Store Service](store-service/README.md)
* [Order Service](order-service/README.md)
* [Warehouse Service](warehouse-service/README.md)
* [Warranty Service](warranty-service/README.md)
## Взаимодействие сервисов
```mermaid
graph TD
A[Store Service]--> B[Order Service]
A[Store Service] --> C[Warehouse Service]
A[Store Service] --> D[Warranty Service]
B[OrderService] --> D[Warranty Service]
B[OrderService] --> C[Warehouse Service]
C[Warehouse Service] --> D[Warranty Service]
```
## Сборка и запуск
Используем [docker-compose.yml](docker-compose.yml):
```shell
# build services
$ ./gradlew clean build
# build docker images
$ docker compose build
# run images
$ docker compose \
-f docker-compose.yml \
-f docker-compose.tracing.yml \
-f docker-compose.logging.yml \
-f docker-compose.monitoring.yml \
up -d --wait
```