Skip to content
Snippets Groups Projects

updating ingestion launch script for image ingestion

Merged Charlotte Hausman requested to merge misc into main
@@ -19,6 +19,9 @@ case $option in
--calibration|-c)
action="ingest_cal"
;;
--image|-i)
action="ingest_image"
;;
--help|-h)
usage
;;
@@ -29,3 +32,6 @@ WORKFLOW_SERVICE=$(capo -q edu.nrao.workspaces.WorkflowSettings.serviceUrl)
if [ "$action" = "ingest_cal" ]; then
curl -X POST $WORKFLOW_SERVICE/workflows/std_calibration/requests/$2/ingest
fi
if [ "$action" = "ingest_image" ]; then
curl -X POST $WORKFLOW_SERVICE/workflows/std_cms_image/requests/$2/ingest
fi
Loading