Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ath31st/cargo_flow

Transport automation system (training microservice project)
https://github.com/ath31st/cargo_flow

docker docker-compose java keycloak oauth2 spring-cloud

Last synced: 4 days ago
JSON representation

Transport automation system (training microservice project)

Awesome Lists containing this project

README

        

# Cargo flow

## Transport automation system (training microservice project)

### Versions:

- Java: 17
- Spring Boot: 3.2.5
- Spring Cloud Netflix – Eureka: 4.1.1
- OAuth 2.0 Resource Server: 6.2.4
- Keycloak: 22.0.0
- Maven: 3.9.6
- Kafka: 3.1.4
- PostgresQL: 42.6.2
- Lombok: 1.18.32
- Flyway: 9.22.3

### Modules:

#### Discovery Service:

- Responsible for service discovery and registration.
- Implemented using Spring Cloud Netflix Eureka.

#### Gateway Service:

- Acts as an API gateway for routing requests.
- Implements routing logic based on service discovery.
- Handles user access levels based on OAuth 2.0 tokens from Keycloak.

#### Logist Service:

- Manages logistics tasks, trips, and events.
- Accessible only to users with the role LOGIST.
- Utilizes Kafka or RabbitMQ for trip event handling.
- Tracks vehicle geolocation points during trips.

#### Driver Service:

- Handles tasks related to drivers.
- Accessible only to users with the role DRIVER.
- Allows retrieval of task data for drivers and creation of new trips within tasks.
- Handles trip events and geolocation points.

#### DWH Service:

- Data Warehouse service for generating company-wide statistics.
- Accessible to users with roles LOGIST and ADMIN.
- Provides statistics on completed, canceled, and started trips since the beginning of the day, as
well as the number of tasks.
- Retrieves data via REST from the Logist Service.