-
Notifications
You must be signed in to change notification settings - Fork 493
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
Harvesting : Add granularity to ListRecords when using from parameter #11038
base: develop
Are you sure you want to change the base?
Harvesting : Add granularity to ListRecords when using from parameter #11038
Conversation
…istRecords request with from parameter to add granularity
@luddaniel thanks for discussing this originally at https://dataverse.zulipchat.com/#narrow/channel/375707-community/topic/Harvesting.20with.20from.3D.20parameter/near/481979177 and for making this pull request. I didn't run the code but it looks reasonable to me. I'll go ahead and request a review from @landreev in case he has time to take a look. @luddaniel one question for you. Under "how to test" you mention "client.json". I this how you're varying the timestamp format? Would it be helpful for us to have those client.json files when we are testing? |
Hi @pdurbin
I added the json to prove I tested and to help you to test. |
@luddaniel sorry, I think I confused myself. I understand now that you've put the client.json content inline above the curl command. I'd say this is ready for some QA. I'll approve it. Thanks! |
Can we please update the 6.4 to 6.5 in the dataverse/modules/dataverse-parent |
@ofahimIQSS sure, I went ahead and merged the latest from develop into this PR. |
What this PR does / why we need it:
It performs an
Identify
request before aListRecords
request withfrom
parameter to add the correctgranularity
.Which issue(s) this PR closes:
Suggestions on how to test this:
Test with YYYY-MM-DD granularity, without PR it will FAIL in 2nd run, with PR it will work :
Test with YYYY-MM-DDThh:mm:ssZ granularity, non regression test, it work still work with the PR :
Is there a release notes update needed for this change?:
Yes