Skip to content

Commit d70f1ff

Browse files
committed
MAGETWO-94384: Apply profile changes
1 parent 4557bfe commit d70f1ff

File tree

7 files changed

+144
-35
lines changed

7 files changed

+144
-35
lines changed

setup/performance-toolkit/config/description.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
-->
88
<description>
99
<paragraphs>
10-
<count-min>4</count-min>
11-
<count-max>10</count-max>
10+
<count-min>7</count-min>
11+
<count-max>7</count-max>
1212

1313
<sentences>
14-
<count-min>10</count-min>
15-
<count-max>15</count-max>
14+
<count-min>12</count-min>
15+
<count-max>12</count-max>
1616

1717
<words>
18-
<count-min>5</count-min>
19-
<count-max>7</count-max>
18+
<count-min>6</count-min>
19+
<count-max>6</count-max>
2020
</words>
2121
</sentences>
2222
</paragraphs>

setup/performance-toolkit/profiles/ce/extra_large.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
<attribute>
2424
<options>8</options>
2525
</attribute>
26-
<attribute>
27-
<options>5</options>
28-
</attribute>
2926
</attributes>
3027
<sku>Configurable Product %s</sku>
3128
<products>16000</products>
@@ -43,9 +40,9 @@
4340
<cart_price_rules>20</cart_price_rules> <!-- Number of cart price rules -->
4441
<cart_price_rules_floor>2</cart_price_rules_floor>
4542

46-
<product_attribute_sets>200</product_attribute_sets> <!-- Number of product attribute sets -->
47-
<product_attribute_sets_attributes>50</product_attribute_sets_attributes> <!-- Number of attributes per set -->
48-
<product_attribute_sets_attributes_values>2</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
43+
<product_attribute_sets>100</product_attribute_sets> <!-- Number of product attribute sets -->
44+
<product_attribute_sets_attributes>30</product_attribute_sets_attributes> <!-- Number of attributes per set -->
45+
<product_attribute_sets_attributes_values>15</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
4946

5047
<order_quotes_enable>true</order_quotes_enable>
5148
<order_simple_product_count_from>2</order_simple_product_count_from>

setup/performance-toolkit/profiles/ce/large.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
<attribute>
2424
<options>8</options>
2525
</attribute>
26-
<attribute>
27-
<options>5</options>
28-
</attribute>
2926
</attributes>
3027
<sku>Configurable Product %s</sku>
3128
<products>8000</products>
@@ -43,9 +40,9 @@
4340
<cart_price_rules>20</cart_price_rules> <!-- Number of cart price rules -->
4441
<cart_price_rules_floor>2</cart_price_rules_floor>
4542

46-
<product_attribute_sets>200</product_attribute_sets> <!-- Number of product attribute sets -->
47-
<product_attribute_sets_attributes>50</product_attribute_sets_attributes> <!-- Number of attributes per set -->
48-
<product_attribute_sets_attributes_values>2</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
43+
<product_attribute_sets>50</product_attribute_sets> <!-- Number of product attribute sets -->
44+
<product_attribute_sets_attributes>20</product_attribute_sets_attributes> <!-- Number of attributes per set -->
45+
<product_attribute_sets_attributes_values>15</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
4946

5047
<order_quotes_enable>true</order_quotes_enable>
5148
<order_simple_product_count_from>2</order_simple_product_count_from>

setup/performance-toolkit/profiles/ce/medium.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
<attribute>
2424
<options>8</options>
2525
</attribute>
26-
<attribute>
27-
<options>5</options>
28-
</attribute>
2926
</attributes>
3027
<sku>Configurable Product %s</sku>
3128
<products>640</products>
@@ -43,9 +40,9 @@
4340
<cart_price_rules>20</cart_price_rules> <!-- Number of cart price rules -->
4441
<cart_price_rules_floor>2</cart_price_rules_floor>
4542

