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

As an SDA operator, I want to list all the files referenced by the metadata so that we can ingest the right files #509

Open
2 tasks
viklund opened this issue Jun 28, 2022 · 0 comments

Comments

@viklund
Copy link

viklund commented Jun 28, 2022

Describe the user story

To be able to start the ingestion process for the data files we need to know what files to ingest. The metadata-submitter has this information in the metadata.

There are probably several "file types" that could be referenced by the metadata, but we start with the most important filetype for bigpicture which is the image. Here is an example of a file reference in the image XML.

Tasks:

  • Implement an API endpoint that probably queries the mongodb for all the files and then return them in some json structure (this should include the checksums).
  • Check with the bigpicture metadata group if there are more places than in the image XML where files can be referenced.

Testing

I don't know what your practice is, please fill this in.

Definition of Done

Given this metadata uploaded to a submission when I call this new API then I expect json response with the metadata about that file.

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