-
Notifications
You must be signed in to change notification settings - Fork 28
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 AUDIT datastream #11
Conversation
@dannylamb sweet, I'll test. |
Testing now. |
Getting an error I can't figure out. After I checked out your branch and updated my remote IP addresses, I ran Then when I go into the GUI to run the migrations, I get an error that leaves this in my apache error log:
Doing a grep on the YAML files shows:
So I'm not sure why those two config settings are not being picked up. Any suggestions? |
Caught a user error (mine) but tried again after reloading the feature with the same results. Array
(
[plugin] => islandora
[solr_base_url] => http://97.107.189.65:8080/solr
[fedora_base_url] => http://97.107.189.65:8080/fedora
[data_fetcher_plugin] => http
[authentication] => Array
(
[plugin] => basic
[username] => fedoraAdmin
[password] => fedoraAdmin
)
[content_model_field] => RELS_EXT_hasModel_uri_ms
[content_model] => islandora:sp_basic_image
[data_parser_plugin] => authenticated_xml
[item_selector] => /foxml:digitalObject
[...] |
@mjordan I only ran the migration using drush (I'm a command line junkie when doing migrate work), so maybe there's differences between the two ways of running them? Can you try running |
Thanks, that worked.... in that I got:
but the other migrations didn't run, so there are no nodes. I'll run those separately and see what happens. |
Ran |
@mjordan |
Thanks, didn't do that (usually do). Do I need to run the other migrations separately or will the media ones run those for me? |
Sry, in my haste I see that's for the node migration... drush cr won't cut it. Let me try it out and see what if I can reproduce. I ran my node migration first, so you starting from scratch is gonna uncover all kinds of stuff. |
Cool, thanks. Signing off until tomorrow. |
@mjordan If you run them as a group, e.g. with the I'm going to make a pass and formally add in dependencies so they should get figured out if you run just one. |
superceded by #10 |
Resolves Islandora/documentation#917
Here's two new migration configs to get AUDIT files and media wired together with the rest that get brought over using migrate_7x_claw. I had to update the AuthenticatedXml plugin to extend SimpleXML instead of XML because I need full XPath to get the audit trail. I also had to hack it a little to write out the full marked up xml as a string, instead of just string values. Migrate assumes you're trying to extract text, not full nested xml.
Ping @whikloj @mjordan