-
Notifications
You must be signed in to change notification settings - Fork 71
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
Attach RDF Properties Directly to Parent Container #20
Comments
Soooo, I'm new to camel, but I am guessing you want to transform the RDF to be compatible with a POST/PUT or PATCH. |
Are we attempting to maintain "collections", etc? That requires maintaining our existing PIDs, which is not necessarily to our benefit. <fedora:isMemberOfCollection rdf:resource="info:fedora/test:collectionPid"/> Get the new UUID from fedora 4 based on the old PID property to re-associate them. This requires things going in from top to bottom. |
Nope. Not off track. The migration plan that we've sketched out between the two of us is staged, and goes like this:
|
Last question (for now). Did you discuss how to do the linking between old PIDs and new? I asked @acoburn about searching a triplestore during the route and he suggested that a simple SQL DB would be easiest. |
Oh. That's a really good question... and @daniel-dgi and I didn't discuss that before he went on vacation this week 😢 |
Sorry to barge in -- are you all planning to maintain this mapping of fcr3 pids to fcr4 paths beyond the migration itself? So that when a browser visits an old fcr3 URL the response is a 303 to the fcr4 path? (At least that's what I'm planning to do -- which is why a simple database seems easiest) |
No worries for barging in! You're always welcome here Aaron 😄 We hadn't really thought that out completely yet. But, the plan in my head for that was to use the Drupal Pathauto module in conjunction with the Islandora Pathauto module to take care of all the redirects. Basically create a little sub-module that redirects everything. |
Hi Aaron. I had not grasped the long view of your suggestion but now it leads me to wonder. Perhaps we can create a custom field in our Drupal content type to store the old PID. Then have it populated by the camel migration. Lastly, we could create this module of Nick's by querying the data already in Drupal and either generating a new table or using what is there. |
Irrelevant and closed. All work has been rolled into https://github.com/fcrepo4-labs/migration-utils |
See https://github.com/daniel-dgi/migration-utils/blob/camel-service/migration-service/src/main/java/org/fcrepo/migration/service/routes/DatastreamIngesterRoute.java#L31
You should make another route to handle this to try and keep things clean.
The parent container's path is accessible as a property on the exchange, although it has already been set as a header that will be utilized by the fcrepo camel component. See: https://github.com/daniel-dgi/migration-utils/blob/camel-service/migration-service/src/main/java/org/fcrepo/migration/service/routes/DatastreamIngesterRoute.java#L23
The text was updated successfully, but these errors were encountered: