diff --git a/RECIPES.md b/RECIPES.md index e2e2293d..2c6bc36c 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -382,7 +382,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [overblog/graphql-bundle](https://packagist.org/packages/overblog/graphql-bundle) | [0.12](overblog/graphql-bundle/0.12) | | [pablok/supercache-bundle](https://packagist.org/packages/pablok/supercache-bundle) | [0.5](pablok/supercache-bundle/0.5) | | [pasaiakoudala/authbundle](https://packagist.org/packages/pasaiakoudala/authbundle) | [0.1](pasaiakoudala/authbundle/0.1) | -| [patchlevel/event-sourcing-bundle](https://packagist.org/packages/patchlevel/event-sourcing-bundle) | [1.2](patchlevel/event-sourcing-bundle/1.2) | +| [patchlevel/event-sourcing-bundle](https://packagist.org/packages/patchlevel/event-sourcing-bundle) | [2.0](patchlevel/event-sourcing-bundle/2.0) | | [payplug/sylius-payplug-plugin](https://packagist.org/packages/payplug/sylius-payplug-plugin) | [0.2](payplug/sylius-payplug-plugin/0.2) | | [payum/payum-bundle](https://packagist.org/packages/payum/payum-bundle) | [2.4](payum/payum-bundle/2.4) | | [pentatrion/upload-bundle](https://packagist.org/packages/pentatrion/upload-bundle) | [0.2](pentatrion/upload-bundle/0.2) | diff --git a/archived/patchlevel.event-sourcing-bundle/5ddf986105aea8d777f6218687a8c64ace32dcd9.json b/archived/patchlevel.event-sourcing-bundle/5ddf986105aea8d777f6218687a8c64ace32dcd9.json new file mode 100644 index 00000000..45ef0d73 --- /dev/null +++ b/archived/patchlevel.event-sourcing-bundle/5ddf986105aea8d777f6218687a8c64ace32dcd9.json @@ -0,0 +1,46 @@ +{ + "manifests": { + "patchlevel/event-sourcing-bundle": { + "manifest": { + "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" + } + }, + "files": { + "config/packages/dev/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " watch_server:", + " enabled: true", + "" + ], + "executable": false + }, + "config/packages/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " aggregates: '%kernel.project_dir%/src'", + " events: '%kernel.project_dir%/src'", + " connection:", + " url: '%env(EVENTSTORE_URL)%'", + "" + ], + "executable": false + } + }, + "ref": "5ddf986105aea8d777f6218687a8c64ace32dcd9" + } + } +} diff --git a/index.json b/index.json index 7753db7d..55d44a48 100644 --- a/index.json +++ b/index.json @@ -1195,7 +1195,8 @@ ], "patchlevel/event-sourcing-bundle": [ "1.0", - "1.2" + "1.2", + "2.0" ], "payplug/sylius-payplug-plugin": [ "0.2" diff --git a/patchlevel.event-sourcing-bundle.2.0.json b/patchlevel.event-sourcing-bundle.2.0.json new file mode 100644 index 00000000..45ef0d73 --- /dev/null +++ b/patchlevel.event-sourcing-bundle.2.0.json @@ -0,0 +1,46 @@ +{ + "manifests": { + "patchlevel/event-sourcing-bundle": { + "manifest": { + "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" + } + }, + "files": { + "config/packages/dev/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " watch_server:", + " enabled: true", + "" + ], + "executable": false + }, + "config/packages/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " aggregates: '%kernel.project_dir%/src'", + " events: '%kernel.project_dir%/src'", + " connection:", + " url: '%env(EVENTSTORE_URL)%'", + "" + ], + "executable": false + } + }, + "ref": "5ddf986105aea8d777f6218687a8c64ace32dcd9" + } + } +}