-
Notifications
You must be signed in to change notification settings - Fork 18
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
Onestop ID lineage/deaccessioning #332
Comments
Closed
Questions:
|
actions available through changes on a changesets to rename a Onestop ID: "action": "changeOnestopId",
"existingOnestopID": "x-xxxx-old",
"newOnestopId": "x-xxxx-new" to destroy an entity with a Onestop ID: same as existing to merge 1 or more entities into a single Onestop ID: "action": "merge",
"onestopIdsToMerge": ["x-xxx-1", "x-xxx-2", "x-xxx-3"],
"operator": {
"onestopID": "x-xxx-3"
} |
Merged
|
Note: a changeOnestopId action now requires two id fields: "newOnestopId" and "onestopId" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
changing the Onestop ID on an entity
changeOnestopID
action=change_onestop_id
in theold_
entities recordfind_by_onestop_id
methods will now search through both thecurrent_
andold_
entities records. Will redirect to the entity with the current Onestop IDdestroying an entity with a Onestop ID
destroy
changeset actionaction=destroy
in theold_
entities recordfind_by_onestop_id
methods will now search through both thecurrent_
andold_
entities records before returning their results. If a Onestop ID has been deleted, the API will indicate that.merging entities with multiple Onestop IDs into one
add new
merge
changeset action that takes in an array of Onestop IDs and one entity/Onestop ID for the target/survivorwhen the changeset is applied, set
action=merge
in theold_
entity records and point theircurrent
column to the target/survivorfind_by_onestop_id
methods will now search through both thecurrent_
andold_
entities records before returning their results. For merged records, redirect to the target/survivoradd callbacks to merge and change. Specifically, when Feed onestop id changes, the S3 link might need updating (related to Remove Feed onestop_id from s3 filenames #895; may not be an issue), and the stop_pattern onestop id in the RouteStopPattern stop_pattern attributes needs to be updated.
After this is in place:
The text was updated successfully, but these errors were encountered: