From 68af58946bb7994c4b8f26a3e8aa9601b84e1ff2 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Tue, 22 Aug 2017 03:54:59 +0200 Subject: [PATCH 1/6] Added manifest for thephpleague/tactician-bundle --- thephpleague/tactician-bundle/0.4/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 thephpleague/tactician-bundle/0.4/manifest.json diff --git a/thephpleague/tactician-bundle/0.4/manifest.json b/thephpleague/tactician-bundle/0.4/manifest.json new file mode 100644 index 00000000..029b56d8 --- /dev/null +++ b/thephpleague/tactician-bundle/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "bundles": { + "League\\Tactician\\Bundle\\TacticianBundle": ["all"] + } +} From eb8df5127d829289bf19fec9911940928de9eaf2 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Tue, 22 Aug 2017 04:03:26 +0200 Subject: [PATCH 2/6] Moved recipe to directory reflecting packagist name --- {thephpleague => league}/tactician-bundle/0.4/manifest.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {thephpleague => league}/tactician-bundle/0.4/manifest.json (100%) diff --git a/thephpleague/tactician-bundle/0.4/manifest.json b/league/tactician-bundle/0.4/manifest.json similarity index 100% rename from thephpleague/tactician-bundle/0.4/manifest.json rename to league/tactician-bundle/0.4/manifest.json From e4618e292d21a9600d72adcf483ef64101cf561e Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Tue, 22 Aug 2017 04:19:55 +0200 Subject: [PATCH 3/6] Example tactician-bundle config --- .../0.4/config/packages/league_tactician.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 league/tactician-bundle/0.4/config/packages/league_tactician.yaml diff --git a/league/tactician-bundle/0.4/config/packages/league_tactician.yaml b/league/tactician-bundle/0.4/config/packages/league_tactician.yaml new file mode 100644 index 00000000..85522f44 --- /dev/null +++ b/league/tactician-bundle/0.4/config/packages/league_tactician.yaml @@ -0,0 +1,17 @@ +# Library documentation: http://tactician.thephpleague.com/ +# Bundle documentation: https://github.com/thephpleague/tactician-bundle/blob/v0.4.1/README.md +tactician: + default_bus: default + commandbus: + default: + middleware: + - tactician.middleware.command_handler +# Example of separate command/query buses with transactional command bus +# query: +# middleware: +# - tactician.middleware.command_handler +# command: +# middleware: +# # Transactional command bus - requires http://tactician.thephpleague.com/plugins/doctrine/ +# - tactician.middleware.doctrine +# - tactician.middleware.command_handler From d1d42ee1d389954a90fa9ac60c902dee3e20dc55 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Tue, 22 Aug 2017 04:21:31 +0200 Subject: [PATCH 4/6] Tell flex to copy example config --- league/tactician-bundle/0.4/manifest.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/league/tactician-bundle/0.4/manifest.json b/league/tactician-bundle/0.4/manifest.json index 029b56d8..d4b570b6 100644 --- a/league/tactician-bundle/0.4/manifest.json +++ b/league/tactician-bundle/0.4/manifest.json @@ -1,5 +1,8 @@ { "bundles": { "League\\Tactician\\Bundle\\TacticianBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" } } From afe12a008f7846df3297e2b502b81cc0e1a5b6c5 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Sat, 26 Aug 2017 22:16:33 +0200 Subject: [PATCH 5/6] Fixed example buses indentation --- .../0.4/config/packages/league_tactician.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/league/tactician-bundle/0.4/config/packages/league_tactician.yaml b/league/tactician-bundle/0.4/config/packages/league_tactician.yaml index 85522f44..f713589e 100644 --- a/league/tactician-bundle/0.4/config/packages/league_tactician.yaml +++ b/league/tactician-bundle/0.4/config/packages/league_tactician.yaml @@ -7,11 +7,11 @@ tactician: middleware: - tactician.middleware.command_handler # Example of separate command/query buses with transactional command bus -# query: -# middleware: -# - tactician.middleware.command_handler -# command: -# middleware: -# # Transactional command bus - requires http://tactician.thephpleague.com/plugins/doctrine/ -# - tactician.middleware.doctrine -# - tactician.middleware.command_handler +# query: +# middleware: +# - tactician.middleware.command_handler +# command: +# middleware: +# # Transactional command bus - requires http://tactician.thephpleague.com/plugins/doctrine/ +# - tactician.middleware.doctrine +# - tactician.middleware.command_handler From 5bee1efdb2ccd03a9d9877830cca77acee704b31 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Sun, 15 Oct 2017 00:55:00 +0200 Subject: [PATCH 6/6] Added middleware examples, recipe targets 1.0 --- .../0.4/config/packages/league_tactician.yaml | 17 ----------------- .../1.0/config/packages/league_tactician.yaml | 15 +++++++++++++++ .../tactician-bundle/{0.4 => 1.0}/manifest.json | 0 3 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 league/tactician-bundle/0.4/config/packages/league_tactician.yaml create mode 100644 league/tactician-bundle/1.0/config/packages/league_tactician.yaml rename league/tactician-bundle/{0.4 => 1.0}/manifest.json (100%) diff --git a/league/tactician-bundle/0.4/config/packages/league_tactician.yaml b/league/tactician-bundle/0.4/config/packages/league_tactician.yaml deleted file mode 100644 index f713589e..00000000 --- a/league/tactician-bundle/0.4/config/packages/league_tactician.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Library documentation: http://tactician.thephpleague.com/ -# Bundle documentation: https://github.com/thephpleague/tactician-bundle/blob/v0.4.1/README.md -tactician: - default_bus: default - commandbus: - default: - middleware: - - tactician.middleware.command_handler -# Example of separate command/query buses with transactional command bus -# query: -# middleware: -# - tactician.middleware.command_handler -# command: -# middleware: -# # Transactional command bus - requires http://tactician.thephpleague.com/plugins/doctrine/ -# - tactician.middleware.doctrine -# - tactician.middleware.command_handler diff --git a/league/tactician-bundle/1.0/config/packages/league_tactician.yaml b/league/tactician-bundle/1.0/config/packages/league_tactician.yaml new file mode 100644 index 00000000..08e40b94 --- /dev/null +++ b/league/tactician-bundle/1.0/config/packages/league_tactician.yaml @@ -0,0 +1,15 @@ +# Library documentation: http://tactician.thephpleague.com/ +# Bundle documentation: https://github.com/thephpleague/tactician-bundle/blob/v1.0/README.md +tactician: + commandbus: + default: + middleware: +# Security middleware - https://github.com/thephpleague/tactician-bundle#security-middleware-tacticianmiddlewaresecurity +# - tactician.middleware.security +# Validator middleware - https://github.com/thephpleague/tactician-bundle/tree/v1.0#validator-middleware-tacticianmiddlewarevalidator +# - tactician.middleware.validator +# Locking middleware - http://tactician.thephpleague.com/plugins/locking-middleware/ +# - tactician.middleware.locking +# Doctrine transactional middleware, requires additional package - https://github.com/thephpleague/tactician-doctrine +# - tactician.middleware.doctrine + - tactician.middleware.command_handler diff --git a/league/tactician-bundle/0.4/manifest.json b/league/tactician-bundle/1.0/manifest.json similarity index 100% rename from league/tactician-bundle/0.4/manifest.json rename to league/tactician-bundle/1.0/manifest.json