Skip to content

Commit 1497ead

Browse files
authored
Merge pull request #27 from meysamhadeli/refactor/refactor-rabbitmq
Refactor/refactor rabbitmq
2 parents 3fd3a46 + b41268b commit 1497ead

File tree

24 files changed

+14401
-13340
lines changed

24 files changed

+14401
-13340
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ High-level plan is represented in the table
7070
| Feature | Status |
7171
|-------------------| -------------- |
7272
| API Gateway | Completed ✔️ |
73-
| Identity Service | Completed ✔️ |
73+
| Keycloak Service | Completed ✔️ |
7474
| Flight Service | Completed ✔️ |
7575
| Passenger Service | Completed ✔️ |
7676
| Booking Service | Completed ✔️ |
@@ -102,7 +102,7 @@ High-level plan is represented in the table
102102

103103
## The Domain And Bounded Context - Service Boundary
104104

105-
- `Identity Service`: The Keycloak Service is a identity provider for the authentication and authorization of users using [Keycloak](https://github.com/keycloak/keycloak). This service is responsible for creating new users and their corresponding roles permissions and handeling authentication and authorization with OpenID-Connect and OAuth2.
105+
- `Keycloak Service`: The Keycloak Service is a identity provider for the authentication and authorization of users using [Keycloak](https://github.com/keycloak/keycloak). This service is responsible for creating new users and their corresponding roles permissions and handeling authentication and authorization with OpenID-Connect and OAuth2.
106106

107107
- `Flight Service`: The Flight Service is a bounded context `CRUD` service to handle flight related operations.
108108

@@ -118,7 +118,7 @@ In this project I used a mix of [clean architecture](https://jasontaylor.dev/cle
118118

119119
I used [yarp reverse proxy](https://microsoft.github.io/reverse-proxy/articles/index.html) to route synchronous and asynchronous requests to the corresponding microservice. Each microservice has its dependencies such as databases, files etc. Each microservice is decoupled from other microservices and developed and deployed separately. Microservices talk to each other with Rest or gRPC for synchronous calls and use RabbitMq or Kafka for asynchronous calls.
120120

121-
We have a separate microservice ([IdentityServer](https://github.com/DuendeSoftware/IdentityServer)) for authentication and authorization of each request. Once signed-in users are issued a JWT token. This token is used by other microservices to validate the user, read claims and allow access to authorized/role specific endpoints.
121+
We have a separate microservice [Keycloak Service](https://github.com/keycloak/keycloak) for authentication and authorization of each request. Once signed-in users are issued a JWT token. This token is used by other microservices to validate the user, read claims and allow access to authorized/role specific endpoints.
122122

123123
I used [RabbitMQ](https://github.com/rabbitmq) as my MessageBroker for async communication between microservices using the eventual consistency mechanism. Each microservice uses [MassTransit](https://github.com/MassTransit/MassTransit) to interface with [RabbitMQ](https://github.com/rabbitmq) providing, messaging, availability, reliability, etc.
124124

0 commit comments

Comments
 (0)