AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Can't specify DR in "Imports image files from the incoming server directory" #184

Open sadeghim opened 11 months ago

sadeghim commented 11 months ago

We have some data providers that send the images directly to us, for example in the latest case we had around 15K images that we wanted to load to the image-service then update the dwca accordingly via updating imageIdentifer in them.

We tried to use admin tools section Imports image files from local directory and specify the DR in metadata section but as per code it adds this DR value to the meta-data table with the source of SystemDefined and ti doesn't matter if we write data_resource_uid or dataResourceUid https://github.com/AtlasOfLivingAustralia/image-service/blob/43f1a4bd98af35b8b4519907521a67293c83f6b6/grails-app/services/au/org/ala/images/ImageService.groovy#L1058 And this field is not searchable in the UI. The goal here is to load those images for a DR directly into image-service and then search them through UI and download the CSV and update the DwCA to run through the pipelines. This issue is related to https://github.com/AtlasOfLivingAustralia/image-service/issues/183 and I think if that one gets addressed, this issue will be resolved as we'll use the S3 folder approach.