-
Notifications
You must be signed in to change notification settings - Fork 63
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
migrate legacy uuid identifier #274
base: dspace-cris-2023_02_x
Are you sure you want to change the base?
migrate legacy uuid identifier #274
Conversation
changes migration procedures to import the uuid of the object into imp_record.handle . Copy ItemImport methods and remove handle support, but treat the handle value in the table as the predefined uuid to set for the newly created workspaceitem.
e093417
to
64dbb73
Compare
when handle of item contains some parsable uuid, use this value as the predefineduuid of the item being generated. Makes the changes on the import class more obvious
Hi @floriangantner, thanks for your pull request we have reviewed it and we think the feature is great but at this moment we're not able to merge this PR since we think some more changes should be included. Said that, could you kindly update the PR with the needed changes? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @floriangantner, thanks for your pull request we have reviewed it and we think the feature is great but at this moment we're not able to merge this PR since we think some more changes should be included.
As I said the feature is fine for us, but we prefer adding a new column on the imp_record table for this purpose rather than reusing the handle column since this behavior might lead to confusion.
Said that, could you kindly update the PR with the needed changes?
Thanks
dspace-api/src/main/java/org/dspace/app/batch/ItemImportOA.java
Outdated
Show resolved
Hide resolved
[maven-release-plugin] copy for tag dspace-cris-2023.02.02
🎂 Happy Birthday PR, updated to recent 2023.02.02 Release and fixed Problem with uuid mapping breaking tests |
References
Add references/links to any related issues or PRs. These may include:
Description
Migrate existing UUID from Dspace Cris 5.X to entity uuid in dspace-cris7. Benefit: once assigned and shared uuid won't change after the migration.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:
imp_record.uuid
columnuuid
in imp_record containing the uuid. It's not unique because there might be several updates available.Include guidance for how to test or review your PR.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
pom.xml
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.