From 9f7c0c19fe869542e5dfa4d20fece42fad3a6d0e Mon Sep 17 00:00:00 2001 From: Laurent Bassin Date: Thu, 6 Dec 2018 15:22:22 +0100 Subject: [PATCH 1/2] Add mailjet-bundle recipe --- .../mailjet-bundle/1.0/config/packages/mailjet.yaml | 4 ++++ mailjet/mailjet-bundle/1.0/manifest.json | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml create mode 100644 mailjet/mailjet-bundle/1.0/manifest.json diff --git a/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml b/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml new file mode 100644 index 00000000..6c3fc424 --- /dev/null +++ b/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml @@ -0,0 +1,4 @@ +mailjet: + api_key: "%env(MJ_APIKEY_PUBLIC)%" + secret_key: "%env(MJ_APIKEY_PRIVATE)%" + diff --git a/mailjet/mailjet-bundle/1.0/manifest.json b/mailjet/mailjet-bundle/1.0/manifest.json new file mode 100644 index 00000000..5c3ca375 --- /dev/null +++ b/mailjet/mailjet-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Mailjet\\MailjetBundle\\MailjetBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "MJ_APIKEY_PUBLIC": "your-api_key", + "MJ_APIKEY_PRIVATE": "@@your-secret_key" + } +} From 6b70e1f246daf84f2b9db9aff74bca38a76db8ad Mon Sep 17 00:00:00 2001 From: Laurent Bassin Date: Tue, 11 Dec 2018 09:03:58 +0100 Subject: [PATCH 2/2] Rename Mailjet env --- mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml | 4 ++-- mailjet/mailjet-bundle/1.0/manifest.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml b/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml index 6c3fc424..c81c3ff1 100644 --- a/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml +++ b/mailjet/mailjet-bundle/1.0/config/packages/mailjet.yaml @@ -1,4 +1,4 @@ mailjet: - api_key: "%env(MJ_APIKEY_PUBLIC)%" - secret_key: "%env(MJ_APIKEY_PRIVATE)%" + api_key: "%env(MAILJET_APIKEY_PUBLIC)%" + secret_key: "%env(MAILJET_APIKEY_PRIVATE)%" diff --git a/mailjet/mailjet-bundle/1.0/manifest.json b/mailjet/mailjet-bundle/1.0/manifest.json index 5c3ca375..2e9806dd 100644 --- a/mailjet/mailjet-bundle/1.0/manifest.json +++ b/mailjet/mailjet-bundle/1.0/manifest.json @@ -6,7 +6,7 @@ "config/": "%CONFIG_DIR%/" }, "env": { - "MJ_APIKEY_PUBLIC": "your-api_key", - "MJ_APIKEY_PRIVATE": "@@your-secret_key" + "MAILJET_APIKEY_PUBLIC": "your-api_key", + "MAILJET_APIKEY_PRIVATE": "@@your-secret_key" } }