From 20a4d4df0910c2b3eebdf7efcdc825c09aabe77a Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Tue, 3 Dec 2024 11:37:18 -0500 Subject: [PATCH] Define the stub migration being stubbed. --- .../migrations/dgis_nodes.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml b/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml index f5bb7abf..97ebe7cc 100644 --- a/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml +++ b/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml @@ -2714,10 +2714,13 @@ process: - '@_unspecified_rights_statement' - plugin: null_coalesce nid: - - plugin: dgi_migrate.process.locking_migration_lookup + - plugin: get source: '@field_pid' + - &locking_lookup + plugin: dgi_migrate.process.locking_migration_lookup migration: dgis_stub_nodes - lock_context_keys: &dgis_stub_nodes_lock_context_keys + stub_id: dgis_stub_nodes + lock_context_keys: dgis_stub_nodes: - { offset: [ 0 ], hash: '#/##' } field_member_of: @@ -2726,11 +2729,7 @@ process: - '@_members' - '@_constituents' - plugin: multiple_values - - plugin: dgi_migrate.process.locking_migration_lookup - migration: dgis_stub_nodes - stub_id: dgis_stub_nodes - lock_context_keys: - << : *dgis_stub_nodes_lock_context_keys + - << : *locking_lookup migration_dependencies: required: - dgis_foxml_files