An application for publishing HyP3 output products for ingest into ASF's data catalog. It contains a HyP3 plugin and an application for publishing jobs sent to it from the HyP3 plugin.
To allow for a HyP3 job to publish its outputs, use the ingest-adapter container and add it as a step to the job spec file that looks like this:
- name: PUBLISH
image: ghcr.io/asfhyp3/ingest-adapter
command:
- Ref::job_id
timeout: 600
compute_environment: Default
vcpu: 1
memory: 512
secrets:
- TOPIC_ARN
- HYP3_URL
To run all commands in sequence use:
mamba env create -f environment.yml
export PYTHONPATH=${PWD}/app/src:${PWD}/plugin/src
pytest tests