ONSdigital / dp-data-pipelines

Pipeline specific python scripts and tooling for automated website data ingress.
MIT License
1 stars 0 forks source link

#111 implement upload client in pipeline #123

Closed SarahJohnsonONS closed 2 months ago

SarahJohnsonONS commented 2 months ago

What

dpypelines/pipeline/dataset_ingress_v1.py:

features/dataset_ingress_v1.feature:

features/steps/dataset_ingress.py:

features/docker/fake_backend/app.py:

features/environment.py:

features/steps/requests.py:

How to review

Set env vars for UPLOAD_SERVICE_URL, UPLOAD_SERVICE_S3_BUCKET and FLORENCE_TOKEN, then run dataset_ingress_v1() with an appropriate input directory of files and pipeline config.

Check appropriate try...except structure used, and logging statements are capturing everything needed.

Who can review

Anyone.