Mise à jour d’utilisateur

Sync (depuis 2020)

sequenceDiagram participant U as UI participant A as API participant K as Kafka participant J as Job participant N as KafkaNotif participant O as Odoo participant T as Authentigo activate U U->>A: update_user activate A A->>O: save on Odoo A->>A: save BDD A->>T: save on authentigo A->>K: ItemNotif A->>K: Data A->>K: ToCentral A->>N: ItemNotif*2,DoneNotif A->>U: retour API (isSync=true) deactivate A deactivate U N->>U: ItemNotif*2,DoneNotif

Async

sequenceDiagram participant U as UI participant A as API participant K as Kafka participant J as Job participant N as KafkaNotif participant O as Odoo participant T as Authentigo U->>A: update_user activate A A->>K: update_user K->>J: update_user activate J A->>U: return api deactivate A J->>O: save on Odoo J->>J: save BDD ES J->>T: save on authentigo J->>N: ItemNotif J->>K: Data J->>K: ToCentral J->>N: ItemNotif*2,DoneNotif deactivate J N->>U: ItemNotif*2,DoneNotif