From f49de114cb36a794afaec6320544847402fbea41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 6 Oct 2025 21:14:20 +0300 Subject: [PATCH] Revert "New section: Note for the Kubernetes Deployment Configuration" This reverts commit c692fd5f4fb982fe65855368ee1021b50a9d03b7. --- docs/en/tutorials/microservice/part-06.md | 27 ++--------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/docs/en/tutorials/microservice/part-06.md b/docs/en/tutorials/microservice/part-06.md index 51eb574c7a..e5a8f53fe5 100644 --- a/docs/en/tutorials/microservice/part-06.md +++ b/docs/en/tutorials/microservice/part-06.md @@ -252,8 +252,6 @@ It opens the *Generate C# proxies* window. Select the `CloudCrm.CatalogService` Proxy classes for the `IProductIntegrationService` interface have been generated. -### Adding Static HTTP Client Proxies - Lastly, open the `CloudCrmOrderingServiceModule` class (the `CloudCrmOrderingServiceModule.cs` file under the `CloudCrm.OrderingService` project of the `CloudCrm.OrderingService` .NET solution) and add the following code to the `ConfigureServices` method: ```csharp @@ -262,31 +260,10 @@ public override void ConfigureServices(ServiceConfigurationContext context) // Other configurations... context.Services.AddStaticHttpClientProxies( typeof(CloudCrmCatalogServiceContractsModule).Assembly, - "CatalogService" - ); + "CatalogService"); } -``` - -Notice that `CatalogService` is the remote service name for the HTTP Client proxy. - -### Note for the Kubernetes Deployment Configuration -ABP Studio automatically adds the base URL of the catalog service to the `appsettings.json` file of the `CloudCrm.OrderingService` project when you generate the C# client proxies: - -````json -"RemoteServices": { - "CatalogService": { - "BaseUrl": "http://localhost:..." - } -} -```` - -If you will deploy your solution to Kubernetes, you should add that configuration to the `env` section of your `ordering` Helm chart's pod definition file (default location in the file system: `/etc/helm/cloudcrm/charts/ordering/templates/ordering.yaml`). Example configuration: - -````yaml -- name: "RemoteServices__CatalogService__BaseUrl" - value: "http://{{ .Release.Name }}-catalog" -```` +``` ### Updating the UI to Display the Product Name