As part of the prototype, security-api defines a FEED_PATH in docker-compose.yml and reads the file located there when it runs init-db.js to import the data into its database. There is currently no method to pull in updated data. As part of this ticket:
- evaluate if the fixed FEED_PATH is the best practice for (temporarily?) storing a gzipped file
- write a script that's expected to 1. call a third-party provider's API 2. save the return gzipped file somewhere 3. repeat this process on a schedule (systemd afaik)
- ensure that init-db.js can still access the updated file, wherever it is
Dependencies:
- need to have the contract and key from the vendor
need to have a secure place to store the keysee T339331: Prepare for initial data import on production servers