A service to poll the ISIS Data Cache, discover new files and push them to a broker for ingestion into other associated projects.
Requires: Python3.6+, ActiveMQ
git clone https://github.com/autoreduction/ISISFilePolling.git
- Optionally setup a python virtualenv to manage package requirements
pip3 install -e ISISFilePolling
pip3 install -r ISISFilePolling/requirements.txt
- Copy the
test_settings.py
file to the same directory but rename it tosettings.py
. You can use the script to do this automatically:python3 ISISFilePolling/src/build_config/setup_test_environment.py
- Update the
settings.py
file to point to desired file systems / services
- Setup a cron job to run
ISISFilePolling/src/ingest.py
See documentation for developing here: Developer docs