From 37b5172fd68d69c68196807490c7369d369daf0b Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 30 Apr 2022 18:00:35 +0000 Subject: [PATCH] Update Flex endpoint --- ...610928a5c61619bdfc830cd7fa7f091368023.json | 59 +++++++++++++++++++ index.json | 14 ++++- symfony.messenger.5.4.json | 59 +++++++++++++++++++ symfony.messenger.6.0.json | 56 ++++++++++++++++++ 4 files changed, 185 insertions(+), 3 deletions(-) create mode 100644 archived/symfony.messenger/dfe610928a5c61619bdfc830cd7fa7f091368023.json create mode 100644 symfony.messenger.5.4.json create mode 100644 symfony.messenger.6.0.json diff --git a/archived/symfony.messenger/dfe610928a5c61619bdfc830cd7fa7f091368023.json b/archived/symfony.messenger/dfe610928a5c61619bdfc830cd7fa7f091368023.json new file mode 100644 index 00000000..63359dd5 --- /dev/null +++ b/archived/symfony.messenger/dfe610928a5c61619bdfc830cd7fa7f091368023.json @@ -0,0 +1,59 @@ +{ + "manifests": { + "symfony/messenger": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the transports below", + "#2": "MESSENGER_TRANSPORT_DSN=doctrine://default", + "#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages" + }, + "conflict": { + "symfony/framework-bundle": "<4.3" + }, + "post-install-output": [ + " * You're ready to use the Messenger component. You can define your own message buses", + " or start using the default one right now by injecting the message_bus service", + " or type-hinting Symfony\\Component\\Messenger\\MessageBusInterface in your code.", + "", + " * To send messages to a transport and handle them asynchronously:", + "", + " 1. Uncomment the MESSENGER_TRANSPORT_DSN env var in .env", + " and framework.messenger.transports.async in config/packages/messenger.yaml;", + " 2. Route your message classes to the async transport in config/packages/messenger.yaml.", + "", + " * Read the documentation at https://symfony.com/doc/current/messenger.html" + ] + }, + "files": { + "config/packages/messenger.yaml": { + "contents": [ + "framework:", + " messenger:", + " # reset services after consuming messages", + " reset_on_message: true", + "", + " # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.", + " # failure_transport: failed", + "", + " transports:", + " # https://symfony.com/doc/current/messenger.html#transport-configuration", + " # async: '%env(MESSENGER_TRANSPORT_DSN)%'", + " # failed: 'doctrine://default?queue_name=failed'", + " # sync: 'sync://'", + "", + " routing:", + " # Route your messages to the transports", + " # 'App\\Message\\YourMessage': async", + "" + ], + "executable": false + } + }, + "ref": "dfe610928a5c61619bdfc830cd7fa7f091368023" + } + } +} diff --git a/index.json b/index.json index e3fde63d..50055a38 100644 --- a/index.json +++ b/index.json @@ -598,7 +598,9 @@ ], "symfony/messenger": [ "4.1", - "4.3" + "4.3", + "5.4", + "6.0" ], "symfony/microsoft-teams-notifier": [ "5.3" @@ -814,6 +816,12 @@ }, "4.3": { "symfony/framework-bundle": "<4.3" + }, + "5.4": { + "symfony/framework-bundle": "<4.3" + }, + "6.0": { + "symfony/framework-bundle": "<4.3" } }, "symfony/monolog-bundle": { @@ -2172,11 +2180,11 @@ ] } }, - "branch": "master", + "branch": "main", "is_contrib": false, "_links": { "repository": "github.com/symfony/recipes", - "origin_template": "{package}:{version}@github.com/symfony/recipes:master", + "origin_template": "{package}:{version}@github.com/symfony/recipes:main", "recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/main/{package_dotted}.{version}.json", "recipes_template_relative": "{package_dotted}.{version}.json", "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/main/archived/{package_dotted}/{ref}.json", diff --git a/symfony.messenger.5.4.json b/symfony.messenger.5.4.json new file mode 100644 index 00000000..63359dd5 --- /dev/null +++ b/symfony.messenger.5.4.json @@ -0,0 +1,59 @@ +{ + "manifests": { + "symfony/messenger": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the transports below", + "#2": "MESSENGER_TRANSPORT_DSN=doctrine://default", + "#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages" + }, + "conflict": { + "symfony/framework-bundle": "<4.3" + }, + "post-install-output": [ + " * You're ready to use the Messenger component. You can define your own message buses", + " or start using the default one right now by injecting the message_bus service", + " or type-hinting Symfony\\Component\\Messenger\\MessageBusInterface in your code.", + "", + " * To send messages to a transport and handle them asynchronously:", + "", + " 1. Uncomment the MESSENGER_TRANSPORT_DSN env var in .env", + " and framework.messenger.transports.async in config/packages/messenger.yaml;", + " 2. Route your message classes to the async transport in config/packages/messenger.yaml.", + "", + " * Read the documentation at https://symfony.com/doc/current/messenger.html" + ] + }, + "files": { + "config/packages/messenger.yaml": { + "contents": [ + "framework:", + " messenger:", + " # reset services after consuming messages", + " reset_on_message: true", + "", + " # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.", + " # failure_transport: failed", + "", + " transports:", + " # https://symfony.com/doc/current/messenger.html#transport-configuration", + " # async: '%env(MESSENGER_TRANSPORT_DSN)%'", + " # failed: 'doctrine://default?queue_name=failed'", + " # sync: 'sync://'", + "", + " routing:", + " # Route your messages to the transports", + " # 'App\\Message\\YourMessage': async", + "" + ], + "executable": false + } + }, + "ref": "dfe610928a5c61619bdfc830cd7fa7f091368023" + } + } +} diff --git a/symfony.messenger.6.0.json b/symfony.messenger.6.0.json new file mode 100644 index 00000000..0102b068 --- /dev/null +++ b/symfony.messenger.6.0.json @@ -0,0 +1,56 @@ +{ + "manifests": { + "symfony/messenger": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Choose one of the transports below", + "#2": "MESSENGER_TRANSPORT_DSN=doctrine://default", + "#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages" + }, + "conflict": { + "symfony/framework-bundle": "<4.3" + }, + "post-install-output": [ + " * You're ready to use the Messenger component. You can define your own message buses", + " or start using the default one right now by injecting the message_bus service", + " or type-hinting Symfony\\Component\\Messenger\\MessageBusInterface in your code.", + "", + " * To send messages to a transport and handle them asynchronously:", + "", + " 1. Uncomment the MESSENGER_TRANSPORT_DSN env var in .env", + " and framework.messenger.transports.async in config/packages/messenger.yaml;", + " 2. Route your message classes to the async transport in config/packages/messenger.yaml.", + "", + " * Read the documentation at https://symfony.com/doc/current/messenger.html" + ] + }, + "files": { + "config/packages/messenger.yaml": { + "contents": [ + "framework:", + " messenger:", + " # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.", + " # failure_transport: failed", + "", + " transports:", + " # https://symfony.com/doc/current/messenger.html#transport-configuration", + " # async: '%env(MESSENGER_TRANSPORT_DSN)%'", + " # failed: 'doctrine://default?queue_name=failed'", + " # sync: 'sync://'", + "", + " routing:", + " # Route your messages to the transports", + " # 'App\\Message\\YourMessage': async", + "" + ], + "executable": false + } + }, + "ref": "25e3c964d3aee480b3acc3114ffb7940c89edfed" + } + } +}