NHSDigital / integration-adaptor-lab-results

Integration Adaptor to simplify processing of Pathology and Screening results
Apache License 2.0
0 stars 6 forks source link

Couldn't decode recipient error when setup adaptor with multiple sender to Mailbox ID Mappings #151

Closed KGita-md closed 3 years ago

KGita-md commented 3 years ago

Description:

With the Pathology Covid Edifact testing , another sender id (110000746500005 ) has been added. Because of this , updated the LAB_RESULTS_MESH_RECIPIENT_MAILBOX_ID_MAPPINGS to refer values as 000000004400001=C88062GP001 and 110000746500005=C88062GP001. As we deployed the adaptor to aks cluster , created the configmap from file (mapping.properties) We see multiline configmap values are being passed to adaptor but when we send edifact request to mesh mailbox, FHIR.json is getting generated at gp outbound queue but there is a issue in getting NHSACK for the request with error as Couldn't decode recipient. When we pass single value to the mapping variable, works fine without any error, Issue is when we have multiple mappings

Test data - image image image ps_covid.log

Priority - Medium

@michael-kainos @bartek-sarul

bartek-sarul commented 3 years ago

set those k=v all in new line with space as separator so change this

000000004400001=C88062GP001
110000746500005=C88062GP001

to this

000000004400001=C88062GP001 110000746500005=C88062GP001
KGita-md commented 3 years ago

Added all required mappings in single line separated by single space. Executed request for each type with azure pipeline. Issue is fixed now. Getting NHSACK for messages as expected.

image ps_log_505.txt