Skip to content

Commit

Permalink
PBC-1682 re-arrange messagebroker config so it's identical to other d…
Browse files Browse the repository at this point in the history
…emoshops, remove duplicated `CartsRestApiConstants::IS_QUOTE_RELOAD_ENABLED`
  • Loading branch information
Mads Nielsen committed Jun 16, 2023
1 parent 4d1934c commit ff181ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/Shared/config_default.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,10 +746,10 @@
ProductUpdatedTransfer::class => 'product-events',
ProductDeletedTransfer::class => 'product-events',
InitializeProductExportTransfer::class => 'product-commands',
SearchEndpointAvailableTransfer::class => 'search-commands',
SearchEndpointRemovedTransfer::class => 'search-commands',
AddReviewsTransfer::class => 'product-review-commands',
OrderStatusChangedTransfer::class => 'order-events',
SearchEndpointAvailableTransfer::class => 'search-commands',
SearchEndpointRemovedTransfer::class => 'search-commands',
];

$config[MessageBrokerConstants::CHANNEL_TO_TRANSPORT_MAP] = [
Expand All @@ -775,7 +775,6 @@
'order-events' => MessageBrokerAwsConfig::SQS_TRANSPORT,
];

$config[CartsRestApiConstants::IS_QUOTE_RELOAD_ENABLED] = true;
$config[MessageBrokerAwsConstants::CHANNEL_TO_SENDER_TRANSPORT_MAP] = [
'payment-commands' => 'http',
'product-events' => 'http',
Expand Down

0 comments on commit ff181ae

Please sign in to comment.