From f7de1ad1ca92b0a1fedf32a0ff3f035882441180 Mon Sep 17 00:00:00 2001 From: torreytsui Date: Wed, 29 Aug 2018 15:08:20 +0100 Subject: [PATCH] Add csv_family_variant to export --- Resources/config/jobs.yml | 2 ++ Resources/config/steps.yml | 7 +++++++ Resources/config/writers.yml | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/Resources/config/jobs.yml b/Resources/config/jobs.yml index 238641a..3b8c8ac 100644 --- a/Resources/config/jobs.yml +++ b/Resources/config/jobs.yml @@ -19,6 +19,7 @@ services: - '@snowio_connector.step.check_threshold.attributes' - '@snowio_connector.step.csv_attribute_option.export' - '@snowio_connector.step.csv_family.export' + - '@snowio_connector.step.csv_family_variant.export' - '@snowio_connector.step.csv_attribute_group.export' - '@snowio_connector.step.metadata' - '@snowio_connector.step.media_export' @@ -38,6 +39,7 @@ services: - '@snowio_connector.step.csv_attribute.export' - '@snowio_connector.step.csv_attribute_option.export' - '@snowio_connector.step.csv_family.export' + - '@snowio_connector.step.csv_family_variant.export' - '@snowio_connector.step.csv_attribute_group.export' - '@snowio_connector.step.metadata' - '@snowio_connector.step.archive' diff --git a/Resources/config/steps.yml b/Resources/config/steps.yml index f5f41fe..fbc286f 100644 --- a/Resources/config/steps.yml +++ b/Resources/config/steps.yml @@ -121,6 +121,13 @@ services: index_0: 'family' index_5: '@snowio_connector.writer.file.csv_family' + snowio_connector.step.csv_family_variant.export: + class: '%pim_connector.step.item_step.class%' + parent: 'pim_connector.step.csv_family_variant.export' + arguments: + index_0: 'family_variant' + index_5: '@snowio_connector.writer.file.csv_family_variant' + snowio_connector.step.csv_attribute_group.export: class: '%pim_connector.step.item_step.class%' parent: 'pim_connector.step.csv_attribute_group_export.export' diff --git a/Resources/config/writers.yml b/Resources/config/writers.yml index 508237f..2e458ee 100644 --- a/Resources/config/writers.yml +++ b/Resources/config/writers.yml @@ -28,6 +28,10 @@ services: class: %snowio_connector.writer.file.csv_simple.class% parent: pim_connector.writer.file.csv_family + snowio_connector.writer.file.csv_family_variant: + class: %snowio_connector.writer.file.csv_simple.class% + parent: pim_connector.writer.file.csv_family_variant + snowio_connector.writer.file.csv_attribute_group: class: %snowio_connector.writer.file.csv_simple.class% parent: pim_connector.writer.file.csv_attribute_group