Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
Merge d46404e into 9b19fcd
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Feb 8, 2017
2 parents 9b19fcd + d46404e commit 8047397
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 171 deletions.
25 changes: 14 additions & 11 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Broadway\Serializer\SimpleInterfaceSerializer;
use CommerceGuys\Intl\Currency\CurrencyRepository;
use CommerceGuys\Intl\NumberFormat\NumberFormatRepository;
use CultuurNet\Broadway\EventHandling\ReplayFilteringEventListener;
use CultuurNet\BroadwayAMQP\DomainMessageJSONDeserializer;
use CultuurNet\BroadwayAMQP\EventBusForwardingConsumerFactory;
use CultuurNet\Deserializer\SimpleDeserializerLocator;
Expand Down Expand Up @@ -480,18 +481,20 @@ function (Application $app) {

$app['saga_manager'] = $app->share(
function (Application $app) {
return new MultipleSagaManager(
$app['saga_repository'],
[
'uitpas_sync' => $app['uitpas_event_saga'],
],
new StateManager(
return new ReplayFilteringEventListener(
new MultipleSagaManager(
$app['saga_repository'],
$app['uuid_generator']
),
new StaticallyConfiguredSagaMetadataFactory(),
new EventDispatcher(),
$app['state_copier']
[
'uitpas_sync' => $app['uitpas_event_saga'],
],
new StateManager(
$app['saga_repository'],
$app['uuid_generator']
),
new StaticallyConfiguredSagaMetadataFactory(),
new EventDispatcher(),
$app['state_copier']
)
);
}
);
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"require": {
"silex/silex": "~1.3",
"cultuurnet/udb3": "~0.1",
"cultuurnet/broadway-tools": "dev-feature/III-1777 as 0.1",
"deralex/yaml-config-service-provider": "~1.0",
"knplabs/console-service-provider": "~1.0",
"jdesrosiers/silex-cors-provider": "~0.1.4",
Expand Down
Loading

0 comments on commit 8047397

Please sign in to comment.