NASA-PDS / devops

Parent repo for PDS DevOps activities
Apache License 2.0
0 stars 0 forks source link

Make the DOI service Dev staging deployment initialized with non empty database #30

Closed tloubrieu-jpl closed 2 years ago

tloubrieu-jpl commented 2 years ago

💡 Description

The database an sqllite file stored at the root of the virtual environment (doi.db).

The following command initialize the database with the PDS's dataCite dois:

pds-doi-init --service datacite --prefix ${PREFIX} --submitter ${SUBMITTER}

Where submitter is the email of the author of the operation and prefix is one of 10.17189, 10.26007, 10.2603 (to be confirmed with @jordanpadams which one is best in this case). We would get the DOIs from the dataCite test database anyway to avoid sharing the production login/password on the staging area and risking them to be used to update the production DOIs.

nutjob4life commented 2 years ago

This is in progress, but I need @jordanpadams to answer this question:

What should ${PREFIX} be?

jordanpadams commented 2 years ago

@nutjob4life 10.17189

jordanpadams commented 2 years ago

@nutjob4life since you are using the test database, I'm not sure what, if anything will come back with our operations prefix? If nothing gets populated in the database, try our test prefix 10.13143