From e6af85c608066ded43e267c5eca888ed1424fda5 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Wed, 20 Mar 2019 18:57:07 +0000 Subject: [PATCH] * Add a recipe for coka/pagination-bundle 4.0 --- coka/api-bundle/4.0/config/packages/oka_api.yaml | 14 ++++++++++++++ coka/api-bundle/4.0/manifest.json | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 coka/api-bundle/4.0/config/packages/oka_api.yaml create mode 100644 coka/api-bundle/4.0/manifest.json diff --git a/coka/api-bundle/4.0/config/packages/oka_api.yaml b/coka/api-bundle/4.0/config/packages/oka_api.yaml new file mode 100644 index 00000000..0261faf1 --- /dev/null +++ b/coka/api-bundle/4.0/config/packages/oka_api.yaml @@ -0,0 +1,14 @@ +oka_api: + cors: + default: + allow_credentials: true + expose_headers: ['Accept-Encoding'] + max_age: 3600 + firewalls: + wsse: + enabled: false + security_behaviors: + password_updater: false + response: + compression: + enabled: false diff --git a/coka/api-bundle/4.0/manifest.json b/coka/api-bundle/4.0/manifest.json new file mode 100644 index 00000000..dc012b8a --- /dev/null +++ b/coka/api-bundle/4.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\ApiBundle\\OkaApiBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}