first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
services:
PrestaShop\Module\PsEventbus\Api\EventBusSyncClient:
class: PrestaShop\Module\PsEventbus\Api\EventBusSyncClient
arguments:
- '@ps_eventbus.link'
PrestaShop\Module\PsEventbus\Api\EventBusProxyClient:
class: PrestaShop\Module\PsEventbus\Api\EventBusProxyClient
arguments:
- '@ps_eventbus.link'

View File

@@ -0,0 +1,12 @@
services:
PrestaShop\Module\PsEventbus\Decorator\ProductDecorator:
class: PrestaShop\Module\PsEventbus\Decorator\ProductDecorator
arguments:
- '@ps_eventbus.context'
- '@PrestaShop\Module\PsEventbus\Repository\LanguageRepository'
- '@PrestaShop\Module\PsEventbus\Repository\ProductRepository'
- '@PrestaShop\Module\PsEventbus\Repository\CategoryRepository'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Decorator\CategoryDecorator:
class: PrestaShop\Module\PsEventbus\Decorator\CategoryDecorator

View File

@@ -0,0 +1,34 @@
<?php
/**
* 2007-2020 PrestaShop.
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,41 @@
services:
PrestaShop\Module\PsEventbus\Provider\ModuleDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\ModuleDataProvider
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\ModuleRepository'
PrestaShop\Module\PsEventbus\Provider\ProductDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\ProductDataProvider
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\ProductRepository'
- '@PrestaShop\Module\PsEventbus\Decorator\ProductDecorator'
- '@PrestaShop\Module\PsEventbus\Repository\LanguageRepository'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Provider\CategoryDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\CategoryDataProvider
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\CategoryRepository'
- '@PrestaShop\Module\PsEventbus\Decorator\CategoryDecorator'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Provider\OrderDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\OrderDataProvider
arguments:
- '@ps_eventbus.context'
- '@PrestaShop\Module\PsEventbus\Repository\OrderRepository'
- '@PrestaShop\Module\PsEventbus\Repository\OrderDetailsRepository'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Provider\CartDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\CartDataProvider
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\CartRepository'
- '@PrestaShop\Module\PsEventbus\Repository\CartProductRepository'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Provider\GoogleTaxonomyDataProvider:
class: PrestaShop\Module\PsEventbus\Provider\GoogleTaxonomyDataProvider
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\GoogleTaxonomyRepository'
- '@ps_eventbus.context'

View File

@@ -0,0 +1,101 @@
services:
PrestaShop\Module\PsEventbus\Repository\CurrencyRepository:
class: PrestaShop\Module\PsEventbus\Repository\CurrencyRepository
PrestaShop\Module\PsEventbus\Repository\LanguageRepository:
class: PrestaShop\Module\PsEventbus\Repository\LanguageRepository
PrestaShop\Module\PsEventbus\Repository\ConfigurationRepository:
class: PrestaShop\Module\PsEventbus\Repository\ConfigurationRepository
PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository:
class: PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\CategoryRepository:
class: PrestaShop\Module\PsEventbus\Repository\CategoryRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\ImageRepository:
class: PrestaShop\Module\PsEventbus\Repository\ImageRepository
arguments:
- '@ps_eventbus.db'
PrestaShop\Module\PsEventbus\Repository\ModuleRepository:
class: PrestaShop\Module\PsEventbus\Repository\ModuleRepository
arguments:
- '@ps_eventbus.db'
PrestaShop\Module\PsEventbus\Repository\ProductRepository:
class: PrestaShop\Module\PsEventbus\Repository\ProductRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Repository\ServerInformationRepository:
class: PrestaShop\Module\PsEventbus\Repository\ServerInformationRepository
arguments:
- '@ps_eventbus.context'
- '@ps_eventbus.db'
- '@PrestaShop\Module\PsEventbus\Repository\CurrencyRepository'
- '@PrestaShop\Module\PsEventbus\Repository\LanguageRepository'
- '@PrestaShop\Module\PsEventbus\Repository\ConfigurationRepository'
- '@PrestaShop\Module\PsEventbus\Repository\ShopRepository'
- '@PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter'
PrestaShop\Module\PsEventbus\Repository\ThemeRepository:
class: PrestaShop\Module\PsEventbus\Repository\ThemeRepository
arguments:
- '@ps_eventbus.context'
- '@ps_eventbus.db'
PrestaShop\Module\PsEventbus\Repository\OrderRepository:
class: PrestaShop\Module\PsEventbus\Repository\OrderRepository
arguments:
- '@ps_eventbus.db'
PrestaShop\Module\PsEventbus\Repository\OrderDetailsRepository:
class: PrestaShop\Module\PsEventbus\Repository\OrderDetailsRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\CartRepository:
class: PrestaShop\Module\PsEventbus\Repository\CartRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\CartProductRepository:
class: PrestaShop\Module\PsEventbus\Repository\CartProductRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\GoogleTaxonomyRepository:
class: PrestaShop\Module\PsEventbus\Repository\GoogleTaxonomyRepository
arguments:
- '@ps_eventbus.db'
PrestaShop\Module\PsEventbus\Repository\DeletedObjectsRepository:
class: PrestaShop\Module\PsEventbus\Repository\DeletedObjectsRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\IncrementalSyncRepository:
class: PrestaShop\Module\PsEventbus\Repository\IncrementalSyncRepository
arguments:
- '@ps_eventbus.db'
- '@ps_eventbus.context'
PrestaShop\Module\PsEventbus\Repository\ShopRepository:
class: PrestaShop\Module\PsEventbus\Repository\ShopRepository
arguments:
- '@ps_eventbus.context'
- '@ps_eventbus.db'

View File

@@ -0,0 +1,44 @@
imports:
- { resource: ../common.yml }
- { resource: api.yml }
- { resource: decorator.yml }
- { resource: provider.yml }
- { resource: repository.yml }
services:
PrestaShop\Module\PsEventbus\Formatter\JsonFormatter:
class: PrestaShop\Module\PsEventbus\Formatter\JsonFormatter
PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter:
class: PrestaShop\Module\PsEventbus\Formatter\ArrayFormatter
PrestaShop\Module\PsEventbus\Service\CompressionService:
class: PrestaShop\Module\PsEventbus\Service\CompressionService
arguments:
- '@PrestaShop\Module\PsEventbus\Formatter\JsonFormatter'
PrestaShop\Module\PsEventbus\Service\ProxyService:
class: PrestaShop\Module\PsEventbus\Service\ProxyService
arguments:
- '@PrestaShop\Module\PsEventbus\Api\EventBusProxyClient'
- '@PrestaShop\Module\PsEventbus\Formatter\JsonFormatter'
PrestaShop\Module\PsEventbus\Service\ApiAuthorizationService:
class: PrestaShop\Module\PsEventbus\Service\ApiAuthorizationService
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository'
- '@PrestaShop\Module\PsEventbus\Api\EventBusSyncClient'
PrestaShop\Module\PsEventbus\Service\DeletedObjectsService:
class: PrestaShop\Module\PsEventbus\Service\DeletedObjectsService
arguments:
- '@ps_eventbus.context'
- '@PrestaShop\Module\PsEventbus\Repository\DeletedObjectsRepository'
- '@PrestaShop\Module\PsEventbus\Service\ProxyService'
PrestaShop\Module\PsEventbus\Service\SynchronizationService:
class: PrestaShop\Module\PsEventbus\Service\SynchronizationService
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\IncrementalSyncRepository'
- '@PrestaShop\Module\PsEventbus\Service\ProxyService'