Skip to content

Commit

Permalink
OZ-476: Add shutdownHandler step in generate-demo-data-route. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishSiddharth authored May 30, 2024
1 parent 6f351b5 commit 2a6cc5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demo/eip/routes/generate-demo-data-route.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@
</setBody>

<toD cacheSize="-1" uri="{{openmrs.baseUrl}}/ws/rest/v1/referencedemodata/generate"/>

<!-- On successful completion, run the shutdown method -->
<onCompletion>
<bean ref="shutdownHandler" method="shutdown"/>
</onCompletion>
</route>
</routes>

0 comments on commit 2a6cc5d

Please sign in to comment.