46-
<product_attribute_sets>100</product_attribute_sets> <!-- Number of product attribute sets -->
47-
<product_attribute_sets_attributes>50</product_attribute_sets_attributes> <!-- Number of attributes per set -->
48-
<product_attribute_sets_attributes_values>2</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
43+
<product_attribute_sets>30</product_attribute_sets> <!-- Number of product attribute sets -->
44+
<product_attribute_sets_attributes>10</product_attribute_sets_attributes> <!-- Number of attributes per set -->
45+
<product_attribute_sets_attributes_values>8</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
4946

5047
<order_quotes_enable>true</order_quotes_enable>
5148
<order_simple_product_count_from>2</order_simple_product_count_from>

setup/performance-toolkit/profiles/ce/medium_msite.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
<attribute>
2424
<options>8</options>
2525
</attribute>
26-
<attribute>
27-
<options>5</options>
28-
</attribute>
2926
</attributes>
3027
<sku>Configurable Product %s</sku>
3128
<products>800</products>
@@ -49,9 +46,9 @@
4946
<cart_price_rules>20</cart_price_rules> <!-- Number of cart price rules -->
5047
<cart_price_rules_floor>2</cart_price_rules_floor>
5148

52-
<product_attribute_sets>100</product_attribute_sets> <!-- Number of product attribute sets -->
53-
<product_attribute_sets_attributes>50</product_attribute_sets_attributes> <!-- Number of attributes per set -->
54-
<product_attribute_sets_attributes_values>2</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
49+
<product_attribute_sets>30</product_attribute_sets> <!-- Number of product attribute sets -->
50+
<product_attribute_sets_attributes>10</product_attribute_sets_attributes> <!-- Number of attributes per set -->
51+
<product_attribute_sets_attributes_values>8</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
5552

5653
<order_quotes_enable>true</order_quotes_enable>
5754
<order_simple_product_count_from>2</order_simple_product_count_from>

setup/performance-toolkit/profiles/ce/small.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
<attribute>
2424
<options>8</options>
2525
</attribute>
26-
<attribute>
27-
<options>5</options>
28-
</attribute>
2926
</attributes>
3027
<sku>Configurable Product %s</sku>
3128
<products>16</products>
@@ -44,8 +41,8 @@
4441
<cart_price_rules_floor>2</cart_price_rules_floor>
4542

4643
<product_attribute_sets>10</product_attribute_sets> <!-- Number of product attribute sets -->
47-
<product_attribute_sets_attributes>10</product_attribute_sets_attributes> <!-- Number of attributes per set -->
48-
<product_attribute_sets_attributes_values>2</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
44+
<product_attribute_sets_attributes>5</product_attribute_sets_attributes> <!-- Number of attributes per set -->
45+
<product_attribute_sets_attributes_values>5</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
4946

