Skip to content

Commit f6d74ea

Browse files
Release 1.2.0 and copyright
1 parent bbc94e3 commit f6d74ea

31 files changed

+187
-2
lines changed

Api/Config/ConfigClass/ArgumentInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Api\Config\ConfigClass;
49

Api/Config/ConfigClass/ConfigClassInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Api\Config\ConfigClass;
49

Block/Adminhtml/System/Config/CliPhpPath.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?php
2+
23
declare(strict_types=1);
34

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
411
namespace Amasty\ImportExportCore\Block\Adminhtml\System\Config;
512

613
use Amasty\ImportExportCore\Utils\CliPhpResolver;

Config/ConfigClass/Argument.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\ConfigClass;
612

713
use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;

Config/ConfigClass/ConfigClass.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\ConfigClass;
612

713
use Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface;

Config/ConfigClass/Factory.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\ConfigClass;
612

713
use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;

Config/SchemaReader/ConfigCompiler/IncludeElement.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\SchemaReader\ConfigCompiler;
612

713
use Magento\Framework\Exception\LocalizedException;

Config/SchemaReader/Reader.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\SchemaReader;
612

713
use Magento\Framework\App\Filesystem\DirectoryList;

Config/Xml/ArgumentsPrepare.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Config\Xml;
612

713
use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;

Parallelization/JobManager.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Parallelization;
612

713
use Magento\Framework\App\ResourceConnection;

Test/Unit/Config/ConfigClass/DummyClass.php

100755100644
+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Config\ConfigClass;
49

Test/Unit/Config/ConfigClass/FactoryTest.php

100755100644
+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Config\ConfigClass;
49

Test/Unit/Config/Xml/ArgumentsPrepareTest.php

100755100644
+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Config\ConfigClass;
49

Test/Unit/Traits/ObjectManagerTrait.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Traits;
49

Test/Unit/Utils/DummyDataObjectInterface.php

100755100644
+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Utils;
49

Test/Unit/Utils/SerializerTest.php

100755100644
+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Utils;
49

Test/Unit/Utils/Type/Table/ConvertRowTo2DimensionalArrayTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Utils\Type\Table;
49

Test/Unit/Utils/Type/Table/ConvertRowToMergedListTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Test\Unit\Utils\Type\Table;
49

Utils/CliPhpResolver.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Utils;
612

713
use Magento\Framework\App\Config\ScopeConfigInterface;

Utils/Internal/ArrayToObjectConvert.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Utils\Internal;
49

Utils/OptionsProcessor.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Utils;
612

713
class OptionsProcessor

Utils/Serializer.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Utils;
612

713
use Amasty\ImportExportCore\Utils\Internal\ArrayToObjectConvert;

Utils/Type/Table/ConvertRowTo2DimensionalArray.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27

38
namespace Amasty\ImportExportCore\Utils\Type\Table;
49

Utils/Type/Table/ConvertRowToMergedList.php

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
511
namespace Amasty\ImportExportCore\Utils\Type\Table;
612

713
class ConvertRowToMergedList

Utils/Type/Table/Row/Header/DataHandler.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?php
2+
23
declare(strict_types=1);
34

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
411
namespace Amasty\ImportExportCore\Utils\Type\Table\Row\Header;
512

613
class DataHandler

Utils/Type/Table/Row/Mapping/Processor.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?php
2+
23
declare(strict_types=1);
34

5+
/**
6+
* @author Amasty Team
7+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
8+
* @package Import-Export Core for Magento 2 (System)
9+
*/
10+
411
namespace Amasty\ImportExportCore\Utils\Type\Table\Row\Mapping;
512

613
class Processor

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"php": ">=7.3"
66
},
77
"type": "magento2-module",
8-
"version": "1.1.4",
9-
"license": "proprietary",
8+
"version": "1.2.0",
9+
"license": [
10+
"proprietary"
11+
],
1012
"autoload": {
1113
"files": [
1214
"registration.php"

etc/di.xml

+19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* @author Amasty Team
5+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
6+
* @package Import-Export Core for Magento 2 (System)
7+
*/-->
28
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
39
<preference for="Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface" type="Amasty\ImportExportCore\Config\ConfigClass\ConfigClass"/>
410
<preference for="Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface" type="Amasty\ImportExportCore\Config\ConfigClass\Argument"/>
11+
<preference for="Amasty\ImportExportCore\Api\Profile\RunProfileResponseInterface" type="Amasty\ImportExportCore\Model\Profile\RunProfileResponse"/>
12+
<preference for="Amasty\ImportExportCore\Api\Profile\ProfileManagerInterface" type="Amasty\ImportExportCore\Model\ProfileManager"/>
13+
<preference for="Amasty\ImportExportCore\Api\Process\ProcessStatusInterface" type="Amasty\ImportExportCore\Model\Process\ProcessStatus"/>
514

615
<virtualType name="AmastyImportExportCompiler" type="Magento\Framework\View\TemplateEngine\Xhtml\Compiler" shared="false">
716
<arguments>
@@ -18,4 +27,14 @@
1827
<type name="Magento\Framework\Mail\TransportInterface">
1928
<plugin name="customer-sample-data-disable-registration-email-send" disabled="true"/>
2029
</type>
30+
31+
<type name="Magento\Framework\Console\CommandListInterface">
32+
<arguments>
33+
<argument name="commands" xsi:type="array">
34+
<item name="am_import_export_run_profile" xsi:type="object">Amasty\ImportExportCore\Console\Command\RunProfileCommand</item>
35+
<item name="am_import_export_show_profile_runners" xsi:type="object">Amasty\ImportExportCore\Console\Command\ShowProfileRunnersList</item>
36+
<item name="am_import_export_check_profile_status" xsi:type="object">Amasty\ImportExportCore\Console\Command\CheckProfileStatus</item>
37+
</argument>
38+
</arguments>
39+
</type>
2140
</config>

etc/module.xml

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* @author Amasty Team
5+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
6+
* @package Import-Export Core for Magento 2 (System)
7+
*/-->
28
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
39
<module name="Amasty_ImportExportCore" setup_version="1.0.0"/>
410
</config>

i18n/en_US.csv

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
"The file ""%1"" does not exist","The file ""%1"" does not exist"
22
"Invalid XML in file %1:\n%2","Invalid XML in file %1:\n%2"
33
.,.
4+
"The consumer isn't authorized to access %1","The consumer isn't authorized to access %1"
5+
"Please specify the profile ID","Please specify the profile ID"
6+
"The process has been started.","The process has been started."
7+
"Current status: %1; Processed Records: %2/%3","Current status: %1; Processed Records: %2/%3"
8+
"Class %1 must implement %2 interface","Class %1 must implement %2 interface"
9+
"Profile runner with type ""%1"" not found","Profile runner with type ""%1"" not found"
410
"The PHP function exec is disabled. Please contact your system administrator or your hosting provider.","The PHP function exec is disabled. Please contact your system administrator or your hosting provider."
511
"Error occurred during ""%field_name"" processing. %details","Error occurred during ""%field_name"" processing. %details"

registration.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
/**
3+
* @author Amasty Team
4+
* @copyright Copyright (c) Amasty (https://www.amasty.com)
5+
* @package Import-Export Core for Magento 2 (System)
6+
*/
27
\Magento\Framework\Component\ComponentRegistrar::register(
38
\Magento\Framework\Component\ComponentRegistrar::MODULE,
49
'Amasty_ImportExportCore',

0 commit comments

Comments
 (0)