Load Data into ApromoreDocker

Hi!

I am wondering how to load .xes data into ApromoreDocker without using de UI. I would like to be able to run a process that loads daily a .xes event data into ApromoreDocker without human intervention. I tried to upload it into /wherever/you/keep/ApromoreDocker/apromore/Event-logs_repository compressed in a gz file but the UI does not recognize the file.

Thank you! :slight_smile:

Hello @Nebulous,

Thank you for your question.

In the newer version of Apromore, cashed log storage has been introduced. Therefore updating the logs in Event-logs_repository is no longer relative. In addition, it is not supposed to put files into Apromore bypassing UI. If you upload them to Event-Logs-Repository directly, the database will not have links to the logs and without that, you won’t find them in the portal. Event-Logs-Repository is meant for back up.

That said, if you still want to do so; You can either use Apromore SOAP API. However, unfortunately, it is not documented, but you can check the source code at https://github.com/apromore/ApromoreCore

Moreover, you can use ApromoreDocker V7.6: https://github.com/apromore/ApromoreDocker/tree/v7.6_images
For that, please note, you have to upload the logs through the UI the first time. That ensures the access control metadata is appropriately recorded. Afterwise, you can update the log at /wherever/you/keep/ApromoreDocker/apromore/Event-logs_repository by replacing the file with the updated version that has the same name.

Let me know if you need any further clarification. Thank you!

Kind regards,
Ibrahim