Skip to content

Commit 84d1fbb

Browse files
author
Wenhao Zhang
committed
update according to comments
1 parent e8d8b0a commit 84d1fbb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/container-apps/java-gateway-for-spring-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ az containerapp env java-component gateway-for-spring show \
2929
## Update
3030

3131
You can update the configuration and routes of Gateway for Spring component using the `update` command.
32-
Before you run the following command, replace placeholders surrounded by `<>` with your values.
32+
Before you run the following command, replace placeholders surrounded by `<>` with your values. Please refer to the [Route file format](#route-file-format) section to see how to write the route file.
3333

3434
```azurecli
3535
az containerapp env java-component gateway-for-spring update \
@@ -54,7 +54,7 @@ az containerapp env java-component list \
5454

5555
## Route file format
5656

57-
The Gateway for Spring component supports defining routes through properties with id, uri, predicates, and filters. Following is an example YAML file that demonstrates how to configure these properties.
57+
The Gateway for Spring component supports defining routes through properties with id, uri, predicates, and filters. For more details, refer to the [Spring Cloud Gateway documentation](https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/#configuring-route-predicate-factories-and-gateway-filter-factories). Following is an example YAML file that demonstrates how to configure these properties.
5858

5959
```yaml
6060
springCloudGatewayRoutes:

articles/container-apps/java-gateway-for-spring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Before you begin to work with the Gateway for Spring, you first need to create t
4848

4949
Execute the following commands to create your resource group and Container Apps environment.
5050

51-
1. Create variables to support your application configuration. These values are provided for you for the purposes of this lesson.
51+
1. Create variables to support your application configuration. These values are provided for you for the purposes of this lesson. We will use the actuator endpoint of admin for spring sample app in this lesson.
5252

5353
```bash
5454
export LOCATION=eastus
@@ -120,7 +120,7 @@ Now that you have a Container Apps environment, you can create your container ap
120120

121121
## Update the Gateway Routes to route requests
122122

123-
1. Create a YAML file with the following content. Replace <MYAPP_URL> with the container app fqdn from the previous step.
123+
1. Create a YAML file with the following content. Replace `<MYAPP_URL>` with the container app fqdn from the previous step.
124124

125125
```yaml
126126
springCloudGatewayRoutes:

0 commit comments

Comments
 (0)