Create Input, Mediation and Connection contracts

Let's go back to our second example scenario with the organization that needs to receive a zip file containing all the invoices issued by its branches throughout the country. Data Mover accesses each branch repository every hour, retrieves the invoices issued in the last hour, creates the zip file, and stores them in a specific folder. Once the files have reached the folder, the email confirmation is sent to the user. Then, the head office connects to Data Mover to collect the zip files.

We need 3 contracts:

  • Input contract: every hour, Data Mover connects to each branch repository (data producers) to get the files.

  • Mediation contract: Data Mover zips the files.

  • Connection contract: Data Mover stores the zip files and sends a confirmation via email to the head office (data consumer), which will then collect the files.

Last updated