Skip to content

Commit

Permalink
Release 1.2.0 and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-motorny-amasty committed Aug 11, 2023
1 parent bbc94e3 commit f6d74ea
Show file tree
Hide file tree
Showing 31 changed files with 187 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Api/Config/ConfigClass/ArgumentInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Api\Config\ConfigClass;

Expand Down
5 changes: 5 additions & 0 deletions Api/Config/ConfigClass/ConfigClassInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Api\Config\ConfigClass;

Expand Down
7 changes: 7 additions & 0 deletions Block/Adminhtml/System/Config/CliPhpPath.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?php

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Block\Adminhtml\System\Config;

use Amasty\ImportExportCore\Utils\CliPhpResolver;
Expand Down
6 changes: 6 additions & 0 deletions Config/ConfigClass/Argument.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\ConfigClass;

use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;
Expand Down
6 changes: 6 additions & 0 deletions Config/ConfigClass/ConfigClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\ConfigClass;

use Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface;
Expand Down
6 changes: 6 additions & 0 deletions Config/ConfigClass/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\ConfigClass;

use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;
Expand Down
6 changes: 6 additions & 0 deletions Config/SchemaReader/ConfigCompiler/IncludeElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\SchemaReader\ConfigCompiler;

use Magento\Framework\Exception\LocalizedException;
Expand Down
6 changes: 6 additions & 0 deletions Config/SchemaReader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\SchemaReader;

use Magento\Framework\App\Filesystem\DirectoryList;
Expand Down
6 changes: 6 additions & 0 deletions Config/Xml/ArgumentsPrepare.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Config\Xml;

use Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface;
Expand Down
6 changes: 6 additions & 0 deletions Parallelization/JobManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Parallelization;

use Magento\Framework\App\ResourceConnection;
Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Config/ConfigClass/DummyClass.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

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

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Config/ConfigClass/FactoryTest.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

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

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Config/Xml/ArgumentsPrepareTest.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

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

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Traits/ObjectManagerTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Test\Unit\Traits;

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Utils/DummyDataObjectInterface.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Test\Unit\Utils;

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Utils/SerializerTest.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Test\Unit\Utils;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

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

Expand Down
5 changes: 5 additions & 0 deletions Test/Unit/Utils/Type/Table/ConvertRowToMergedListTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

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

Expand Down
6 changes: 6 additions & 0 deletions Utils/CliPhpResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils;

use Magento\Framework\App\Config\ScopeConfigInterface;
Expand Down
5 changes: 5 additions & 0 deletions Utils/Internal/ArrayToObjectConvert.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils\Internal;

Expand Down
6 changes: 6 additions & 0 deletions Utils/OptionsProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils;

class OptionsProcessor
Expand Down
6 changes: 6 additions & 0 deletions Utils/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils;

use Amasty\ImportExportCore\Utils\Internal\ArrayToObjectConvert;
Expand Down
5 changes: 5 additions & 0 deletions Utils/Type/Table/ConvertRowTo2DimensionalArray.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils\Type\Table;

Expand Down
6 changes: 6 additions & 0 deletions Utils/Type/Table/ConvertRowToMergedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils\Type\Table;

class ConvertRowToMergedList
Expand Down
7 changes: 7 additions & 0 deletions Utils/Type/Table/Row/Header/DataHandler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?php

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils\Type\Table\Row\Header;

class DataHandler
Expand Down
7 changes: 7 additions & 0 deletions Utils/Type/Table/Row/Mapping/Processor.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?php

declare(strict_types=1);

/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/

namespace Amasty\ImportExportCore\Utils\Type\Table\Row\Mapping;

class Processor
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"php": ">=7.3"
},
"type": "magento2-module",
"version": "1.1.4",
"license": "proprietary",
"version": "1.2.0",
"license": [
"proprietary"
],
"autoload": {
"files": [
"registration.php"
Expand Down
19 changes: 19 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface" type="Amasty\ImportExportCore\Config\ConfigClass\ConfigClass"/>
<preference for="Amasty\ImportExportCore\Api\Config\ConfigClass\ArgumentInterface" type="Amasty\ImportExportCore\Config\ConfigClass\Argument"/>
<preference for="Amasty\ImportExportCore\Api\Profile\RunProfileResponseInterface" type="Amasty\ImportExportCore\Model\Profile\RunProfileResponse"/>
<preference for="Amasty\ImportExportCore\Api\Profile\ProfileManagerInterface" type="Amasty\ImportExportCore\Model\ProfileManager"/>
<preference for="Amasty\ImportExportCore\Api\Process\ProcessStatusInterface" type="Amasty\ImportExportCore\Model\Process\ProcessStatus"/>

<virtualType name="AmastyImportExportCompiler" type="Magento\Framework\View\TemplateEngine\Xhtml\Compiler" shared="false">
<arguments>
Expand All @@ -18,4 +27,14 @@
<type name="Magento\Framework\Mail\TransportInterface">
<plugin name="customer-sample-data-disable-registration-email-send" disabled="true"/>
</type>

<type name="Magento\Framework\Console\CommandListInterface">
<arguments>
<argument name="commands" xsi:type="array">
<item name="am_import_export_run_profile" xsi:type="object">Amasty\ImportExportCore\Console\Command\RunProfileCommand</item>
<item name="am_import_export_show_profile_runners" xsi:type="object">Amasty\ImportExportCore\Console\Command\ShowProfileRunnersList</item>
<item name="am_import_export_check_profile_status" xsi:type="object">Amasty\ImportExportCore\Console\Command\CheckProfileStatus</item>
</argument>
</arguments>
</type>
</config>
6 changes: 6 additions & 0 deletions etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Amasty_ImportExportCore" setup_version="1.0.0"/>
</config>
6 changes: 6 additions & 0 deletions i18n/en_US.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
"The file ""%1"" does not exist","The file ""%1"" does not exist"
"Invalid XML in file %1:\n%2","Invalid XML in file %1:\n%2"
.,.
"The consumer isn't authorized to access %1","The consumer isn't authorized to access %1"
"Please specify the profile ID","Please specify the profile ID"
"The process has been started.","The process has been started."
"Current status: %1; Processed Records: %2/%3","Current status: %1; Processed Records: %2/%3"
"Class %1 must implement %2 interface","Class %1 must implement %2 interface"
"Profile runner with type ""%1"" not found","Profile runner with type ""%1"" not found"
"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."
"Error occurred during ""%field_name"" processing. %details","Error occurred during ""%field_name"" processing. %details"
5 changes: 5 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import-Export Core for Magento 2 (System)
*/
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Amasty_ImportExportCore',
Expand Down

0 comments on commit f6d74ea

Please sign in to comment.