Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Notification when liquidbase executes insert

$
0
0
Hi there,

I just started using liquidbase with elasticsearch in a product. 
For base data like country data hard coded in xml change files, liquidbase connects to database and puts them in place using jdbc. This solution makes it impossible to index those items in elasticsearch. In application logic, whenever a new record is being inserted, I add it to elasticsearch manually too. Because liquidbase make the inserts automatic and transparent, I can't add those items to elasticsearch. 
What I basically need is either intercepting the liquidbase so whenever an insert happens I know about it, or a notification service, or using some kind of API.
To put it together, I need to know when liquidbase executes an insert and do something at that time. What is the best and standard solution for this scenario?

Best regards 

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>