You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/_data/whats-new.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,10 @@ description: This page contains recent changes that we think you'd like to know
4
4
We exclude from this list proofreading, spelling checks, and all minor updates.
5
5
link: "/whats-new.html"
6
6
thread: "/whatsnew-feed.xml"
7
-
updated: Mon Nov 22 15:39:00 2021
7
+
updated: Mon Nov 29 15:40:15 2021
8
8
entries:
9
-
- description: Added the 'Reindexing in parallel mode` section to the [Manage the indexers](https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-index.html)
9
+
- description: Added the 'Reindexing in parallel mode` section to the [Manage the
Updating the environment configuration triggers a redeployment, which takes your site offline until deployment completes. For Production environments, Adobe recommends completing this work during off-peak hours to avoid service disruptions. See [Working with variables]({{site.baseurl}}/cloud/env/working-with-variables.html).
Copy file name to clipboardExpand all lines: src/cloud/project/new-relic.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -106,8 +106,7 @@ To connect a Cloud environment to New Relic, add the New Relic license key to th
106
106
107
107
For Starter environments, enable the New Relic integration by adding the New Relic license key to the environment configuration. We recommend adding the key to the Staging and Production (master) environments and one other environment of your choice. Only the New Relic license key is required for configuration. You can find information about additional configuration options in the [New Relic reporting] topic in the _{{site.data.var.ee}} User Guide_.
108
108
109
-
{:.bs-callout-warning}
110
-
Updating the environment configuration triggers a redeployment, which takes your site offline until deployment completes. For Production environments, we recommend completing this work during off-peak hours to avoid service disruptions. See [Working with variables].
109
+
{% include cloud/note-env-config-redeploy-warning.md%}
111
110
112
111
**Prerequisites:**
113
112
@@ -393,4 +392,3 @@ See [Alerts concepts and workflow] in the New Relic documentation for more detai
393
392
[Update the account owner]: https://docs.newrelic.com/docs/accounts/accounts/roles-permissions/change-account-owner
394
393
[Update policies or conditions]: https://docs.newrelic.com/docs/alerts/new-relic-alerts/configuring-alert-policies/update-or-disable-policies-conditions
395
394
[View your license key]: https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/license-key#finding
396
-
[Working with variables]: {{site.baseurl}}/cloud/env/working-with-variables.html
The {{site.data.var.ece}} [Project Web Interface](https://account.magento.com/customer/account/login/) enables you to do the following for all Starter and Pro environments:
@@ -56,76 +57,145 @@ You can set the following configuration options for each environment:
56
57
</tr>
57
58
<tr>
58
59
<td>Outgoing emails</td>
59
-
<td>Setting to <strong>On</strong> means that code in your environment can send and receive e-mails (for example, using PHP <code>mail()</code> function. </td>
60
+
<td>Setting this option <strong>On</strong> enables support for sending emails from the environment using the SMTP protocol.</td>
60
61
</tr>
61
62
<tr>
62
63
<td>HTTP access control</td>
63
-
<td>Setting to <strong>On</strong> enables you to configure security for the project's Web Interface using a login and also IP address access control.</td>
64
+
<td>Setting this option <strong>On</strong> enables you to configure security for the Project Web Interface using a login and also IP address access control.</td>
64
65
</tr>
65
66
</table>
66
67
67
68
### Configure emails for testing {#email}
68
69
69
-
One of these environment variables enables or disables outgoing emails for the environment. If you wanted to test email notifications for the environment, you need to set this option On.
70
+
By default, email support is **disabled** on Staging and Production environments. You must enable email support on an environment to send emails including Welcome, password reset, and two-factor authentication emails for Cloud project users.
70
71
71
-
1.[Access your project](#project-access) and select a specific environment.
72
-
1. Select the Settings tab.
73
-
1. For the **Outgoing emails** option, select the toggle to On.
72
+
You can manage email support for each Cloud project environment from the Project Web Interface or from the command line.
73
+
74
+
- On master and integration branches, use the *Outgoing emails* toggle in the Project Web interface to enable or disable email support.
75
+
76
+
- On Production and Staging environments or other environments where the *Outgoing emails toggle* is not available in the Project Web Interface, you can check the current configuration from the Project Web Interface, but you can only change the configuration from the command line using the [Cloud CLI for Commerce]({{ site.baseurl }}/cloud/reference/cli-ref-topic.html) `environment:info` command to set the `enable_smtp` property.
77
+
78
+
Enabling SMTP updates the `MAGENTO_CLOUD_SMTP_HOST` environment variable with the IP address of the SMTP host for sending mail.
79
+
80
+
{% include cloud/note-env-config-redeploy-warning.md%}
81
+
82
+
{:.procedure}
83
+
To manage email support from the Project Web Interface:
84
+
85
+
1.[Access your project](#project-access) and select the environment to configure.
86
+
87
+
1. Select **Configure environment**, and then select the **Variables** tab.
88
+
89
+
1. To enable or disable outgoing emails, toggle *Outgoing emails***On** or **Off**.
1. From the command line, change to the directory where you [cloned your Cloud project]({{ site.baseurl }}/cloud/before/before-setup-env-2_clone.html#clone-the-project).
105
+
106
+
1. Log in to the project.
107
+
108
+
```bash
109
+
magento-cloud login
110
+
```
111
+
112
+
1. If you do not have the project ID and environment ID for the environment, use the following commands to get the values.
113
+
114
+
```bash
115
+
magento-cloud project:list
116
+
```
117
+
118
+
```bash
119
+
magento-cloud environments -p <project-id>
120
+
```
121
+
122
+
1. Change the email support configuration by setting the `enable_smtp` environment variable to `true` or `false`.
You can set project wide and environment specific variables through the Project Web Interface. Variables can be either text or JSON format. For more information, see [Environment variables]({{ site.baseurl }}/cloud/env/variables-intro.html).
146
+
## Set project and environment variables {#project-conf-env-var}
82
147
83
-
For an example of variables, we walk you through creating Admin variables through Onboarding and project creation tasks. You may want to add _environment variables_ for sensitive data like payment method information. _Project variables_ are set across all branches and environments.
148
+
You can set project wide and environment specific variables through the Project Web Interface. Variables can be either text or JSON format. _Project variables_ are set across all branches and environments. Use _environment variables_ for sensitive data like payment method information. For more information, see [Environment variables]({{ site.baseurl }}/cloud/env/variables-intro.html).
84
149
85
150
To view or edit environment variables, you must have at minimum the project reader role with [environment admin]({{ site.baseurl }}/cloud/project/user-admin.html) privileges.
86
151
87
152
{% include cloud/wings-variables.md %}
88
153
89
-
### Environment variable {#env}
154
+
### Project variables {#project}
90
155
91
-
To set environment specific variables in the Project Web Interface:
156
+
To set project variables in the Project Web Interface:
157
+
158
+
1. [Access your project](#project-access).
159
+
1. Select the Settings icon, and thenselectthe**Variables** tab.
1. As needed, select options for **JSON value**, **Enabled**, **Inheritable by child environments** and **Sensitive**. If you do not have Super User access, you may only see the JSON value option.
169
+
1. As needed, selectoptionsfor**JSON value**, **Visible during build**, and **Visible during runtime**. If you do not have Super User access, you may only see the JSON value option.
102
170
1. Click **Add Variable**. After you add the variable, the environment will deploy. Wait until deployment completes before more edits.
103
171
104
-
{:.bs-callout-warning}
105
-
If you are attempting to [override configuration settings]({{ site.baseurl }}
106
-
), you must prepend `env:` to the variable name. For example:
1. As needed, select options for **JSON value**, **Visible during build**, and **Visible during runtime**. If you do not have Super User access, you may only see the JSON value option.
185
+
1. As needed, selectoptionsfor**JSON value**, **Enabled**, **Inheritable by child environments** and **Sensitive**. If you do not have Super User access, you may only see the JSON value option.
122
186
1. Click **Add Variable**. After you add the variable, the environment will deploy. Wait until deployment completes before more edits.
123
187
188
+
{:.bs-callout-warning}
189
+
If you are attempting to [override configuration settings]({{ site.baseurl }}
190
+
), you must prepend `env:` to the variable name. For example:
Routes allow you to set redirects or upstream settings for applications for your specific environment. For full details on routes, see [routes.yaml]({{ site.baseurl }}/cloud/project/routes.html). These routes (or URLs) are used to access your storefront.
127
196
128
197
1. [Access your project](#project-access) and select a specific environment.
198
+
1. Select **Configure environment**.
129
199
1. Select the Routes tab.
130
200
1. Select **Add Route**.
131
201
1. Enter a URL. You can use `{default}`in the URL, which is a placeholder for the default domain.
@@ -141,7 +211,7 @@ Routes allow you to set redirects or upstream settings for applications for your
141
211
1. To configure a Redirect, enter a URL to **Redirect to**. You can use `{default}`in the URL, which is a placeholder for the default domain.
142
212
1. Click **Add Route** to save. The setting is saved and deployed to the environment.
143
213
144
-

214
+
{:width="650px"}
145
215
146
216
## View environment history {#project-conf-hist}
147
217
@@ -152,19 +222,19 @@ An environment's history includes:
152
222
- Syncs and merges
153
223
- Code pushes
154
224
155
-
To view the history for an environment, log in to your project and select the environment. The page displays a general history of actions completed on the page. For a detailed list of completed actions during build and deployment, we recommend reviewing logs directly on the servers. See [View logs]({{ site.baseurl }}/cloud/project/log-locations.html).
225
+
To view the history for an environment, log in to your project and select the environment. The page displays a general history of actions completed on the page. For a detailed list of completed actions during build and deployment, Adobe recommends reviewing logs directly on the servers. See [View logs]({{ site.baseurl }}/cloud/project/log-locations.html).
Copy file name to clipboardExpand all lines: src/guides/v2.3/get-started/bk-get-started-api.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ functional_areas:
14
14
15
15
The Magento web [API](https://glossary.magento.com/api) framework provides integrators and developers the means to use web services that communicate with the Magento system. Key features include:
16
16
17
-
* Support for both[REST]({{ page.baseurl }}/rest/bk-rest.html) (Representational State Transfer) and [SOAP]({{ page.baseurl }}/soap/bk-soap.html) (Simple Object Access Protocol). In Magento 2, the [web API](https://glossary.magento.com/web-api) coverage is the same for both REST and SOAP.
17
+
* Support for [GraphQL]({{page.baseurl}}/graphql/index.html),[REST]({{ page.baseurl }}/rest/bk-rest.html) (Representational State Transfer) and [SOAP]({{ page.baseurl }}/soap/bk-soap.html) (Simple Object Access Protocol). In Magento 2, the [web API](https://glossary.magento.com/web-api) coverage is the same for both REST and SOAP.
18
18
19
19
* Three types of [authentication]({{ page.baseurl }}/get-started/authentication/gs-authentication.html):
20
20
* Third-party applications authenticate with [OAuth 1.0a]({{ page.baseurl }}/get-started/authentication/gs-authentication-oauth.html).
0 commit comments