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%/" + } +}