diff --git a/files/scripts/healdata/heal-cedar-data-ingest.py b/files/scripts/healdata/heal-cedar-data-ingest.py index 5394fc775..f59c1b890 100644 --- a/files/scripts/healdata/heal-cedar-data-ingest.py +++ b/files/scripts/healdata/heal-cedar-data-ingest.py @@ -271,7 +271,9 @@ def get_related_studies(serial_num, guid, hostname): cedar_record_other_study_websites = cedar_record.get( "metadata_location", {} ).get("other_study_websites", []) + # this ensures the nih_application_id, cedar_study_level_metadata_template_instance_ID and study_name are not alterable from CEDAR side del cedar_record["metadata_location"] + del cedar_record["minimal_info"]["study_name"] mds_res["gen3_discovery"]["study_metadata"].update(cedar_record) mds_res["gen3_discovery"]["study_metadata"]["metadata_location"][ diff --git a/kube/services/jobs/cedar-ingestion-job.yaml b/kube/services/jobs/cedar-ingestion-job.yaml index f6be4dd23..3507a63d7 100644 --- a/kube/services/jobs/cedar-ingestion-job.yaml +++ b/kube/services/jobs/cedar-ingestion-job.yaml @@ -54,7 +54,7 @@ spec: secretName: cedar-g3auto # the secret name in kube initContainers: - name: cedar - image: quay.io/cdis/awshelper:master + image: quay.io/cdis/awshelper:fix_ct_gov imagePullPolicy: Always ports: - containerPort: 80