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

API for creating OAI-PMH sets #4096

Merged
merged 8 commits into from Mar 16, 2018
Merged

API for creating OAI-PMH sets #4096

merged 8 commits into from Mar 16, 2018

Conversation

pameyer
Copy link
Contributor

@pameyer pameyer commented Aug 21, 2017

New Contributors

Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!

Related Issues

Pull Request Checklist

@coveralls
Copy link

coveralls commented Aug 21, 2017

Coverage Status

Coverage decreased (-0.04%) to 12.915% when pulling f514d1a on exp-oai_create_api into 6dd1fcb on develop.

Copy link
Contributor

@landreev landreev left a comment

Choose a reason for hiding this comment

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

I feel like the check for set-name-already-in-used is needed. Would be just a matter of copy-and-pasting the 4 or so lines of code from HarvestingSetsPage.java. I can do that (but I understand this issue is lower priority at this point). I would also like to correct the word "definition" that is spelled as defination in a couple of places. (the parser expects it to be like that in the JSON too)

@pdurbin
Copy link
Member

pdurbin commented Nov 8, 2017

@pameyer any thoughts on this pull request? It has merge conflicts now. I agree with what you said at #4095 that "if it works from the UI, it should work from the API". That's what #3440 is all about.

@pameyer
Copy link
Contributor Author

pameyer commented Nov 8, 2017

@pdurbin my thinking on this one hasn't changed; but it's not at the top of the priority list at the moment.

@pdurbin
Copy link
Member

pdurbin commented Nov 8, 2017

@pameyer ok. Thanks. I just hate it when pull requests are lying around open with no communication on them. I did update #3440 to say that creating OAI sets is a GUI-only feature. Bummer. 😞

@pameyer pameyer assigned pameyer and unassigned pameyer Mar 9, 2018
@pameyer
Copy link
Contributor Author

pameyer commented Mar 9, 2018

I think this one may be ready for another look. @sekmiller addressed what looks to me like all of @landreev's requests; and I added a few tests.

Copy link
Contributor

@landreev landreev left a comment

Choose a reason for hiding this comment

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

I was going to suggest that we try to send the set definition query to the search engine, and check if it results in any hits... similarly to what we are doing in the GUI... But eventually decided it's not needed in the API. So, approving and moving along.

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

Successfully merging this pull request may close these issues.

None yet

6 participants