Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRW-8766 Order matrix performance improvement integration. #413

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 114 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions config/Zed/cronjobs/jenkins.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@
'enable' => true,
];

$jobs[] = [
'name' => 'sync-order-matrix',
'command' => '$PHP_BIN vendor/bin/console order-matrix:sync',
'schedule' => '*/1 * * * *',
'enable' => true,
'global' => true,
];

if (getenv('SPRYKER_CURRENT_REGION')) {
foreach ($jobs as $job) {
$job['region'] = getenv('SPRYKER_CURRENT_REGION');
Expand Down
2 changes: 1 addition & 1 deletion config/Zed/navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<order-matrix>
<label>Order Matrix</label>
<title>Order Matrix</title>
<bundle>sales</bundle>
<bundle>order-matrix-gui</bundle>
<controller>matrix</controller>
<action>index</action>
<visible>1</visible>
Expand Down
2 changes: 2 additions & 0 deletions src/Pyz/Zed/Console/ConsoleDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
use Spryker\Zed\Oms\Communication\Console\CheckConditionConsole as OmsCheckConditionConsole;
use Spryker\Zed\Oms\Communication\Console\CheckTimeoutConsole as OmsCheckTimeoutConsole;
use Spryker\Zed\Oms\Communication\Console\ClearLocksConsole as OmsClearLocksConsole;
use Spryker\Zed\OrderMatrix\Communication\Console\OrderMatrixConsole;
use Spryker\Zed\PaymentDataImport\PaymentDataImportConfig;
use Spryker\Zed\PriceProduct\Communication\Console\PriceProductStoreOptimizeConsole;
use Spryker\Zed\PriceProductDataImport\PriceProductDataImportConfig;
Expand Down Expand Up @@ -400,6 +401,7 @@ protected function getConsoleCommands(Container $container): array
new DateTimeProductConfiguratorBuildFrontendConsole(),
new DeleteExpiredPushNotificationSubscriptionConsole(),
new SendPushNotificationConsole(),
new OrderMatrixConsole(),
];

$propelCommands = $container->getLocator()->propel()->facade()->getConsoleCommands();
Expand Down
Loading