diff --git a/patchlevel/event-sourcing-bundle/2.0/config/packages/dev/patchlevel_event_sourcing.yaml b/patchlevel/event-sourcing-bundle/2.0/config/packages/dev/patchlevel_event_sourcing.yaml new file mode 100644 index 00000000..8c7ccec8 --- /dev/null +++ b/patchlevel/event-sourcing-bundle/2.0/config/packages/dev/patchlevel_event_sourcing.yaml @@ -0,0 +1,3 @@ +patchlevel_event_sourcing: + watch_server: + enabled: true diff --git a/patchlevel/event-sourcing-bundle/2.0/config/packages/patchlevel_event_sourcing.yaml b/patchlevel/event-sourcing-bundle/2.0/config/packages/patchlevel_event_sourcing.yaml new file mode 100644 index 00000000..3460251c --- /dev/null +++ b/patchlevel/event-sourcing-bundle/2.0/config/packages/patchlevel_event_sourcing.yaml @@ -0,0 +1,5 @@ +patchlevel_event_sourcing: + aggregates: '%kernel.project_dir%/src' + events: '%kernel.project_dir%/src' + connection: + url: '%env(EVENTSTORE_URL)%' diff --git a/patchlevel/event-sourcing-bundle/2.0/manifest.json b/patchlevel/event-sourcing-bundle/2.0/manifest.json new file mode 100644 index 00000000..763e21d9 --- /dev/null +++ b/patchlevel/event-sourcing-bundle/2.0/manifest.json @@ -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" + } +}