5047
<order_quotes_enable>true</order_quotes_enable>
5148
<order_simple_product_count_from>2</order_simple_product_count_from>
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xi="http://www.w3.org/2001/XInclude">
9+
<profile>
10+
<admin_users>50</admin_users><!-- Number of admin users to generate -->
11+
<websites>1</websites> <!-- Number of websites to generate -->
12+
<store_groups>1</store_groups> <!--Number of stores-->
13+
<store_views>1</store_views> <!-- Number of store views -->
14+
<assign_entities_to_all_websites>0</assign_entities_to_all_websites> <!-- Whether to assign all products per each website -->
15+
<simple_products>800</simple_products> <!-- Simple products count -->
16+
<configurable_products> <!-- Configurable product -->
17+
<config>
18+
<attributes>
19+
<attribute>
20+
<options>3</options>
21+
<swatches>image</swatches>
22+
</attribute>
23+
<attribute>
24+
<options>8</options>
25+
</attribute>
26+
<attribute>
27+
<options>5</options>
28+
</attribute>
29+
</attributes>
30+
<sku>Configurable Product %s</sku>
31+
<products>16</products>
32+
</config>
33+
</configurable_products>
34+
<product-images>
35+
<images-count>100</images-count>
36+
<images-per-product>3</images-per-product>
37+
</product-images>
38+
<categories>30</categories> <!-- Number of categories to generate -->
39+
<categories_nesting_level>3</categories_nesting_level> <!-- Nesting level for categories -->
40+
<customers>200</customers> <!-- Number of customers to generate -->
41+
42+
<catalog_price_rules>20</catalog_price_rules> <!-- Number of catalog price rules -->
43+
<cart_price_rules>20</cart_price_rules> <!-- Number of cart price rules -->
44+
<cart_price_rules_floor>2</cart_price_rules_floor>
45+
46+
<product_attribute_sets>10</product_attribute_sets> <!-- Number of product attribute sets -->
47+
<product_attribute_sets_attributes>5</product_attribute_sets_attributes> <!-- Number of attributes per set -->
48+
<product_attribute_sets_attributes_values>5</product_attribute_sets_attributes_values> <!-- Number of values per attribute -->
49+
50+
<order_quotes_enable>true</order_quotes_enable>
51+
<order_simple_product_count_from>2</order_simple_product_count_from>
52+
<order_simple_product_count_to>2</order_simple_product_count_to>
53+
<orders>80</orders> <!-- Orders count -->
54+
55+
<tax_rates_file>tax_rates_small.csv</tax_rates_file> <!-- Tax rates file in fixtures directory-->
56+
57+
<configs> <!-- Config variables and values for change -->
58+
<config>
59+
<path>admin/security/use_form_key</path>
60+
<scope>default</scope>
61+
<scopeId>0</scopeId>
62+
<value>0</value>
63+
</config>
64+
<config>
65+
<path>admin/security/session_lifetime</path>
66+
<scope>default</scope>
67+
<scopeId>0</scopeId>
68+
<value>7200</value>
69+
</config>
70+
<config>
71+
<path>admin/security/admin_account_sharing</path>
72+
<scope>default</scope>
73+
<scopeId>0</scopeId>
74+
<value>1</value>
75+
</config>
76+
<config>
77+
<path>carriers/flatrate/active</path>
78+
<scope>default</scope>
79+
<scopeId>0</scopeId>
80+
<value>1</value>
81+
</config>
82+
</configs>
83+
<indexers> <!-- Indexer mode value (true - Update by Schedule, false - Update on Save) -->
84+
<indexer>
85+
<id>catalog_category_product</id>
86+
<set_scheduled>false</set_scheduled>
87+
</indexer>
88+
<indexer>
89+
<id>catalog_product_category</id>
90+
<set_scheduled>false</set_scheduled>
91+
</indexer>
92+
<indexer>
93+
<id>catalog_product_price</id>
94+
<set_scheduled>false</set_scheduled>
95+
</indexer>
96+
<indexer>
97+
<id>catalog_product_attribute</id>
98+
<set_scheduled>false</set_scheduled>
99+
</indexer>
100+
<indexer>
101+
<id>cataloginventory_stock</id>
102+
<set_scheduled>false</set_scheduled>
103+
</indexer>
104+
<indexer>
105+
<id>catalogrule_rule</id>
106+
<set_scheduled>false</set_scheduled>
107+
</indexer>
108+
<indexer>
109+
<id>catalogrule_product</id>
110+
<set_scheduled>false</set_scheduled>
111+
</indexer>
112+
<indexer>
113+
<id>catalogsearch_fulltext</id>
114+
<set_scheduled>false</set_scheduled>
115+
</indexer>
116+
</indexers>
117+
<xi:include href="../../config/searchTermsLarge.xml" />
118+
<xi:include href="../../config/attributeSets.xml" />
119+
<xi:include href="../../config/searchConfig.xml" />
120+
<xi:include href="../../config/customerConfig.xml" />
121+
<xi:include href="../../config/description.xml" />
122+
<xi:include href="../../config/shortDescription.xml" />
123+
</profile>
124+
</config>

0 commit comments

Comments
 (0)