Created Prooph package recipes

This commit is contained in:
Gildas Quéméner
2018-03-22 13:03:06 +01:00
parent 2013913487
commit 053b5d8992
8 changed files with 43 additions and 14 deletions
@@ -0,0 +1,11 @@
prooph_event_store:
stores:
app:
event_store: 'Prooph\EventStore\EventStore'
# repositories:
# App\EventSourcing\TodoRepository:
# aggregate_type: App\EventSourcing\Todo
# aggregate_translator: Prooph\EventSourcing\EventStoreIntegration\AggregateTranslator
services:
Prooph\Common\Messaging\MessageFactory: '@prooph_event_store.message_factory'
@@ -0,0 +1,8 @@
{
"bundles": {
"Prooph\\Bundle\\EventStore\\ProophEventStoreBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,8 @@
prooph_event_store:
stores:
app:
event_store: 'Prooph\EventStore\EventStore'
# repositories:
# App\EventSourcing\TodoRepository:
# aggregate_type: App\EventSourcing\Todo
# aggregate_translator: Prooph\EventSourcing\EventStoreIntegration\AggregateTranslator
@@ -0,0 +1,8 @@
{
"bundles": {
"Prooph\\Bundle\\EventStore\\ProophEventStoreBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -1,12 +1,3 @@
prooph_event_store:
stores:
app:
event_store: 'Prooph\EventStore\EventStore'
# repositories:
# App\EventSourcing\TodoRepository:
# aggregate_type: App\EventSourcing\Todo
# aggregate_translator: Prooph\EventSourcing\EventStoreIntegration\AggregateTranslator
services:
_defaults:
autowire: true
@@ -14,7 +5,6 @@ services:
Prooph\EventStore\EventStore: '@Prooph\EventStore\Pdo\MySqlEventStore'
Prooph\EventStore\Pdo\PersistenceStrategy: '@Prooph\EventStore\Pdo\PersistenceStrategy\MySqlSingleStreamStrategy'
Prooph\Common\Messaging\MessageFactory: '@prooph_event_store.message_factory'
PDO:
class: \PDO
@@ -1,8 +1,4 @@
{
"bundles": {
"Prooph\\Bundle\\ServiceBus\\ProophServiceBusBundle": ["all"],
"Prooph\\Bundle\\EventStore\\ProophEventStoreBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
@@ -0,0 +1,8 @@
{
"bundles": {
"Prooph\\Bundle\\ServiceBus\\ProophServiceBusBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}