Skip to content

Commit

Permalink
fix: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lenardvandermaas committed Jan 13, 2025
1 parent 82a5be1 commit 39b21a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

<Exits>
<Exit name="Exit" state="SUCCESS"/>
<Exit name="Error" state="ERROR"/>
</Exits>

<IfPipe name="ActionSwitch"
xpathExpression="*[local-name() = 'npsLk01']/*[local-name() = 'object']/@*[local-name() = 'verwerkingssoort'] = ('T', 'V') and
*[local-name() = 'npsLk01']/*[local-name() = 'stuurgegevens']/*[local-name() = 'ontvanger']/*[local-name() = 'organisatie'] = 'NEDGR'"
xpathExpression="npsLk01/object/verwerkingssoort = ('T', 'V') and
npsLk01/stuurgegevens/ontvanger/organisatie = 'NEDGR'"
expressionValue="true"
>
<Forward name="then" path="SendToSubscriptionManagement"/>
Expand All @@ -20,23 +21,8 @@

<SenderPipe name="SendToSubscriptionManagement">
<IbisLocalSender javaListener="BrpPersonenAfnemersIndicatieReceiver"/>
<Forward name="success" path="Exit"/>
<Forward name="exception" path="Error"/>
</SenderPipe>

<!-- <SenderPipe name="AddSubscriptionTask">-->
<!-- <FixedQuerySender-->
<!-- name="CreateNewTask"-->
<!-- query="INSERT INTO bulkimporttasks (bsn, applicatie) VALUES (?, ?)">-->
<!-- <Param name="bsn" xpathExpression="*[local-name() = 'npsLk01']/*[local-name() = 'object']/*[local-name() = 'inp.bsn']" />-->
<!-- <Param name="app_id" xpathExpression="*[local-name() = 'npsLk01']/*[local-name() = 'stuurgegevens']/*[local-name() = 'zender']" />-->
<!-- </FixedQuerySender>-->
<!-- </SenderPipe>-->

<!-- <SenderPipe name="EndSubscription">-->
<!-- <FixedQuerySender name="EndSubscription"-->
<!-- query="UPDATE subscripties SET eind_datum = CURRENT_TIMESTAMP WHERE bsn=? AND app_id=? AND eind_datum IS NULL">-->
<!-- <Param name="bsn" xpathExpression="*[local-name() = 'npsLk01']/*[local-name() = 'object']/*[local-name() = 'inp.bsn']" />-->
<!-- <Param name="app_id" xpathExpression="*[local-name() = 'npsLk01']/*[local-name() = 'stuurgegevens']/*[local-name() = 'zender']" />-->
<!-- </FixedQuerySender>-->
<!-- </SenderPipe>-->
</Pipeline>
</Adapter>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
name="CreateNewTask"
query="INSERT INTO bulkimporttasks (bsn, applicatie) VALUES (?, ?)">
<Param name="bsn" xpathExpression="record/bsn" />
<Param name="applicatie" xpathExpression="record/app_id" />
<Param name="app_id" xpathExpression="record/app_id" />
</FixedQuerySender>
</ForEachChildElementPipe>

Expand Down

0 comments on commit 39b21a5

Please sign in to comment.