From 090b7309f7a6bcd805dd63f2d440813fb399c9a6 Mon Sep 17 00:00:00 2001 From: ahmetfarukulu Date: Thu, 29 Aug 2024 15:39:31 +0300 Subject: [PATCH] Update productServiceServiceRootUrl to productServiceRootUrl in adding-new-microservices documentation --- .../microservice/adding-new-microservices.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/solution-templates/microservice/adding-new-microservices.md b/docs/en/solution-templates/microservice/adding-new-microservices.md index 0a9ee2808c..a1728fe925 100644 --- a/docs/en/solution-templates/microservice/adding-new-microservices.md +++ b/docs/en/solution-templates/microservice/adding-new-microservices.md @@ -142,7 +142,7 @@ private async Task CreateSwaggerClientAsync(string clientId, string[] scopes) ... ... var administrationServiceRootUrl = _configuration["OpenIddict:Resources:AdministrationService:RootUrl"]!.TrimEnd('/'); -+ var productServiceServiceRootUrl = _configuration["OpenIddict:Resources:ProductService:RootUrl"]!.TrimEnd('/'); ++ var productServiceRootUrl = _configuration["OpenIddict:Resources:ProductService:RootUrl"]!.TrimEnd('/'); await CreateOrUpdateApplicationAsync( name: clientId, @@ -160,7 +160,7 @@ private async Task CreateSwaggerClientAsync(string clientId, string[] scopes) $"{authServerRootUrl}/swagger/oauth2-redirect.html", $"{identityServiceRootUrl}/swagger/oauth2-redirect.html", $"{administrationServiceRootUrl}/swagger/oauth2-redirect.html", -+ $"{productServiceServiceRootUrl}/swagger/oauth2-redirect.html" ++ $"{productServiceRootUrl}/swagger/oauth2-redirect.html" } ); } @@ -492,7 +492,7 @@ Add the *Kubernetes Services* in the *Chart Properties* -> *Kubernetes Services* ![microservice-chart-properties-kubernetes-services](images/microservice-chart-properties-kubernetes-services.png) -> This value should be the same as the [solution runner application](./../../studio/running-applications.md#c-application) *Kubernetes service* value. It's necessary for browsing because when we connect to the Kubernetes cluster, we should browse the Kubernetes services instead of using the Launch URL. +> This value should be the same as the [solution runner application](./../../studio/running-applications.md#properties) *Kubernetes service* value. It's necessary for browsing because when we connect to the Kubernetes cluster, we should browse the Kubernetes services instead of using the Launch URL. Last but not least, we need to configure the helm chart environments for identity, auth-server, and gateway applications. @@ -523,7 +523,7 @@ spec: env: ... + - name: "OpenIddict__Resources__ProductService__RootUrl" -+ value: "http://{{ .Release.Name }}-productservice" ++ value: "http://{{ .Release.Name }}-product" ``` }%}