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

[Jupiter] Test Datacite DOI API #911

Closed
pbinkley opened this issue Nov 2, 2018 · 5 comments · Fixed by #923
Closed

[Jupiter] Test Datacite DOI API #911

pbinkley opened this issue Nov 2, 2018 · 5 comments · Fixed by #923
Assignees

Comments

@pbinkley
Copy link
Member

pbinkley commented Nov 2, 2018

We now have a test account with Datacite, so we should test Jupiter's EZID-based DOI management against Datacite's emulation of the EZID API. When the tests are successful we can unblock #711.

It looks like doi_service_test.rb does all the tests we need: minting, updating, update unavailable, removal.

@weiweishi weiweishi changed the title Test Datacite DOI API [Jupiter] Test Datacite DOI API Nov 3, 2018
@pgwillia pgwillia self-assigned this Nov 7, 2018
@pgwillia
Copy link
Member

pgwillia commented Nov 8, 2018

From https://support.datacite.org/docs/datacite-ez-api-guide#section-authentication

Remember our accounts have basic security constraints:

you will be allowed to register DOI names only under the prefixes that have been assigned to you
your DOI names can only refer to URLs under host domains you control

I'm getting "ERROR -- : EZID MintIdentifier -- error: unauthorized" I believe it's because we haven't been assigned any prefixes see https://doi.test.datacite.org/clients/cisti.ual/prefixes

@pbinkley has emailed datacite support

@pbinkley
Copy link
Member Author

pbinkley commented Nov 9, 2018

You should have an email forwarded by me with our assigned prefix. Let me know if it didn't get through.

@pbinkley
Copy link
Member Author

pbinkley commented Nov 9, 2018

Datacite account for testing is CISTI.UAL (password to be shared offline). Test prefix: 10.21967 . API end points: https://mds.test.datacite.org or https://ez.test.datacite.org - we'll be using ez.test for our EZID API work in Dataverse and Jupiter. Support: https://support.datacite.org.

@pgwillia
Copy link
Member

pgwillia commented Nov 9, 2018

Ummm....

[2018-11-09T15:12:13.580231 #29747] ERROR -- : EZID MintIdentifier -- error: [facet 'enumeration'] the value 'text' is not an element of the set {'audiovisual', 'collection', 'datapaper', 'dataset', 'event', 'image', 'interactiveresource', 'model', 'physicalobject',
'service', 'software', 'sound', 'text', 'workflow', 'other'}. at line 14, column 0

@pbinkley
Copy link
Member Author

pbinkley commented Nov 9, 2018

Maybe you're supposed to use a different font in your API payload? Looks like [email protected] is the next step https://support.datacite.org/docs/how-to-contact-datacite .

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

Successfully merging a pull request may close this issue.

2 participants