Skip to content

IQSS/8032 Add optional flag to trigger update of PID at provider during migrate#8034

Merged
kcondon merged 6 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:IQSS/8032-optional_DOI_updates_in_migrate
Aug 3, 2021
Merged

IQSS/8032 Add optional flag to trigger update of PID at provider during migrate#8034
kcondon merged 6 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:IQSS/8032-optional_DOI_updates_in_migrate

Conversation

@qqmyers
Copy link
Copy Markdown
Member

@qqmyers qqmyers commented Jul 28, 2021

What this PR does / why we need it: Disables updating the PID at the provider during the /api/datasets/<id>/actions/:releasemigrated call unless ?updatepidatprovider=true is added to the URL.

Which issue(s) this PR closes:

Closes #8032

Special notes for your reviewer: This is probably safer than the just merged API call which will try to change the PID at the provider by default.

Suggestions on how to test this: Should be able to repeat the migrate tests and verify that the DOI doesn't redirect without the param and does when it is true.

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: added notes about the new param

@qqmyers qqmyers changed the title IQSS?8032 Add optional flag to trigger update of PID at provider during migrate IQSS/8032 Add optional flag to trigger update of PID at provider during migrate Jul 28, 2021
@qqmyers qqmyers added the GDCC: DANS related to GDCC work for DANS label Jul 28, 2021
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 28, 2021

Coverage Status

Coverage increased (+0.001%) to 19.127% when pulling 3baaa5b on GlobalDataverseCommunityConsortium:IQSS/8032-optional_DOI_updates_in_migrate into b5ba304 on IQSS:develop.

Copy link
Copy Markdown
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.

Agree, that this is safer, than to do the update automatically.

@kcondon kcondon self-assigned this Jul 30, 2021
@kcondon kcondon merged commit e3057ad into IQSS:develop Aug 3, 2021
@djbrooke djbrooke added this to the 5.6 milestone Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GDCC: DANS related to GDCC work for DANS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow PID updates to be made after migration

5 participants