Skip to content

Add an initial step to GatherMetadataJob to copy all *<core>*.json files to output_dir/original_metadata/uploaded_json #437

@dbirman

Description

@dbirman

Is your feature request related to a problem? Please describe.
The original_metadata/ folder currently gets populated by the indexer with the original core metadata files that were uploaded with an asset. This means that partial files like instrument_<modality>.json get thrown away, as well as original <core_file>.json files that get merged.

Describe the solution you'd like
When the GatherMetadataJob starts up any files that match the pattern *<core_file>*.json should be copied to a subfolder output_dir/original_metadata/uploaded_json. This doesn't include files that are grabbed during the gather job or merged.

Describe alternatives you've considered
The files could be thrown away, which is what the current system is setup for.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions