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

Develop script to sync DOIs to registry #249

Closed
2 tasks done
jordanpadams opened this issue Sep 21, 2021 · 5 comments
Closed
2 tasks done

Develop script to sync DOIs to registry #249

jordanpadams opened this issue Sep 21, 2021 · 5 comments

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Sep 21, 2021

⚙️ Engineering Details

This should be a script that can be run as a cronjob to:

  • discuss with @tdddblog what is the best approach for bulk updates to the registry (or this ability may already exist?)?
  • sync the DOIs from our DOI service database to the applicable products in the registry
@jordanpadams jordanpadams added requirement the current issue is a requirement needs:triage labels Sep 21, 2021
@jordanpadams jordanpadams self-assigned this Sep 21, 2021
@jordanpadams jordanpadams added B12.1 icebox and removed needs:triage requirement the current issue is a requirement labels Sep 21, 2021
@jordanpadams jordanpadams changed the title Develop script to sync DOIs to registry As a user, I want to able to access a product's DOI from the registry Dec 21, 2021
@jordanpadams jordanpadams changed the title As a user, I want to able to access a product's DOI from the registry Develop script to sync DOIs to registry Dec 21, 2021
@tloubrieu-jpl
Copy link
Member

@tdddblog says the bulk update is supported by elasticsearch

@tloubrieu-jpl
Copy link
Member

@jordanpadams can we table that for this build ? I remember there was question on how we manage the consistency of the original label with the registry content.
In addition, without Scott is becomes challenging to have that done by the end of the sprint.

@jordanpadams
Copy link
Member Author

@tloubrieu-jpl yeah we will defer this

@tloubrieu-jpl
Copy link
Member

We can use registry manager supplementer to work on that.

  1. First step will be to extract from identifier and doi from the sqllite database as a CSV.
  2. Second step will be to use this output as a supplemental metadata label, to update the registry

@tloubrieu-jpl
Copy link
Member

This ticket has been closed per PR NASA-PDS/supplementer#8

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

No branches or pull requests

4 participants