This page explains how to prepare your cloud app for migration by processing events.
The Forge function and trigger that you implement will allow the app migration platform to send information about about specific migration events that take place on your server app.
Define a function and trigger to process migration events.
1 2modules: function: # Function to handle migration events - key: migration-fn-key handler: index.run trigger: # Migration events that will invoke your function - key: migration-trigger function: migration-fn-key events: - avi:ecosystem.migration:triggered:listener - avi:ecosystem.migration:uploaded:app_data
Our sample app provides a complete implementation.
Refer to the events API, for all the events that you can listen for and their associated payloads.
When processing events it is important to keep in mind the following:
messageProcessed(transferId, messageId)
for avi:ecosystem.migration:uploaded:app_data
events within 15 minutes of receiving the event.avi:ecosystem.migration:uploaded:app_data
may appear before avi:ecosystem.migration:triggered:listener
.Rate this page: