Skip to content

Commit

Permalink
Merge pull request #37 from FATCHIP-GmbH/0077053_sw_5_7_compat
Browse files Browse the repository at this point in the history
0077053 sw 5 7 compat
  • Loading branch information
markusmichalski-fc authored Jul 7, 2021
2 parents 28d7c37 + 44409f1 commit 608555a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 15 deletions.
26 changes: 13 additions & 13 deletions Resources/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,75 +48,75 @@
<!-- Commands -->

<service id="viaeb_shopware_afterbuy.commands.export_status" class="viaebShopwareAfterbuy\Commands\ExportStatus" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Import:Status" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.internal.read_status_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.external.write_status_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.import_categories" class="viaebShopwareAfterbuy\Commands\ImportCategories" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Import:Categories" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.external.read_categories_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.internal.write_categories_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.export_categories" class="viaebShopwareAfterbuy\Commands\ExportCategories" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Export:Categories" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.internal.read_categories_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.external.write_categories_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.export_orders" class="viaebShopwareAfterbuy\Commands\ExportOrders" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Export:Orders" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.internal.read_orders_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.external.write_orders_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.import_orders" class="viaebShopwareAfterbuy\Commands\ImportOrders" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Import:Orders" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.external.read_orders_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.internal.write_orders_service" />
<argument type="service" id="shopware.plugin.cached_config_reader" />
<argument type="string">%viaeb_shopware_afterbuy.plugin_name%</argument>
</service>

<service id="viaeb_shopware_afterbuy.commands.import_products" class="viaebShopwareAfterbuy\Commands\ImportProducts" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Import:Products" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.external.read_products_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.internal.write_products_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.export_products" class="viaebShopwareAfterbuy\Commands\ExportProducts" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Export:Products" />
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.internal.read_products_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.external.write_products_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.update_products" class="viaebShopwareAfterbuy\Commands\UpdateProducts" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Update:Products" />
<argument type="service" id="shopware.plugin.cached_config_reader" />
<argument type="string">%viaeb_shopware_afterbuy.plugin_name%</argument>
</service>

<service id="viaeb_shopware_afterbuy.commands.update_stock" class="viaebShopwareAfterbuy\Commands\UpdateStock" public="true">
<tag name="console.command" />
<argument type="service" id="shopware.plugin.cached_config_reader" />
<tag name="console.command" command="Afterbuy:Update:Stock" />
<argument type="service" id="shopware.plugin.cached_config_reader" />
<argument type="string">%viaeb_shopware_afterbuy.plugin_name%</argument>
</service>

<service id="viaeb_shopware_afterbuy.commands.update_orders" class="viaebShopwareAfterbuy\Commands\UpdateOrders" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Update:Orders" />
<argument type="service" id="shopware.plugin.cached_config_reader" />
<argument type="string">%viaeb_shopware_afterbuy.plugin_name%</argument>
</service>

<service id="viaeb_shopware_afterbuy.commands.import_status" class="viaebShopwareAfterbuy\Commands\ImportStatus" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Import:Status"/>
<argument type="service" id="viaeb_shopware_afterbuy.services.read_data.external.read_orders_service" />
<argument type="service" id="viaeb_shopware_afterbuy.services.write_data.internal.write_status_service" />
</service>

<service id="viaeb_shopware_afterbuy.commands.reset_shop_connection" class="viaebShopwareAfterbuy\Commands\ResetShopConnection" public="true">
<tag name="console.command" />
<tag name="console.command" command="Afterbuy:Reset:Connection"/>
<argument type="service" id="viaeb_shopware_afterbuy.services.helper.shopware_reset_helper" />
</service>

Expand Down
20 changes: 18 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,24 @@
<license>GPL-3.0-only</license>
<link>https://www.via-connect.de/</link>
<author>ViA-Online GmbH</author>
<compatibility minVersion="5.4.0" />
<changelog version="1.0.4">
<compatibility minVersion="5.6.0" />
<changelog version="1.0.5">
<changes lang="de">
<![CDATA[
<ul>
<li>Anpassungen für Shopware 5.7</li>
<li>Support für Shopwareversionen < 5.6 eingestellt</li>
</ul>
]]>
</changes>
<changes lang="en">
<![CDATA[
<ul>
<li>Customizations for Shopware 5.7</li>
<li>Support for Shopware versions <5.6 discontinued</li>
</ul>
]]>
</changes>
<changes lang="de">
<![CDATA[
<ul>
Expand Down

0 comments on commit 608555a

Please sign in to comment.