Skip to content

Commit 8d490a4

Browse files
committed
edits
1 parent 383156c commit 8d490a4

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

articles/spring-apps/migration/migrate-to-azure-container-apps-components-gateway.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
title: Migrate Spring Cloud Gateway for VMWare Tanzu to a Managed Gateway for Spring in Azure Container Apps
3-
description: Describes how to migrate Spring Cloud Gateway for VMWare Tanzu to a managed gateway for Spring in Azure Container Apps.
2+
title: Migrate Spring Cloud Gateway for VMWare Tanzu to the Managed Gateway for Spring in Azure Container Apps
3+
description: Describes how to migrate Spring Cloud Gateway for VMWare Tanzu to the managed Gateway for Spring in Azure Container Apps.
44
author: KarlErickson
55
ms.author: karler
66
ms.reviewer: dixue
7+
ms.service: azure-spring-apps
78
ms.topic: upgrade-and-migration-article
8-
ms.date: 04/04/2025
9+
ms.date: 04/14/2025
910
ms.custom: devx-track-java
1011
---
1112

@@ -15,19 +16,19 @@ ms.custom: devx-track-java
1516

1617
**This article applies to:** ❎ Basic/Standard ✅ Enterprise
1718

18-
This article shows you how to migrate a Spring Cloud Gateway for VMWare Tanzu project running on an Azure Spring Apps Enterprise plan to a project running as a self-hosted, open source software (OSS) Spring Cloud Gateway project running as an Azure Container Apps application.
19+
This article shows you how to migrate a Spring Cloud Gateway for VMWare Tanzu project running on the Azure Spring Apps Enterprise plan to a self-hosted, open source software (OSS) Spring Cloud Gateway project running as an Azure Container Apps application.
1920

20-
The OSS version of Spring Cloud Gateway mentioned in this page is provided as an example for reference. Users can choose other distributions of Spring Cloud Gateway based on their requirements.
21+
The OSS version of Spring Cloud Gateway mentioned in this page is provided as an example for reference. You can choose other distributions of Spring Cloud Gateway based on your requirements.
2122

2223
> [!NOTE]
2324
> The features offered by Spring Cloud Gateway for VMWare Tanzu are more extensive than the features in the OSS version. Be sure to examine the differences and ensure compatibility before moving to production.
2425
2526
## Prerequisites
2627

2728
- An Azure Spring Apps Enterprise plan instance with Spring Cloud Gateway enabled.
28-
- An Azure Container Apps instance. For more information, see [Quickstart: Deploy your first container app using the Azure portal](/azure/container-apps/quickstart-portal).
29+
- An Azure Container Apps instance. For more information, see [Quickstart: Deploy your first container app using the Azure portal](../../container-apps/quickstart-portal.md).
2930
- [Azure CLI](/cli/azure/install-azure-cli)
30-
- An Azure container registry with sufficient permissions to build and push Docker images. For more information, see [Create a container registry](/azure/container-registry/container-registry-get-started-azure-cli#create-a-container-registry).
31+
- An Azure container registry instance with sufficient permissions to build and push Docker images. For more information, see [Quickstart: Create a private container registry using the Azure CLI](/azure/container-registry/container-registry-get-started-azure-cli).
3132

3233
## Prepare the code of the self-hosted Spring Cloud Gateway application
3334

@@ -143,7 +144,7 @@ spring:
143144
- StripPrefix=1
144145
```
145146

146-
Spring Cloud Gateway for VMWare Tanzu sets `StripPrefix=1` by default on every route. To migrate to a Spring Cloud Gateway, you need to explicitly set `StripPrefix=1` in the filter configuration.
147+
Spring Cloud Gateway for VMWare Tanzu sets `StripPrefix=1` by default on every route. To migrate to Spring Cloud Gateway, you need to explicitly set `StripPrefix=1` in the filter configuration.
147148

148149
To enable your Spring Cloud Gateway application to access other applications through the app name, you need to enable ingress for your Azure Container App applications. You can also set the accessible fully qualified domain name (FQDN) of the Azure Container Apps application to be the URI of the route, following the format `https://<app-name>.<container-app-env-name>.<region>.azurecontainerapps.io`.
149150

@@ -165,7 +166,7 @@ spring:
165166
size: <response-cache-size>
166167
```
167168

168-
If you enable the response cache for the route, you can use the [`LocalResponseCache`](https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/#local-cache-response-filter) filter in the routing rule configuration of the managed gateway for your Spring project by using the following example:
169+
If you enable the response cache for the route, you can use the [`LocalResponseCache`](https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/#local-cache-response-filter) filter in the routing rule configuration of the managed Gateway for Spring by using the following example:
169170

170171
```yaml
171172
spring:
@@ -194,7 +195,7 @@ To build and push the Docker image, use the following steps:
194195

195196
1. In the Spring Cloud Gateway project directory, create a **Dockerfile** with the following contents:
196197

197-
> [!Note]
198+
> [!NOTE]
198199
> Alternatively, use the [ACME Fitness Store sample Dockerfile](https://github.com/Azure-Samples/acme-fitness-store/blob/Azure/azure-kubernetes-service/resources/gateway/gateway/Dockerfile).
199200

200201
```dockerfile
@@ -257,11 +258,11 @@ Access the FQDN of the Spring Cloud Gateway application to verify that it's runn
257258

258259
If you encounter issues when running the Spring Cloud Gateway application, you can view real-time and historical logs of the `gateway` application in Azure Container Apps. For more information, see [Application Logging in Azure Container Apps](/azure/container-apps/logging).
259260

260-
You can also monitor a gateway application's metrics. For more information, see [Monitor Azure Container Apps metrics](/azure/container-apps/metrics)
261+
You can also monitor a gateway application's metrics. For more information, see [Monitor Azure Container Apps metrics](/azure/container-apps/metrics).
261262

262263
## Known limitation
263264

264-
As far as we know, Spring Cloud Gateway doesn't support the following commercial features:
265+
The OSS Spring Cloud Gateway doesn't natively support the following commercial features:
265266

266267
- Metadata used to generate OpenAPI documentation.
267268
- Single sign-on (SSO) functionality.

0 commit comments

Comments
 (0)