Update the documentation about integration events

This commit is contained in:
Romain Thouvenin 2024-04-29 08:29:50 +02:00
parent 9fb7ef2eac
commit be2af64f60
1 changed files with 10 additions and 1 deletions

View File

@ -234,9 +234,18 @@ The app exposes the following [gRPC](https://grpc.io/) services :
## Messages
### Handled
The service listens to these RabbitMQ messages:
- **user.deleted** (to delete the associated ads)
### Emitted
As mentionned earlier, RabbitMQ messages are sent after these events :
- **Create** (message : the created ad informations)
- **ad.created** (message: the created ad informations)
- **ad.deleted** (message: the id of the deleted ad)
## Tests / ESLint / Prettier