The SDAP Granule Ingester is a service that reads from a RabbitMQ queue for YAML-formated string messages produced by the Collection Manager (/collection_manager
in this repo). For each message consumed, this service will read a granule file from disk and ingest it into SDAP by processing the granule and writing the resulting data to Cassandra and Solr.
Python 3.7
From incubator-sdap-ingester
, run: $ cd common && python setup.py install $ cd ../granule_ingester && python setup.py install
From incubator-sdap-ingester
, run:
$ python granule_ingester/granule_ingester/main.py -h
From incubator-sdap-ingester
, run:
$ cd common && python setup.py install $ cd ../granule_ingester && python setup.py install $ pip install pytest && pytest
From incubator-sdap-ingester
, run:
$ docker build . -f granule_ingester/docker/Dockerfile -t nexusjpl/granule-ingester