[BO - Interconnexion] Empêcher tout appel vers des api partenaire depuis localhost #3543
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
#3542
Description
Empêcher toute appel vers api externe depuis localhost
Changements apportés
Pré-requis
Mise à jour adresse
Editer un signalement du pas de calais avec un code insee autorisé (62091) du 62 (ex: 1 Rue de Sus Saint-Léger, 62810 Beaudricourt)
Redémarrage des services
make mock-stop && make mock-start
make worker-stop && make worker-consume
Tests
make sync-sish
et vérifier que l'exception est bien levéePARTENAIRE 13-06 ESABORA ARS
au http://localhost:8080/bo/signalements/00000000-0000-0000-2023-000000000012 et vérifier les messages d'erreur dans la console du workerurl must contain "histologe_wiremock" when on localhost
make console app="sync-esabora-sish"
vérifier que l'exception est bien levéePARTENAIRE 13-05 ESABORA SCHS
au http://localhost:8080/bo/signalements/00000000-0000-0000-2023-000000000012 et vérifier les messages d'erreur dans la console du workerurl must contain "histologe_wiremock" when on localhost
Partenaire 62-02 (BEAUDRICOURT)
et vérifier que l'exception est bien levée dans la console du workerIdoss HTTP error occurred, cause : url must contain "histologe_wiremock" when on localhost.
s'affiche dans la console du workerTNR