Skip to content

Commit 95dac23

Browse files
committed
Acrolinx fixes
1 parent 16e8a36 commit 95dac23

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

articles/spring-apps/how-to-configure-enterprise-spring-cloud-gateway.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ req.send();
262262
263263
Cross-origin resource sharing (CORS) allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served. The available CORS configuration options are described in the following table.
264264
265-
| Property | Description |
266-
|-------------------------|-----------------------------------------------------------------------------------|
267-
| `allowedOrigins` | Allowed origins to make cross-site requests. |
268-
| `allowedOriginPatterns` | Allowed origin patterns to make cross-site requests. |
269-
| `allowedMethods` | Allowed HTTP methods on cross-site requests. |
270-
| `allowedHeaders` | Allowed headers in cross-site request. |
271-
| `maxAge` | How long, in seconds, the response from a preflight request is cached by clients. |
272-
| `allowCredentials` | Whether user credentials are supported on cross-site requests. |
273-
| `exposedHeaders` | HTTP response headers to expose for cross-site requests. |
265+
| Property | Description |
266+
|-------------------------|----------------------------------------------------------------------------|
267+
| `allowedOrigins` | Allowed origins to make cross-site requests. |
268+
| `allowedOriginPatterns` | Allowed origin patterns to make cross-site requests. |
269+
| `allowedMethods` | Allowed HTTP methods on cross-site requests. |
270+
| `allowedHeaders` | Allowed headers in cross-site request. |
271+
| `maxAge` | How long, in seconds, clients cache the response from a preflight request. |
272+
| `allowCredentials` | Whether user credentials are supported on cross-site requests. |
273+
| `exposedHeaders` | HTTP response headers to expose for cross-site requests. |
274274
275275
> [!NOTE]
276276
> Be sure you have the correct CORS configuration if you want to integrate with API portal. For more information, see the [Configure Spring Cloud Gateway](#configure-spring-cloud-gateway) section.
@@ -420,7 +420,7 @@ For information on the available metrics, see the [User metrics options](./conce
420420

421421
## Configure environment variables
422422

423-
Spring Cloud Gateway is managed and tuned by the Azure Spring Apps service. Except for the use cases that configure application performance monitoring and the log level, you don't normally need to configure it with environment variables. But if you do have requirements that you can't fulfill by other configurations described in this article, you can try to configure the environment variables shown in the [Common application properties](https://cloud.spring.io/spring-cloud-gateway/reference/html/appendix.html#common-application-properties) list. Be sure to verify your configuration in your test environment before applying it to your production environment.
423+
The Azure Spring Apps service manages and tunes Spring Cloud Gateway. Except for the use cases that configure application performance monitoring and the log level, you don't normally need to configure it with environment variables. But if you do have requirements that you can't fulfill by other configurations described in this article, you can try to configure the environment variables shown in the [Common application properties](https://cloud.spring.io/spring-cloud-gateway/reference/html/appendix.html#common-application-properties) list. Be sure to verify your configuration in your test environment before applying it to your production environment.
424424

425425
#### [Azure portal](#tab/Azure-portal)
426426

@@ -522,8 +522,8 @@ You can configure the log levels of Spring Cloud Gateway in the following ways t
522522
- The default log level for Spring Cloud Gateway is `INFO`.
523523
- You can set log levels to `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `OFF`.
524524
- You can turn off logs by setting log levels to `OFF`.
525-
- When log levels are set to `WARN`, `ERROR`, `OFF`, you may be required to adjust it to `INFO` when requesting support from the Azure Spring Apps team. This change will cause a restart of Spring Cloud Gateway.
526-
- When log levels are set to `TRACE` or `DEBUG`, it may impact the performance of Spring Cloud Gateway. Try avoid these settings in your production environment.
525+
- When log levels are set to `WARN`, `ERROR`, `OFF`, you may be required to adjust it to `INFO` when requesting support from the Azure Spring Apps team. This change causes a restart of Spring Cloud Gateway.
526+
- When log levels are set to `TRACE` or `DEBUG`, it may affect the performance of Spring Cloud Gateway. Try avoid these settings in your production environment.
527527
- You can set log levels for the `root` logger or specific loggers like `io.pivotal.spring.cloud.gateway`.
528528

529529
The following loggers may contain valuable troubleshooting information at the `TRACE` and `DEBUG` levels:
@@ -574,7 +574,7 @@ If the log level is sensitive information in your case, you can include it by us
574574
575575
The addon configuration feature enables you to customize certain properties of Spring Cloud Gateway using a JSON format string. The feature is useful when you need to configure properties that aren't exposed through the REST API.
576576

577-
The addon configuration is a JSON object with key-value paris representing the desired configuration. The following example shows the structure of the JSON format:
577+
The addon configuration is a JSON object with key-value pairs representing the desired configuration. The following example shows the structure of the JSON format:
578578

579579
```json
580580
{

articles/spring-apps/how-to-enterprise-deploy-app-at-scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When you deploy Azure Spring Apps in an Azure virtual network, you need to confi
2424

2525
To avoid this problem, you should reserve subnet ranges that are large enough to support the number of application instances. For subnets, Azure reserves five IP addresses, and Azure Spring Apps requires at least three IP addresses. We recommend that you reserve at least the `/24` subnet ranges for the apps subnet.
2626

27-
For more information about how deploy an Azure Spring Apps instance in your virtual network, see [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
27+
For more information about how to deploy an Azure Spring Apps instance in your virtual network, see [Deploy Azure Spring Apps in a virtual network](how-to-deploy-in-azure-virtual-network.md).
2828

2929
## Restrictions
3030

0 commit comments

Comments
 (0)