From dc8efb6896b58995a2282c821933ba71adbaa851 Mon Sep 17 00:00:00 2001 From: Jerzy Lekowski Date: Thu, 15 Jul 2021 15:50:07 +0100 Subject: [PATCH] Add pond5/async-request-bundle recipe --- .../1.1/config/packages/pond5_async_request.yaml | 10 ++++++++++ pond5/async-request-bundle/1.1/manifest.json | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 pond5/async-request-bundle/1.1/config/packages/pond5_async_request.yaml create mode 100644 pond5/async-request-bundle/1.1/manifest.json diff --git a/pond5/async-request-bundle/1.1/config/packages/pond5_async_request.yaml b/pond5/async-request-bundle/1.1/config/packages/pond5_async_request.yaml new file mode 100644 index 00000000..519952b0 --- /dev/null +++ b/pond5/async-request-bundle/1.1/config/packages/pond5_async_request.yaml @@ -0,0 +1,10 @@ +pond5_async_request: + #header: X-Request-Async # user defined header name to indicate asynchronous request - X-Request-Async used by default + #methods: [DELETE, PATCH, POST, PUT] # HTTP methods that should support async requests + transport: async-request # messenger transport name, ignored if messenger routing for Pond5\AsyncRequestBundle\Message\AsyncRequestNotification is configured manually + +# can be omitted when using transport configured in another file (e.g. messenger.yaml) +framework: + messenger: + transports: + async-request: '%env(MESSENGER_TRANSPORT_DSN)%' diff --git a/pond5/async-request-bundle/1.1/manifest.json b/pond5/async-request-bundle/1.1/manifest.json new file mode 100644 index 00000000..f91c60de --- /dev/null +++ b/pond5/async-request-bundle/1.1/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Pond5\\AsyncRequestBundle\\Pond5AsyncRequestBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}