re-enabled migration modules
This commit is contained in:
parent
5afb8b0076
commit
ee5f880f2c
|
@ -105,6 +105,7 @@ module:
|
|||
materio_decoupled: 0
|
||||
materio_home: 0
|
||||
materio_jsonapi: 0
|
||||
materio_migrate: 0
|
||||
materio_samples: 0
|
||||
materio_sapi: 0
|
||||
materio_user: 0
|
||||
|
@ -114,6 +115,7 @@ module:
|
|||
menu_ui: 0
|
||||
migrate: 0
|
||||
migrate_drupal: 0
|
||||
migrate_drupal_multilingual: 0
|
||||
migrate_plus: 0
|
||||
migrate_tools: 0
|
||||
mimemail: 0
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
label: 'Fichiers publics'
|
|
@ -0,0 +1,46 @@
|
|||
uuid: dc56e67a-4372-412e-8bba-18c623f22119
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: s3vx8Rz_WiVJ7xdZk9aSaFRCIAvdHcywmrmhCKdAY6U
|
||||
id: d7_allpublicfiles
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
- Files
|
||||
migration_group: d7_materio
|
||||
label: 'Public files'
|
||||
source:
|
||||
plugin: d7_pubic_file
|
||||
scheme: public
|
||||
constants:
|
||||
source_base_path: ../../../d7.materio.com/public_html
|
||||
process:
|
||||
filename: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- uri
|
||||
filemime: filemime
|
||||
status: status
|
||||
created: timestamp
|
||||
changed: timestamp
|
||||
uid: uid
|
||||
destination:
|
||||
plugin: 'entity:file'
|
||||
migration_dependencies: null
|
|
@ -0,0 +1,113 @@
|
|||
uuid: 9355d3f2-6ba9-4556-b23c-6f16a957a721
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: EMJZXjJ_nG0xuawQaOH-p_ORBAYmBTmygs_QRgD3qJ4
|
||||
id: d7_node_article
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Node Article'
|
||||
source:
|
||||
plugin: d7_node_breve
|
||||
node_type: breve
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: 'n'
|
||||
process:
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: article
|
||||
title: title
|
||||
created: created
|
||||
changed: changed
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: migration_imported
|
||||
body:
|
||||
plugin: iterator
|
||||
source: body
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
langcode: language
|
||||
field_memo: field_memo
|
||||
field_workflow:
|
||||
-
|
||||
plugin: default_value
|
||||
source: workflow
|
||||
default_value: 2
|
||||
-
|
||||
plugin: static_map
|
||||
default_value: 2
|
||||
map:
|
||||
1: workflow_creation
|
||||
2: workflow_hidden
|
||||
3: workflow_visible
|
||||
4: workflow_imported
|
||||
5: workflow_edited
|
||||
field_thesaurus:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_thesaurus
|
||||
source: field_onthologie
|
||||
field_tags:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_tags
|
||||
source: field_tags_libres
|
||||
field_video:
|
||||
plugin: iterator
|
||||
source: field_video_filter
|
||||
process:
|
||||
value: url
|
||||
field_linked_materials:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: linked_materials
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_node_materiau
|
||||
no_stub: true
|
||||
field_visuel:
|
||||
plugin: iterator
|
||||
source: field_visuel
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: d7_allpublicfiles
|
||||
source: fid
|
||||
no_stub: true
|
||||
alt: alt
|
||||
title: title
|
||||
height: height
|
||||
width: width
|
||||
field_source:
|
||||
plugin: iterator
|
||||
source: field_source
|
||||
process:
|
||||
uri: url
|
||||
title: title
|
||||
options: attributes
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
||||
- d7_users
|
||||
- d7_taxonomy_term_thesaurus
|
||||
- d7_taxonomy_term_tags
|
||||
- d7_taxonomy_term_company
|
||||
- d7_taxonomy_term_showroom
|
||||
- d7_node_materiau
|
|
@ -0,0 +1,51 @@
|
|||
uuid: cecfab1b-41c8-42f0-aa36-5277e9c6d792
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: vLmdf7LyOFNcHdarEDF_W3CV4Wp-K6GdgH_dOwuUHTY
|
||||
id: d7_node_article_i18n
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Node Article i18n'
|
||||
source:
|
||||
plugin: d7_node_breve_i18n
|
||||
node_type: breve
|
||||
translations: true
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: 'n'
|
||||
process:
|
||||
nid:
|
||||
plugin: migration_lookup
|
||||
source: nid
|
||||
migration: d7_node_article
|
||||
no_stub: true
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: article
|
||||
langcode: language
|
||||
content_translation_source: source
|
||||
title: title
|
||||
created: created
|
||||
changed: changed
|
||||
body:
|
||||
plugin: iterator
|
||||
source: body
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_node_article
|
|
@ -0,0 +1,150 @@
|
|||
uuid: b3aeafeb-b607-403f-835c-5ed27df20521
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: UpJLhcKQg-FLL7eI8MUvKVK9_zsXMOmQTCpIEkRcnKY
|
||||
id: d7_node_materiau
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Node Materiau'
|
||||
source:
|
||||
plugin: d7_node_materiau
|
||||
node_type: materiau
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: 'n'
|
||||
process:
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: materiau
|
||||
title: title
|
||||
created: created
|
||||
changed: changed
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
field_short_description: field_nature_titre
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: migration_imported
|
||||
body:
|
||||
plugin: iterator
|
||||
source: field_description
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
langcode: language
|
||||
field_memo: field_memo
|
||||
field_workflow:
|
||||
-
|
||||
plugin: default_value
|
||||
source: workflow
|
||||
default_value: 2
|
||||
-
|
||||
plugin: static_map
|
||||
default_value: 2
|
||||
map:
|
||||
1: workflow_creation
|
||||
2: workflow_hidden
|
||||
3: workflow_visible
|
||||
4: workflow_imported
|
||||
5: workflow_edited
|
||||
field_thesaurus:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_thesaurus
|
||||
source: field_onthologie
|
||||
no_stub: true
|
||||
field_tags:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_tags
|
||||
source: field_tags_libres
|
||||
no_stub: true
|
||||
field_manufacturer:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_company
|
||||
source: field_company_fab
|
||||
no_stub: true
|
||||
field_distributor:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_company
|
||||
source: field_company_distrib
|
||||
no_stub: true
|
||||
field_video:
|
||||
plugin: iterator
|
||||
source: field_video_filter
|
||||
process:
|
||||
value: url
|
||||
field_linked_materials:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: linked_materials
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_node_materiau
|
||||
no_stub: true
|
||||
field_linked_articles:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: linked_articles
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_node_article
|
||||
field_materiau_images:
|
||||
plugin: iterator
|
||||
source: field_materiau_image
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: d7_allpublicfiles
|
||||
source: fid
|
||||
no_stub: true
|
||||
alt: alt
|
||||
title: title
|
||||
height: height
|
||||
width: width
|
||||
field_attachments:
|
||||
plugin: iterator
|
||||
source: field_attachments
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: d7_allpublicfiles
|
||||
source: fid
|
||||
no_stub: true
|
||||
description: description
|
||||
field_famille: field_famille
|
||||
field_index: field_identifiant
|
||||
field_reference: field_reference_materio
|
||||
field_localisation_old: field_localisation
|
||||
field_samples:
|
||||
plugin: iterator
|
||||
source: field_location
|
||||
process:
|
||||
location: location
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_showroom
|
||||
source: showroom_tid
|
||||
no_stub: true
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
||||
- d7_users
|
||||
- d7_taxonomy_term_thesaurus
|
||||
- d7_taxonomy_term_tags
|
||||
- d7_taxonomy_term_company
|
||||
- d7_taxonomy_term_showroom
|
|
@ -0,0 +1,52 @@
|
|||
uuid: d53a192b-b55a-4f92-8d35-47699914de14
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: Qs6SCZjjvh6GVqAsUnNPqcgKFQDrDg-NQ3yeTRQEFLU
|
||||
id: d7_node_materiau_i18n
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Node Materiau i18n'
|
||||
source:
|
||||
plugin: d7_node_materiau_i18n
|
||||
node_type: materiau
|
||||
translations: true
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: 'n'
|
||||
process:
|
||||
nid:
|
||||
plugin: migration_lookup
|
||||
source: nid
|
||||
migration: d7_node_materiau
|
||||
no_stub: true
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: materiau
|
||||
langcode: language
|
||||
content_translation_source: source
|
||||
title: title
|
||||
created: created
|
||||
changed: changed
|
||||
field_short_description: field_nature_titre
|
||||
body:
|
||||
plugin: iterator
|
||||
source: field_description
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_node_materiau
|
|
@ -0,0 +1,79 @@
|
|||
uuid: 5040a067-947f-4c18-8ee0-64e3f2737167
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: V4b8Ctj8B8jqXWdO1pnAIWyZxa_cdp-tjxU-swY0jvE
|
||||
id: d7_simplenews_nodes
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Simplenews newsletters nodes'
|
||||
source:
|
||||
plugin: d7_simplenews_nodes
|
||||
node_type: simplenews
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: 'n'
|
||||
process:
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: simplenews_issue
|
||||
title: title
|
||||
created: created
|
||||
changed: changed
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: migration_imported
|
||||
body:
|
||||
plugin: iterator
|
||||
source: body
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
langcode: language
|
||||
field_workflow:
|
||||
-
|
||||
plugin: default_value
|
||||
source: workflow
|
||||
default_value: 2
|
||||
-
|
||||
plugin: static_map
|
||||
default_value: 2
|
||||
map:
|
||||
1: workflow_creation
|
||||
2: workflow_hidden
|
||||
3: workflow_visible
|
||||
4: workflow_imported
|
||||
5: workflow_edited
|
||||
simplenews_issue:
|
||||
-
|
||||
plugin: extract
|
||||
source: field_simplenews_term
|
||||
index:
|
||||
- 0
|
||||
- tid
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
6585: test
|
||||
6374: ze_daily_materio_
|
||||
6274: materio_newsletter
|
||||
7881: companies
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
||||
- d7_users
|
|
@ -0,0 +1,49 @@
|
|||
uuid: 0cee8f1b-5640-4bf7-8b14-c8e67376c8b9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: VloCz4g4ojd5g00TY-4icqkDJXC2zOYHP3ysyqL4lUQ
|
||||
id: d7_simplenews_subscribers
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Simplenews subscribers'
|
||||
source:
|
||||
plugin: d7_simplenews_subscribers
|
||||
process:
|
||||
id: snid
|
||||
status: activated
|
||||
mail: mail
|
||||
uid:
|
||||
plugin: migration
|
||||
migration: d7_users
|
||||
source: uid
|
||||
langcode: language
|
||||
changes: changes
|
||||
created: created
|
||||
subscriptions:
|
||||
plugin: iterator
|
||||
source: subscriptions
|
||||
process:
|
||||
target_id:
|
||||
plugin: static_map
|
||||
source: newsletter_id
|
||||
map:
|
||||
6585: test
|
||||
6374: ze_daily_materio_
|
||||
6274: materio_newsletter
|
||||
7881: companies
|
||||
status: status
|
||||
timestamp: timestamp
|
||||
source: source
|
||||
destination:
|
||||
plugin: 'entity:simplenews_subscriber'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_users
|
|
@ -0,0 +1,113 @@
|
|||
uuid: 36e781b5-fffe-49eb-a8c5-b6574e8ea464
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: KD8aokrh9C4c7Cnr91IkjxeMimTrOAqjLSWjRACToJ8
|
||||
id: d7_taxonomy_term_company
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Company'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_company
|
||||
bundle: company
|
||||
process:
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: company
|
||||
name: name
|
||||
weight: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_company
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed: timestamp
|
||||
langcode:
|
||||
plugin: default_value
|
||||
default_value: und
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: migration_imported
|
||||
field_website:
|
||||
plugin: iterator
|
||||
source: field_website
|
||||
process:
|
||||
uri: url
|
||||
title: title
|
||||
options: attributes
|
||||
field_memo: field_memo
|
||||
field_public_phone: public_phone
|
||||
field_public_email:
|
||||
plugin: iterator
|
||||
source: field_public_email
|
||||
process:
|
||||
value: email
|
||||
field_public_address:
|
||||
plugin: iterator
|
||||
source: field_public_address
|
||||
process:
|
||||
country_code: country
|
||||
administrative_area: administrative_area
|
||||
locality: locality
|
||||
dependent_locality: dependent_locality
|
||||
postal_code: postal_code
|
||||
address_line1: thoroughfare
|
||||
organization: organisation_name
|
||||
given_name: first_name
|
||||
family_name: last_name
|
||||
field_note: field_note
|
||||
field_departement: field_departement
|
||||
description:
|
||||
plugin: iterator
|
||||
source: body
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
field_infos_from_company:
|
||||
plugin: iterator
|
||||
source: field_infos_from_company
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
field_workflow:
|
||||
plugin: static_map
|
||||
source: workflow
|
||||
map:
|
||||
1: workflow_creation
|
||||
2: workflow_hidden
|
||||
3: workflow_visible
|
||||
4: workflow_imported
|
||||
5: workflow_edited
|
||||
field_attachments:
|
||||
plugin: iterator
|
||||
source: field_attachments
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: d7_allpublicfiles
|
||||
source: fid
|
||||
no_stub: true
|
||||
description: description
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
|
@ -0,0 +1,76 @@
|
|||
uuid: 805f2fcd-3109-4f9e-9c25-2f577d38a4c9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: Oip5TPNIP8RxEmtUffgwo8AuBwxsYGMdECAxEqmnCiA
|
||||
id: d7_taxonomy_term_showroom
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Showroom'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_showroom
|
||||
bundle: showroom
|
||||
process:
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: showroom
|
||||
name: name
|
||||
weight: weight
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
changed: timestamp
|
||||
langcode:
|
||||
plugin: default_value
|
||||
default_value: und
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: migration_imported
|
||||
field_workflow:
|
||||
plugin: default_value
|
||||
default_value: workflow_visible
|
||||
field_website:
|
||||
plugin: iterator
|
||||
source: field_website
|
||||
process:
|
||||
uri: url
|
||||
title: title
|
||||
options: attributes
|
||||
field_memo: field_memo
|
||||
field_public_phone: public_phone
|
||||
field_public_email:
|
||||
plugin: iterator
|
||||
source: field_public_email
|
||||
process:
|
||||
value: email
|
||||
field_public_address:
|
||||
plugin: iterator
|
||||
source: field_public_address
|
||||
process:
|
||||
country_code: country
|
||||
administrative_area: administrative_area
|
||||
locality: locality
|
||||
dependent_locality: dependent_locality
|
||||
postal_code: postal_code
|
||||
address_line1: thoroughfare
|
||||
organization: organisation_name
|
||||
given_name: first_name
|
||||
family_name: last_name
|
||||
description:
|
||||
plugin: iterator
|
||||
source: body
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies: null
|
|
@ -0,0 +1,44 @@
|
|||
uuid: 71bb63f1-e6bf-42dc-aa09-305be7533901
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: ANwnCRB6FgqpsP5cu1RdbPcXBem0E0qSi-7q3RZjmp8
|
||||
id: d7_taxonomy_term_tags
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Tags'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_tags
|
||||
bundle: tag_libres
|
||||
process:
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: tags
|
||||
name: name
|
||||
description/value: description
|
||||
description/format: format
|
||||
weight: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_tags
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed: timestamp
|
||||
field_synonyms: synonyms_synonym
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies: null
|
|
@ -0,0 +1,39 @@
|
|||
uuid: d2b12c96-7a79-4534-a988-28be5828951b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: IVIXijd3hu4c6IYCkPsT81h334IVvQ1mRLonwSCegVc
|
||||
id: d7_taxonomy_term_tags_i18n
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Tags i18n'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_tags_i18n
|
||||
bundle: tag_libres
|
||||
translations: true
|
||||
process:
|
||||
tid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_tags
|
||||
source: tid
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: tags
|
||||
langcode: language
|
||||
name: name
|
||||
description/value: description
|
||||
description/format: format
|
||||
field_synonyms: synonyms_synonym
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
translations: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_taxonomy_term_tags
|
|
@ -0,0 +1,45 @@
|
|||
uuid: dc6ea56a-d1a9-40a3-8fc0-d07a813c5361
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: 55XmBttIA63YE74GI20R9E_synOOR7E6yObM-HVGKSw
|
||||
id: d7_taxonomy_term_thesaurus
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Thesaurus'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_thesaurus
|
||||
bundle: onthologie
|
||||
process:
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: thesaurus
|
||||
name: name
|
||||
description/value: description
|
||||
description/format: format
|
||||
weight: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_thesaurus
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed: timestamp
|
||||
field_synonyms: synonyms_synonym
|
||||
field_used_on_advanced_search: field_used_on_advanced_search
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies: null
|
|
@ -0,0 +1,39 @@
|
|||
uuid: 455074a6-7256-4424-9306-44be4491ca6c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: dEUkhkROYAKjrQDitdMPb_P8qPFSTRVEypMkdvRHkdg
|
||||
id: d7_taxonomy_term_thesaurus_i18n
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'Taxonomy terms Thesaurus i18n'
|
||||
source:
|
||||
plugin: d7_taxonomy_term_thesaurus_i18n
|
||||
bundle: onthologie
|
||||
translations: true
|
||||
process:
|
||||
tid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_thesaurus
|
||||
source: tid
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: thesaurus
|
||||
langcode: language
|
||||
name: name
|
||||
description/value: description
|
||||
description/format: format
|
||||
field_synonyms: synonyms_synonym
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
translations: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_taxonomy_term_thesaurus
|
|
@ -0,0 +1,68 @@
|
|||
uuid: 2e55cb47-aafc-4e2b-96ff-dcc3e3db6893
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- commerce_product
|
||||
- commerce_license
|
||||
_core:
|
||||
default_config_hash: uBcqzDKpO358QBdXpZONLiQ13aH-bbfmWiN4yiwzKIM
|
||||
id: d7_uc_roles_license
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Ubercart
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'License from D7 Ubercart Roles.'
|
||||
source:
|
||||
plugin: d7_uc_license_role
|
||||
process:
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: role
|
||||
uid:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: uid
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
no_stub: true
|
||||
state: state
|
||||
created: created
|
||||
granted: created
|
||||
renewed: renewed
|
||||
changed: renewed
|
||||
license_role:
|
||||
plugin: static_map
|
||||
source: rid
|
||||
map:
|
||||
6: adherent
|
||||
10: student
|
||||
expiration_type:
|
||||
plugin: default_value
|
||||
default_value:
|
||||
target_plugin_id: rolling_interval
|
||||
target_plugin_configuration:
|
||||
interval:
|
||||
interval: 1
|
||||
period: year
|
||||
expires: expiration
|
||||
product_variation:
|
||||
plugin: static_map
|
||||
source: rid
|
||||
map:
|
||||
6: 2
|
||||
10: 7
|
||||
destination:
|
||||
plugin: 'entity:commerce_license'
|
||||
destination_module: commerce_license
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_users
|
||||
optional: { }
|
|
@ -0,0 +1,80 @@
|
|||
uuid: 7eab92f2-f564-4717-aab3-9a74732034c4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- migrate_plus
|
||||
- migrate_tools
|
||||
- profile
|
||||
_core:
|
||||
default_config_hash: BXfTTGg9wZCH6eEyUC3OcKgCj56WCCRQMcDLYj9yHfo
|
||||
id: d7_user_profile
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'D7 User Profiles'
|
||||
source:
|
||||
plugin: d7_user_profile
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: p
|
||||
process:
|
||||
type:
|
||||
plugin: static_map
|
||||
source: type
|
||||
map:
|
||||
contact_operationnel: contact_company
|
||||
adherent: member
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
field_title: field_private_name_title
|
||||
field_first_name: field_first_name
|
||||
field_name: field_name
|
||||
field_organization: field_organization
|
||||
field_activity_sector: field_activity_sector
|
||||
field_phone: field_private_phone
|
||||
field_address:
|
||||
plugin: iterator
|
||||
source: field_adresse
|
||||
process:
|
||||
country_code: country
|
||||
administrative_area: administrative_area
|
||||
locality: locality
|
||||
dependent_locality: dependent_locality
|
||||
postal_code: postal_code
|
||||
address_line1: thoroughfare
|
||||
organization: organisation_name
|
||||
given_name: first_name
|
||||
family_name: last_name
|
||||
field_position: field_private_quality
|
||||
field_service: field_service
|
||||
field_employee: field_employee
|
||||
field_vat_number_intra_ce: field_vat_number_intra_ce
|
||||
field_naf: field_naf
|
||||
field_siret: field_siret
|
||||
field_website:
|
||||
plugin: iterator
|
||||
source: field_user_website
|
||||
process:
|
||||
uri: url
|
||||
title: title
|
||||
options: attributes
|
||||
field_email:
|
||||
plugin: iterator
|
||||
source: field_email
|
||||
process:
|
||||
value: email
|
||||
field_memo: field_memo
|
||||
destination:
|
||||
plugin: 'entity:profile'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_users
|
|
@ -0,0 +1,88 @@
|
|||
uuid: 31b658d4-e019-468f-be15-f1704a3bc2f9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: MSrCVV09c4n2q36chsUNrsaE87aqSrk3FfoG7QBzuxg
|
||||
id: d7_users
|
||||
class: null
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 7'
|
||||
- Content
|
||||
- Materio
|
||||
migration_group: d7_materio
|
||||
label: 'User accounts'
|
||||
source:
|
||||
plugin: d7_users
|
||||
process:
|
||||
name: name
|
||||
pass: pass
|
||||
mail:
|
||||
-
|
||||
plugin: skip_on_value
|
||||
equals: true
|
||||
source: mail
|
||||
method: row
|
||||
value:
|
||||
- dev@g-u-i.net
|
||||
- admin@g-u-i.net
|
||||
-
|
||||
plugin: default_value
|
||||
source: mail
|
||||
default_value: null
|
||||
created: created
|
||||
access: access
|
||||
login: login
|
||||
status: status
|
||||
timezone: timezone
|
||||
langcode:
|
||||
plugin: user_langcode
|
||||
source: entity_language
|
||||
fallback_to_site_default: false
|
||||
preferred_langcode:
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
preferred_admin_langcode:
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
init: init
|
||||
roles:
|
||||
plugin: static_map
|
||||
source: roles
|
||||
default_value: 2
|
||||
map:
|
||||
1: anonymous
|
||||
2: authenticated
|
||||
3: admin
|
||||
4: root
|
||||
5: contact_company
|
||||
6: adherent
|
||||
7: free_user
|
||||
8: premium
|
||||
9: unverified
|
||||
10: student
|
||||
11: alpha_testeur
|
||||
12: translator
|
||||
13: admin_showroom
|
||||
field_company:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_company
|
||||
source: field_company
|
||||
no_stub: true
|
||||
field_showroom:
|
||||
plugin: migration_lookup
|
||||
migration: d7_taxonomy_term_showroom
|
||||
no_stub: true
|
||||
source: field_showroom
|
||||
field_memo: field_memo
|
||||
destination:
|
||||
plugin: 'entity:user'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_allpublicfiles
|
||||
- d7_taxonomy_term_showroom
|
||||
- d7_taxonomy_term_company
|
|
@ -0,0 +1,19 @@
|
|||
uuid: c5fed484-531d-415a-a473-d177eaef5f11
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- migrate_plus
|
||||
- migrate_tools
|
||||
- materio_migrate
|
||||
_core:
|
||||
default_config_hash: tbcV0glxU9BqeXcSUn9ZKXnOPW-C2v8Q-shvIJ2xNG8
|
||||
id: d7_materio
|
||||
label: 'D7 Materio'
|
||||
description: 'Drupal 7 materio content migration to Drupal 8.'
|
||||
source_type: 'Drupal 7'
|
||||
module: null
|
||||
shared_configuration:
|
||||
source:
|
||||
key: legacy
|
Loading…
Reference in New Issue