Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sadeghim opened this issue Jul 24, 2023 · 0 comments

Comments

@sadeghim
Copy link
Member

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

setMetaDataItem(image, MetaDataSourceType.SystemDefined, fieldDef.fieldName, ImportFieldValueExtractor.extractValue(fieldDef, file))

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 #183 and I think if that one gets addressed, this issue will be resolved as we'll use the S3 folder approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant