From be2af64f6027c2d7ba24d5aeb67097333fa0425b Mon Sep 17 00:00:00 2001 From: Romain Thouvenin Date: Mon, 29 Apr 2024 08:29:50 +0200 Subject: [PATCH] Update the documentation about integration events --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e57f6c..32fe97c 100644 --- a/README.md +++ b/README.md @@ -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