From 5336b8e8de968e483b393aa7b9a56494928ff74d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 11 Feb 2021 11:56:25 +0100 Subject: [PATCH 1/2] Add new recipe ecphp/api-gw-authentication-bundle --- ecphp/api-gw-authentication-bundle/1.0/manifest.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ecphp/api-gw-authentication-bundle/1.0/manifest.json diff --git a/ecphp/api-gw-authentication-bundle/1.0/manifest.json b/ecphp/api-gw-authentication-bundle/1.0/manifest.json new file mode 100644 index 00000000..3f1488fb --- /dev/null +++ b/ecphp/api-gw-authentication-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "EcPhp\\ApiGwAuthenticationBundle\\ApiGwAuthenticationBundle": ["all"] + }, + "copy-from-package": { + "Resources/config/": "%CONFIG_DIR%/" + } +} From 164fd13b7f53bd4b2c145c7e5f1ee663e8dfdad7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 12 Feb 2021 14:21:13 +0100 Subject: [PATCH 2/2] Make sure it complies with the new best practice rule. --- .../1.0/config/packages/dev/api_gw_authentication.yaml | 3 +++ .../1.0/config/routes/dev/api_gw_authentication.yaml | 3 +++ ecphp/api-gw-authentication-bundle/1.0/manifest.json | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 ecphp/api-gw-authentication-bundle/1.0/config/packages/dev/api_gw_authentication.yaml create mode 100644 ecphp/api-gw-authentication-bundle/1.0/config/routes/dev/api_gw_authentication.yaml diff --git a/ecphp/api-gw-authentication-bundle/1.0/config/packages/dev/api_gw_authentication.yaml b/ecphp/api-gw-authentication-bundle/1.0/config/packages/dev/api_gw_authentication.yaml new file mode 100644 index 00000000..63a9e69c --- /dev/null +++ b/ecphp/api-gw-authentication-bundle/1.0/config/packages/dev/api_gw_authentication.yaml @@ -0,0 +1,3 @@ +api_gw_authentication: + defaults: + env: acceptance # Available values are: acceptance, intra, production, user diff --git a/ecphp/api-gw-authentication-bundle/1.0/config/routes/dev/api_gw_authentication.yaml b/ecphp/api-gw-authentication-bundle/1.0/config/routes/dev/api_gw_authentication.yaml new file mode 100644 index 00000000..367db10a --- /dev/null +++ b/ecphp/api-gw-authentication-bundle/1.0/config/routes/dev/api_gw_authentication.yaml @@ -0,0 +1,3 @@ +api_gw_authentication_bundle: + resource: '@ApiGwAuthenticationBundle/Resources/config/routes/routes.php' + prefix: /api diff --git a/ecphp/api-gw-authentication-bundle/1.0/manifest.json b/ecphp/api-gw-authentication-bundle/1.0/manifest.json index 3f1488fb..76db2c28 100644 --- a/ecphp/api-gw-authentication-bundle/1.0/manifest.json +++ b/ecphp/api-gw-authentication-bundle/1.0/manifest.json @@ -2,7 +2,7 @@ "bundles": { "EcPhp\\ApiGwAuthenticationBundle\\ApiGwAuthenticationBundle": ["all"] }, - "copy-from-package": { - "Resources/config/": "%CONFIG_DIR%/" + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" } }