migration is ok again (remains probleme of ram consuming > 4Go for users

This commit is contained in:
2020-11-17 11:23:03 +01:00
parent ee5f880f2c
commit 8db06621ce
57 changed files with 801 additions and 162 deletions

View File

@@ -9,9 +9,10 @@ migration_tags:
- Content
- Materio
- Files
source:
plugin: d7_pubic_file
batch_size: 5000
scheme: public
constants:
# The tool configuring this migration must set source_base_path. It

View File

@@ -10,6 +10,7 @@ migration_tags:
source:
plugin: d7_node_materiau
node_type: materiau
batch_size: 500
high_water_property:
name: changed
alias: n
@@ -51,6 +52,10 @@ process:
plugin: default_value
source: workflow
default_value: 2
# -
# plugin: debug
# source: workflow
# label: workflow_debug
-
plugin: static_map
default_value: 2

View File

@@ -62,7 +62,8 @@ process:
4: "workflow_imported"
5: "workflow_edited"
simplenews_issue:
# https://www.drupal.org/project/simplenews/issues/3037694
simplenews_issue/target_id:
-
plugin: extract
source: field_simplenews_term
@@ -76,8 +77,15 @@ process:
6374: "ze_daily_materio_"
6274: "materio_newsletter"
7881: "companies"
# Sent status
simplenews_issue/sent_count: snn_sent_subscriber_count
simplenews_issue/status: snn_status
simplenews_issue/error_count:
plugin: default_value
default_value: 0
simplenews_issue/subscribers: snn_sent_subscriber_count
simplenews_issue/handler:
plugin: default_value
default_value: simplenews_all
migration_dependencies:
required:

View File

@@ -9,6 +9,7 @@ migration_tags:
source:
plugin: d7_user_profile
batch_size: 1000
high_water_property:
name: changed
alias: p

View File

@@ -9,6 +9,7 @@ migration_tags:
source:
plugin: d7_users
batch_size: 1000
destination:
plugin: entity:user