An event in Azure is broken down into two - a ‘Begin’ event and an ‘End’ event, both share a chain id. In ManageIQ we correlate these 2 events using the chain_id and create a rollup ‘Complete’ event. The challenge is the chain_id column in the ManageIQ DB is a big int, the chain Id we pull from the Azure event is a UID (string) so i am trying to figure out our options.
I have noticed we do not parse a chain_id from events from most other providers, is that because a second (‘End’) event is never fired making the need for a rollup event unnecessary? What will happen if I ignore both the chain_id and the ‘Begin’ event in Azure and only process ‘End’ events (which indicates the action the event relates to was completed successfully)? This would mean a ‘Complete’ event would never be created automatically.