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

3621 update metadata namespace #9210

Merged
merged 3 commits into from
Dec 7, 2022
Merged

Conversation

sekmiller
Copy link
Contributor

What this PR does / why we need it:
Updates the metadatanamespace and schema in the ListMetadataFormats response

Which issue(s) this PR closes:

Closes #3621 invalid schema and metadataNamespace fields in OAI-PMH ListMetadataFormats response

Special notes for your reviewer:
This just updates the response so that the format fits what is expected. It does not create an actual landing page depicting the json schema.There is a ticket tracking it IQSS/dataverse-pm#26

Suggestions on how to test this:
I used https://validator.oaipmh.com/#ListMetadataFormats to check the xml response. We still get an error for the landing page not being found, as is the case with oai_ddi and datacite

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
no
Additional documentation:
None

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this but it looks like exactly what we talked about at standup yesterday: #3621 (comment)

I'm assuming the API tests will pass but we can pull it out of QA if they don't.

@pdurbin
Copy link
Member

pdurbin commented Dec 7, 2022

@sekmiller is going to investigate...

expected:<201> but was:<500>
	at edu.harvard.iq.dataverse.api.HarvestingClientsIT.testCreateEditDeleteClient(HarvestingClientsIT.java:73)

at https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/job/PR-9210/1/testReport/edu.harvard.iq.dataverse.api/HarvestingClientsIT/testCreateEditDeleteClient/

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving. @sekmiller reran Jenkins and the API tests passed this time.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 20.0% when pulling 716592f on 3621-update-metadata-namespace into caf25c7 on develop.

@kcondon kcondon self-assigned this Dec 7, 2022
@kcondon kcondon merged commit bdc1f53 into develop Dec 7, 2022
@kcondon kcondon deleted the 3621-update-metadata-namespace branch December 7, 2022 21:42
@pdurbin pdurbin added this to the 5.13 milestone Dec 7, 2022
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 this pull request may close these issues.

invalid schema and metadataNamespace fields in OAI-PMH ListMetadataFormats response
4 participants