-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdi.xml
executable file
·63 lines (63 loc) · 3.16 KB
/
di.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0"?>
<!--
/**
* Copyright 2022 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\CatalogDataExporter\Model\Provider\Product\ProductOptions">
<arguments>
<argument name="optionProviderFactories" xsi:type="array">
<item name="configurableOptionsFactory" xsi:type="object">Magento\ConfigurableProductDataExporter\Model\Provider\Product\OptionsFactory</item>
</argument>
</arguments>
</type>
<type name="Magento\ConfigurableProductDataExporter\Model\Provider\Product\Options">
<arguments>
<argument name="batchSize" xsi:type="number">1000</argument>
</arguments>
</type>
<virtualType name="Magento\ConfigurableProductDataExporter\Model\Indexer\AffectedIdsResolver" type="Magento\DataExporter\Model\Indexer\AffectedIdsResolver">
<arguments>
<argument name="idPlaceholder" xsi:type="string">entityIds</argument>
<argument name="queryNames" xsi:type="array">
<item name="configurableProductsByChildren" xsi:type="string">configurableProductsByChildren</item>
<item name="simpleProductsByConfigurableParents" xsi:type="string">simpleProductsByConfigurableParents</item>
</argument>
</arguments>
</virtualType>
<virtualType name="Magento\ConfigurableProductDataExporter\Model\Indexer\AffectedConfigurableIdsResolver" type="Magento\DataExporter\Model\Indexer\AffectedIdsResolver">
<arguments>
<argument name="idPlaceholder" xsi:type="string">entityIds</argument>
<argument name="queryNames" xsi:type="array">
<item name="configurableProductsByChildren" xsi:type="string">configurableProductsByChildren</item>
</argument>
</arguments>
</virtualType>
<type name="Magento\DataExporter\Model\Indexer\AffectedIdsResolverPool">
<arguments>
<argument name="resolvers" xsi:type="array">
<item name="variants" xsi:type="array">
<item name="configurable" xsi:type="string">
Magento\ConfigurableProductDataExporter\Model\Indexer\AffectedIdsResolver
</item>
</item>
<item name="products" xsi:type="array">
<item name="configurable" xsi:type="string">
Magento\ConfigurableProductDataExporter\Model\Indexer\AffectedConfigurableIdsResolver
</item>
</item>
</argument>
</arguments>
</type>
</config>