Comment temporary all the fields that we don't want to update

This commit is contained in:
David Valdez 2019-10-02 21:35:44 -05:00
parent 88209d3030
commit 563c7ee62a

View file

@ -1,3 +1,4 @@
# Temporary comment all the fields that we don't want to update
langcode: en
status: true
dependencies: { }
@ -22,140 +23,122 @@ process:
# -
# plugin: get
# source: vid
langcode:
-
plugin: default_value
source: language
default_value: und
title:
-
plugin: get
source: title
uid:
-
plugin: get
source: node_uid
status:
-
plugin: get
source: status
created:
-
plugin: get
source: created
changed:
-
plugin: get
source: changed
promote:
-
plugin: get
source: promote
sticky:
-
plugin: get
source: sticky
revision_uid:
-
plugin: get
source: revision_uid
revision_log:
-
plugin: get
source: log
revision_timestamp:
-
plugin: get
source: timestamp
field_economic_sectors:
-
plugin: sub_process
source: taxonomy_vocabulary_1
process:
target_id: tid
field_institutions_structures:
-
plugin: sub_process
source: taxonomy_vocabulary_7
process:
target_id: tid
field_movements_struggles:
-
plugin: sub_process
source: taxonomy_vocabulary_12
process:
target_id: tid
field_practices_tools_strategies:
-
plugin: sub_process
source: taxonomy_vocabulary_13
process:
target_id: tid
# taxonomy_vocabulary_14:
# langcode:
# -
# plugin: default_value
# source: language
# default_value: und
# title:
# -
# plugin: get
# source: title
# uid:
# -
# plugin: get
# source: node_uid
# status:
# -
# plugin: get
# source: status
# created:
# -
# plugin: get
# source: created
# changed:
# -
# plugin: get
# source: changed
# promote:
# -
# plugin: get
# source: promote
# sticky:
# -
# plugin: get
# source: sticky
# revision_uid:
# -
# plugin: get
# source: revision_uid
# revision_log:
# -
# plugin: get
# source: log
# revision_timestamp:
# -
# plugin: get
# source: timestamp
# field_economic_sectors:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_14
# source: taxonomy_vocabulary_1
# process:
# target_id: tid
field_visions_models:
-
plugin: sub_process
source: taxonomy_vocabulary_10
process:
target_id: tid
field_regions:
-
plugin: sub_process
source: taxonomy_vocabulary_2
process:
target_id: tid
field_article_type:
-
plugin: sub_process
source: taxonomy_vocabulary_3
process:
target_id: tid
# taxonomy_vocabulary_5:
# field_institutions_structures:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_5
# source: taxonomy_vocabulary_7
# process:
# target_id: tid
# taxonomy_vocabulary_8:
# field_movements_struggles:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_8
# source: taxonomy_vocabulary_12
# process:
# target_id: tid
field_topics:
- plugin: merge
source:
- '@field_regions'
- '@field_visions_models'
- '@field_practices_tools_strategies'
- '@field_movements_struggles'
- '@field_institutions_structures'
- '@field_economic_sectors'
paragraph_body:
plugin: migration
migration: upgrade_d7_node_story_body_paragraph
source: nid
field_body_paragraph:
-
plugin: iterator
source:
- '@paragraph_body'
process:
target_id: '0'
target_revision_id: '1'
field_upload:
-
plugin: sub_process
source: upload
process:
target_id: fid
display: display
description: description
# field_practices_tools_strategies:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_13
# process:
# target_id: tid
# field_visions_models:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_10
# process:
# target_id: tid
# field_regions:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_2
# process:
# target_id: tid
# field_article_type:
# -
# plugin: sub_process
# source: taxonomy_vocabulary_3
# process:
# target_id: tid
# field_topics:
# - plugin: merge
# source:
# - '@field_regions'
# - '@field_visions_models'
# - '@field_practices_tools_strategies'
# - '@field_movements_struggles'
# - '@field_institutions_structures'
# - '@field_economic_sectors'
# paragraph_body:
# plugin: migration
# migration: upgrade_d7_node_story_body_paragraph
# source: nid
# field_body_paragraph:
# -
# plugin: iterator
# source:
# - '@paragraph_body'
# process:
# target_id: '0'
# target_revision_id: '1'
# field_upload:
# -
# plugin: sub_process
# source: upload
# process:
# target_id: fid
# display: display
# description: description
_field_bio:
plugin: geo_story_bio
source:
@ -170,74 +153,45 @@ process:
source: value
migration: upgrade_d7_node_story_author
override: bio
field_authors:
plugin: sub_process
source: field_author
process:
target_id:
plugin: migration_lookup
source: value
migration: upgrade_d7_node_story_author
# field_authors:
# plugin: sub_process
# source: field_author
# process:
# target_id:
# plugin: migration_lookup
# source: value
# migration: upgrade_d7_node_story_author
# field_subtitle:
# -
# plugin: get
# source: field_author
# field_author_picture:
# source: field_subtitle
# field_image:
# -
# plugin: sub_process
# source: field_author_picture
# source: field_inserted_image
# process:
# target_id: fid
# alt: alt
# title: title
# width: width
# height: height
# field_citiations:
# field_publication_date:
# -
# plugin: get
# source: field_citiations
# field_issue:
# plugin: publication_date_default
# source: field_publication_date
# method: process
# -
# plugin: sub_process
# source: field_issue
# process:
# target_id: tid
field_subtitle:
-
plugin: get
source: field_subtitle
field_image:
-
plugin: sub_process
source: field_inserted_image
process:
target_id: fid
alt: alt
title: title
width: width
height: height
# field_geo_volume_3:
# -
# plugin: sub_process
# source: field_geo_volume_3
# process:
# target_id: tid
field_publication_date:
-
plugin: publication_date_default
source: field_publication_date
method: process
-
plugin: sub_process
process:
value:
plugin: format_date
from_format: 'Y-m-d\TH:i:s'
to_format: 'Y-m-d'
source: value
path/alias: source_path
path/pathauto:
plugin: default_value
default_value: 0
# value:
# plugin: format_date
# from_format: 'Y-m-d\TH:i:s'
# to_format: 'Y-m-d'
# source: value
# path/alias: source_path
# path/pathauto:
# plugin: default_value
# default_value: 0
destination:
plugin: 'entity:node'
default_bundle: article