Reporting service: external directory for reports and existing APIs

Hi folks,

We are working on genericizing Report Service since we want to contribute it back to the core. A task for loading reports from a directory was created: https://openlmis.atlassian.net/browse/MW-280, but I wanted to confirm implementation details.

We basically would keep the uncompiled reports in some external directory and identify them by filename. Once someone uploads a report via API it would replace existing one in that directory. We would also compile and load all the reports to the database at startup, no migrations needed. The path to that directory would be configurable either in docker-compose or .env file Does that sound good?

Regards,

Jakub