From ab2ff585309eae7b9b35f51ae4a8da2c27b6ecaf Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Mon, 15 Oct 2018 18:36:43 +0000 Subject: [PATCH 1/5] * Add a recipe for coka/api-bundle * Add a recipe for coka/pagination-bundle --- coka/api-bundle/3.0/config/packages/oka_api.yaml | 15 +++++++++++++++ coka/api-bundle/3.0/manifest.json | 8 ++++++++ .../3.0/config/packages/oka_pagination.yaml | 3 +++ coka/pagination-bundle/3.0/manifest.json | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 coka/api-bundle/3.0/config/packages/oka_api.yaml create mode 100644 coka/api-bundle/3.0/manifest.json create mode 100644 coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml create mode 100644 coka/pagination-bundle/3.0/manifest.json diff --git a/coka/api-bundle/3.0/config/packages/oka_api.yaml b/coka/api-bundle/3.0/config/packages/oka_api.yaml new file mode 100644 index 00000000..1dde0936 --- /dev/null +++ b/coka/api-bundle/3.0/config/packages/oka_api.yaml @@ -0,0 +1,15 @@ +oka_api: + model_manager_name: null + cors: + default: + allow_credentials: true + expose_headers: ['Accept-Encoding'] + max_age: 3600 + firewalls: + wsse: + enabled: false + security_behaviors: + password_updater: true + response: + compression: + enabled: false diff --git a/coka/api-bundle/3.0/manifest.json b/coka/api-bundle/3.0/manifest.json new file mode 100644 index 00000000..3db1ef1e --- /dev/null +++ b/coka/api-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\ApiBundle\\OkaApiBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + } +} diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml new file mode 100644 index 00000000..6e94f51f --- /dev/null +++ b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml @@ -0,0 +1,3 @@ +oka_pagination: + db_driver: orm + model_manager_name: default diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json new file mode 100644 index 00000000..bd9ddded --- /dev/null +++ b/coka/pagination-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + } +} From 7ed90be0037c325ddb38ff77882bb618ee0c5690 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Mon, 15 Oct 2018 18:41:24 +0000 Subject: [PATCH 2/5] * fixed bug. --- coka/api-bundle/3.0/manifest.json | 2 +- coka/pagination-bundle/3.0/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coka/api-bundle/3.0/manifest.json b/coka/api-bundle/3.0/manifest.json index 3db1ef1e..dc012b8a 100644 --- a/coka/api-bundle/3.0/manifest.json +++ b/coka/api-bundle/3.0/manifest.json @@ -3,6 +3,6 @@ "Oka\\ApiBundle\\OkaApiBundle": ["all"] }, "copy-from-recipe": { - "config/": "%CONFIG_DIR%/", + "config/": "%CONFIG_DIR%/" } } diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json index bd9ddded..411770c8 100644 --- a/coka/pagination-bundle/3.0/manifest.json +++ b/coka/pagination-bundle/3.0/manifest.json @@ -3,6 +3,6 @@ "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] }, "copy-from-recipe": { - "config/": "%CONFIG_DIR%/", + "config/": "%CONFIG_DIR%/" } } From 1ca8f4aeccd4d4702549079648449170e0928f81 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Tue, 16 Oct 2018 13:05:23 +0000 Subject: [PATCH 3/5] * Remove recipe coka/pagination-bundle --- .../3.0/config/packages/oka_pagination.yaml | 3 --- coka/pagination-bundle/3.0/manifest.json | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml delete mode 100644 coka/pagination-bundle/3.0/manifest.json diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml deleted file mode 100644 index 6e94f51f..00000000 --- a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml +++ /dev/null @@ -1,3 +0,0 @@ -oka_pagination: - db_driver: orm - model_manager_name: default diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json deleted file mode 100644 index 411770c8..00000000 --- a/coka/pagination-bundle/3.0/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "bundles": { - "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -} From c7ff4a554fbba38a45158898e1b691bea13a0e75 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Wed, 17 Oct 2018 11:08:53 +0000 Subject: [PATCH 4/5] * Updated package config of coka/api-bundle recipe. --- coka/api-bundle/3.0/config/packages/oka_api.yaml | 1 - .../3.0/config/packages/oka_pagination.yaml | 3 +++ coka/pagination-bundle/3.0/manifest.json | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml create mode 100644 coka/pagination-bundle/3.0/manifest.json diff --git a/coka/api-bundle/3.0/config/packages/oka_api.yaml b/coka/api-bundle/3.0/config/packages/oka_api.yaml index 1dde0936..6a2dbc21 100644 --- a/coka/api-bundle/3.0/config/packages/oka_api.yaml +++ b/coka/api-bundle/3.0/config/packages/oka_api.yaml @@ -1,5 +1,4 @@ oka_api: - model_manager_name: null cors: default: allow_credentials: true diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml new file mode 100644 index 00000000..6e94f51f --- /dev/null +++ b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml @@ -0,0 +1,3 @@ +oka_pagination: + db_driver: orm + model_manager_name: default diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json new file mode 100644 index 00000000..411770c8 --- /dev/null +++ b/coka/pagination-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 37500c2b01b7cc8b434ba6edadfa0bf4c59d4777 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Wed, 17 Oct 2018 11:15:17 +0000 Subject: [PATCH 5/5] * Fixed bug. --- .../3.0/config/packages/oka_pagination.yaml | 3 --- coka/pagination-bundle/3.0/manifest.json | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml delete mode 100644 coka/pagination-bundle/3.0/manifest.json diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml deleted file mode 100644 index 6e94f51f..00000000 --- a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml +++ /dev/null @@ -1,3 +0,0 @@ -oka_pagination: - db_driver: orm - model_manager_name: default diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json deleted file mode 100644 index 411770c8..00000000 --- a/coka/pagination-bundle/3.0/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "bundles": { - "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -}