add patchlevel/event-sourcing-bundle (#1335)

* add patchlevel event sourcing bundle

* add new lines

* add improvements for version 1.2
This commit is contained in:
David Badura
2022-02-19 10:43:12 +01:00
committed by GitHub
parent cc76580a0c
commit b7cd7ffac7
6 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
patchlevel_event_sourcing:
watch_server:
enabled: true

View File

@@ -0,0 +1,3 @@
patchlevel_event_sourcing:
connection:
url: '%env(EVENTSTORE_URL)%'

View File

@@ -0,0 +1,15 @@
{
"bundles": {
"Patchlevel\\EventSourcingBundle\\PatchlevelEventSourcingBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
"#3": "",
"#4": "EVENTSTORE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "EVENTSTORE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
"EVENTSTORE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
}
}

View File

@@ -0,0 +1,3 @@
patchlevel_event_sourcing:
watch_server:
enabled: true

View File

@@ -0,0 +1,4 @@
patchlevel_event_sourcing:
aggregates_paths: '%kernel.project_dir%/src'
connection:
url: '%env(EVENTSTORE_URL)%'

View File

@@ -0,0 +1,15 @@
{
"bundles": {
"Patchlevel\\EventSourcingBundle\\PatchlevelEventSourcingBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
"#3": "",
"#4": "EVENTSTORE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "EVENTSTORE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
"EVENTSTORE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
}
}