-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BO - Esabora] Taguer les dossiers comme synchronisés uniquement en cas de succès #2278
Conversation
@@ -181,13 +181,6 @@ affectations: | |||
answered_by: "[email protected]" | |||
affected_by: "[email protected]" | |||
territory: "Pas-de-Calais" | |||
- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
en double
{ | ||
return AbstractEsaboraService::ACTION_PUSH_DOSSIER_PERSONNE === $this->action | ||
&& JobEvent::STATUS_SUCCESS === $this->status; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour rappel un envoi de dossier SISH c'est 3 appels de WS dans cet ordre la
- adresse
- signalement
- personne
Donc si le service personne répond OK (c'est que signalement et adresses ont répondu OK également) alors le dossier est complet et doit être tagué comme synchronisé
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
génial
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK lecture et tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relecture et test OK
Ticket
#2277
Description
L'envoi de dossier se fait de manière asynchrone, il est donc pas pertinent de le tagger synchronisé au moment du dispatching il faut plutôt le faire quand tout s'est bien passé afin d'éviter des messages comme
Le dossier n'a pas été trouvé
lors de la synchronisationAinsi on pourra trouver des dossiers affectés mais non synchronisé à envoyer d'un territoire en exécutant la commande
Changements apportés
Pré-requis
Tests
et Partenaire 13-05 ESABORA SCHS
Vérifier que vos affectations sont bien tagué comme synchronisé
Que les événements esabora s'affiche toujours bien dans le tableau de bord
Que l'evenement oilhi est bien enregistré dans la table job_event