Skip to content

Commit

Permalink
Merge pull request #55 from wearefrank/fix-extractBody
Browse files Browse the repository at this point in the history
fix: persoon body parse
  • Loading branch information
MikeErkemey authored Nov 1, 2024
2 parents bfe02f2 + 7e83a2b commit 7ef1615
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 7ef1615

Please sign in to comment.