Skip to content

Commit

Permalink
fix: persoon body parse
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeErkemey committed Nov 1, 2024
1 parent bfe02f2 commit 7e83a2b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<Forward name="exception" path="ErrorJsonToXml" />
</SenderPipe>

<DataSonnetPipe name="ExtractPersonenBody" preserveInput="true" storeResultInSessionKey="updatedJson" styleSheetName="jsonnet/ExtractBody.jsonnet" />
<DataSonnetPipe name="ExtractPersonenBody" getInputFromSessionKey="body" preserveInput="true" storeResultInSessionKey="updatedJson" styleSheetName="jsonnet/ExtractBody.jsonnet" />

<!-- Add persoonsgegevens entry for each person retrieved from the BRP -->
<ForEachChildElementPipe name="BRP Personen query"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<Forward name="else" path="Exit" />
</XmlIfPipe>

<DataSonnetPipe name="ExtractPersonenBody" preserveInput="true" storeResultInSessionKey="updatedJson" styleSheetName="jsonnet/ExtractBody.jsonnet" getInputFromSessionKey="json"/>
<DataSonnetPipe name="ExtractPersonenBody" preserveInput="true" storeResultInSessionKey="updatedJson" styleSheetName="jsonnet/ExtractUpdateBody.jsonnet" getInputFromSessionKey="json"/>

<SenderPipe name="InsertPersoon" preserveInput="true">
<FixedQuerySender
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
personen: std.parseJson(payload).updatedJson.personen
personen: payload.personen
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
personen: std.parseJson(payload).updatedJson.personen
}

0 comments on commit 7e83a2b

Please sign in to comment.