From 784ad9d4147c84d6819c39251a5d23c8cd2115bc Mon Sep 17 00:00:00 2001 From: eiximenis Date: Tue, 10 Sep 2019 16:04:50 +0200 Subject: [PATCH] updated config files --- k8s/helm/webmvc/templates/configmap.yaml | 2 - k8s/helm/webmvc/values.yaml | 4 - k8s/helm/webspa/templates/configmap.yaml | 2 - k8s/helm/webspa/values.yaml | 4 - k8s/helm/webstatus/values.yaml | 58 +++----- src/ApiGateways/ApiGw-Base/Dockerfile | 24 ---- src/ApiGateways/ApiGw-Base/Dockerfile.develop | 14 -- src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj | 18 --- src/ApiGateways/ApiGw-Base/Program.cs | 41 ------ .../ApiGw-Base/Properties/launchSettings.json | 27 ---- src/ApiGateways/ApiGw-Base/Startup.cs | 108 --------------- src/ApiGateways/ApiGw-Base/appsettings.json | 10 -- .../Envoy/config/mobilemarketing/envoy.yaml | 49 +++++++ .../config/{ => mobileshopping}/envoy.yaml | 0 .../Envoy/config/webmarketing/envoy.yaml | 49 +++++++ .../Envoy/config/webshopping/envoy.yaml | 80 +++++++++++ .../Mobile.Bff.Marketing/apigw/azds.yaml | 44 ------ .../apigw/configuration.json | 34 ----- .../apigw/values.dev.yaml | 2 - .../Web.Bff.Marketing/apigw/azds.yaml | 44 ------ .../apigw/configuration.json | 34 ----- .../Web.Bff.Marketing/apigw/values.dev.yaml | 2 - .../Web.Bff.Shopping/apigw/azds.yaml | 43 ------ .../Web.Bff.Shopping/apigw/configuration.json | 130 ------------------ .../Web.Bff.Shopping/apigw/values.dev.yaml | 2 - src/Web/WebMVC/Startup.cs | 2 - src/Web/WebSPA/Startup.cs | 2 - src/docker-compose.override.yml | 116 ++++------------ 28 files changed, 228 insertions(+), 717 deletions(-) delete mode 100644 src/ApiGateways/ApiGw-Base/Dockerfile delete mode 100644 src/ApiGateways/ApiGw-Base/Dockerfile.develop delete mode 100644 src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj delete mode 100644 src/ApiGateways/ApiGw-Base/Program.cs delete mode 100644 src/ApiGateways/ApiGw-Base/Properties/launchSettings.json delete mode 100644 src/ApiGateways/ApiGw-Base/Startup.cs delete mode 100644 src/ApiGateways/ApiGw-Base/appsettings.json create mode 100644 src/ApiGateways/Envoy/config/mobilemarketing/envoy.yaml rename src/ApiGateways/Envoy/config/{ => mobileshopping}/envoy.yaml (100%) create mode 100644 src/ApiGateways/Envoy/config/webmarketing/envoy.yaml create mode 100644 src/ApiGateways/Envoy/config/webshopping/envoy.yaml delete mode 100644 src/ApiGateways/Mobile.Bff.Marketing/apigw/azds.yaml delete mode 100644 src/ApiGateways/Mobile.Bff.Marketing/apigw/configuration.json delete mode 100644 src/ApiGateways/Mobile.Bff.Marketing/apigw/values.dev.yaml delete mode 100644 src/ApiGateways/Web.Bff.Marketing/apigw/azds.yaml delete mode 100644 src/ApiGateways/Web.Bff.Marketing/apigw/configuration.json delete mode 100644 src/ApiGateways/Web.Bff.Marketing/apigw/values.dev.yaml delete mode 100644 src/ApiGateways/Web.Bff.Shopping/apigw/azds.yaml delete mode 100644 src/ApiGateways/Web.Bff.Shopping/apigw/configuration.json delete mode 100644 src/ApiGateways/Web.Bff.Shopping/apigw/values.dev.yaml diff --git a/k8s/helm/webmvc/templates/configmap.yaml b/k8s/helm/webmvc/templates/configmap.yaml index 3e1e10cd1..32df69fd0 100644 --- a/k8s/helm/webmvc/templates/configmap.yaml +++ b/k8s/helm/webmvc/templates/configmap.yaml @@ -20,9 +20,7 @@ data: webmvc__keystore: {{ .Values.inf.redis.keystore.constr }} internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }} internalurls__apigwwm: http://{{ .Values.app.svc.webmarketingapigw }} - internalurls__apigwws__hc: http://{{ .Values.app.svc.webshoppingapigw }}/hc internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc - internalurls__apigwwm__hc: http://{{ .Values.app.svc.webmarketingapigw }}/hc urls__apigwws: http://{{ $webshoppingapigw }} urls__mvc: http://{{ $mvc }} urls__IdentityUrl: http://{{ $identity }} diff --git a/k8s/helm/webmvc/values.yaml b/k8s/helm/webmvc/values.yaml index f4d077fc2..973f187f5 100644 --- a/k8s/helm/webmvc/values.yaml +++ b/k8s/helm/webmvc/values.yaml @@ -46,12 +46,8 @@ env: key: urls__IdentityUrl - name: MarketingUrl key: internalurls__apigwwm - - name: PurchaseUrlHC - key: internalurls__apigwws__hc - name: IdentityUrlHC key: internalurls__identity__hc - - name: MarketingUrlHC - key: internalurls__apigwwm__hc - name: SignalrHubUrl key: urls__apigwws # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value) diff --git a/k8s/helm/webspa/templates/configmap.yaml b/k8s/helm/webspa/templates/configmap.yaml index ea745436b..d49f8b2d3 100644 --- a/k8s/helm/webspa/templates/configmap.yaml +++ b/k8s/helm/webspa/templates/configmap.yaml @@ -20,9 +20,7 @@ data: all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}" webspa__keystore: {{ .Values.inf.redis.keystore.constr }} internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }} - internalurls__apigwws__hc: http://{{ .Values.app.svc.webshoppingapigw }}/hc internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc - internalurls__apigwwm__hc: http://{{ .Values.app.svc.webmarketingapigw }}/hc urls__apigwws: http://{{ $webshoppingapigw }} urls__spa: http://{{ $spa }} urls__IdentityUrl: http://{{ $identity }} diff --git a/k8s/helm/webspa/values.yaml b/k8s/helm/webspa/values.yaml index 056b58a0d..e1547ed39 100644 --- a/k8s/helm/webspa/values.yaml +++ b/k8s/helm/webspa/values.yaml @@ -44,12 +44,8 @@ env: key: urls__IdentityUrl - name: MarketingUrl key: urls__apigwwm - - name: PurchaseUrlHC - key: internalurls__apigwws__hc - name: IdentityUrlHC key: internalurls__identity__hc - - name: MarketingUrlHC - key: internalurls__apigwwm__hc - name: SignalrHubUrl key: urls__apigwws # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value) diff --git a/k8s/helm/webstatus/values.yaml b/k8s/helm/webstatus/values.yaml index 88cae5d7f..04028eaa4 100644 --- a/k8s/helm/webstatus/values.yaml +++ b/k8s/helm/webstatus/values.yaml @@ -43,64 +43,48 @@ env: - name: HealthChecks-UI__HealthChecks__1__Uri key: internalurls__spa__hc - name: HealthChecks-UI__HealthChecks__2__Name - key: name__apigwws__hc - - name: HealthChecks-UI__HealthChecks__2__Uri - key: internalurls__apigwws__hc - - name: HealthChecks-UI__HealthChecks__3__Name - key: name__apigwwm__hc - - name: HealthChecks-UI__HealthChecks__3__Uri - key: internalurls__apigwwm__hc - - name: HealthChecks-UI__HealthChecks__4__Name - key: name__apigwms__hc - - name: HealthChecks-UI__HealthChecks__4__Uri - key: internalurls__apigwms__hc - - name: HealthChecks-UI__HealthChecks__5__Name - key: name__apigwmm__hc - - name: HealthChecks-UI__HealthChecks__5__Uri - key: internalurls__apigwmm__hc - - name: HealthChecks-UI__HealthChecks__6__Name key: name__apigwwsagg__hc - - name: HealthChecks-UI__HealthChecks__6__Uri + - name: HealthChecks-UI__HealthChecks__2__Uri key: internalurls__apigwwsagg__hc - - name: HealthChecks-UI__HealthChecks__7__Name + - name: HealthChecks-UI__HealthChecks__3__Name key: name__apigwmsagg__hc - - name: HealthChecks-UI__HealthChecks__7__Uri + - name: HealthChecks-UI__HealthChecks__3__Uri key: internalurls__apigwmsagg__hc - - name: HealthChecks-UI__HealthChecks__8__Name + - name: HealthChecks-UI__HealthChecks__4__Name key: name__ordering__hc - - name: HealthChecks-UI__HealthChecks__8__Uri + - name: HealthChecks-UI__HealthChecks__4__Uri key: internalurls__ordering__hc - - name: HealthChecks-UI__HealthChecks__9__Name + - name: HealthChecks-UI__HealthChecks__5__Name key: name__orderingbackground__hc - - name: HealthChecks-UI__HealthChecks__9__Uri + - name: HealthChecks-UI__HealthChecks__5__Uri key: internalurls__orderingbackground__hc - - name: HealthChecks-UI__HealthChecks__10__Name + - name: HealthChecks-UI__HealthChecks__6__Name key: name__signalrhub__hc - - name: HealthChecks-UI__HealthChecks__10__Uri + - name: HealthChecks-UI__HealthChecks__6__Uri key: internalurls__signalrhub__hc - - name: HealthChecks-UI__HealthChecks__11__Name + - name: HealthChecks-UI__HealthChecks__7__Name key: name__basket__hc - - name: HealthChecks-UI__HealthChecks__11__Uri + - name: HealthChecks-UI__HealthChecks__7__Uri key: internalurls__basket__hc - - name: HealthChecks-UI__HealthChecks__12__Name + - name: HealthChecks-UI__HealthChecks__8__Name key: name__catalog__hc - - name: HealthChecks-UI__HealthChecks__12__Uri + - name: HealthChecks-UI__HealthChecks__8__Uri key: internalurls__catalog__hc - - name: HealthChecks-UI__HealthChecks__13__Name + - name: HealthChecks-UI__HealthChecks__9__Name key: name__identity__hc - - name: HealthChecks-UI__HealthChecks__13__Uri + - name: HealthChecks-UI__HealthChecks__9__Uri key: internalurls__identity__hc - - name: HealthChecks-UI__HealthChecks__14__Name + - name: HealthChecks-UI__HealthChecks__10__Name key: name__marketing__hc - - name: HealthChecks-UI__HealthChecks__14__Uri + - name: HealthChecks-UI__HealthChecks__10__Uri key: internalurls__marketing__hc - - name: HealthChecks-UI__HealthChecks__15__Name + - name: HealthChecks-UI__HealthChecks__11__Name key: name__locations__hc - - name: HealthChecks-UI__HealthChecks__15__Uri + - name: HealthChecks-UI__HealthChecks__11__Uri key: internalurls__locations__hc - - name: HealthChecks-UI__HealthChecks__16__Name + - name: HealthChecks-UI__HealthChecks__12__Name key: name__payment__hc - - name: HealthChecks-UI__HealthChecks__16__Uri + - name: HealthChecks-UI__HealthChecks__12__Uri key: internalurls__payment__hc # values define environment variables with a fixed value (no configmap involved) (name is name of var, and value is its value) values: diff --git a/src/ApiGateways/ApiGw-Base/Dockerfile b/src/ApiGateways/ApiGw-Base/Dockerfile deleted file mode 100644 index 00da7c461..000000000 --- a/src/ApiGateways/ApiGw-Base/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 AS base -WORKDIR /app -EXPOSE 80 - -FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build -WORKDIR /src -COPY scripts scripts/ - -COPY ApiGateways/*/*.csproj csproj-files/ -COPY ApiGateways/*/*/*.csproj csproj-files/ -COPY BuildingBlocks/*/*/*.csproj csproj-files/ -COPY Services/*/*/*.csproj csproj-files/ -COPY Web/*/*.csproj csproj-files/ - -COPY . . -WORKDIR /src/ApiGateways/ApiGw-Base/ -RUN dotnet publish -c Release -o /app - -FROM build AS publish - -FROM base AS final -WORKDIR /app -COPY --from=publish /app . -ENTRYPOINT ["dotnet", "OcelotApiGw.dll"] diff --git a/src/ApiGateways/ApiGw-Base/Dockerfile.develop b/src/ApiGateways/ApiGw-Base/Dockerfile.develop deleted file mode 100644 index 4da230d68..000000000 --- a/src/ApiGateways/ApiGw-Base/Dockerfile.develop +++ /dev/null @@ -1,14 +0,0 @@ -FROM microsoft/dotnet:2.2-sdk -ARG BUILD_CONFIGURATION=Debug -ENV ASPNETCORE_ENVIRONMENT=Development -ENV DOTNET_USE_POLLING_FILE_WATCHER=true -EXPOSE 80 - -WORKDIR /src -COPY ["src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj", "src/ApiGateways/ApiGw-Base/"] -RUN dotnet restore "src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj" -COPY . . -WORKDIR "/src/src/ApiGateways/ApiGw-Base" -RUN dotnet build --no-restore "OcelotApiGw.csproj" -c $BUILD_CONFIGURATION - -ENTRYPOINT ["dotnet", "run", "--no-build", "--no-launch-profile", "-c", "$BUILD_CONFIGURATION", "--"] \ No newline at end of file diff --git a/src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj b/src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj deleted file mode 100644 index 442fa36a3..000000000 --- a/src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - netcoreapp2.2 - $(LangVersion) - - - - - - - - - - - - - diff --git a/src/ApiGateways/ApiGw-Base/Program.cs b/src/ApiGateways/ApiGw-Base/Program.cs deleted file mode 100644 index 4e689d5a1..000000000 --- a/src/ApiGateways/ApiGw-Base/Program.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Serilog; -using System.IO; - -namespace OcelotApiGw -{ - public class Program - { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) - { - IWebHostBuilder builder = WebHost.CreateDefaultBuilder(args); - builder.ConfigureServices(s => s.AddSingleton(builder)) - .ConfigureAppConfiguration(ic => ic.AddJsonFile(Path.Combine("configuration", "configuration.json"))) - .UseStartup() - .ConfigureLogging((hostingContext, loggingbuilder) => - { - loggingbuilder.AddConfiguration(hostingContext.Configuration.GetSection("Logging")); - loggingbuilder.AddConsole(); - loggingbuilder.AddDebug(); - }) - .UseSerilog((builderContext, config) => - { - config - .MinimumLevel.Information() - .Enrich.FromLogContext() - .WriteTo.Console(); - }); - IWebHost host = builder.Build(); - return host; - } - } -} diff --git a/src/ApiGateways/ApiGw-Base/Properties/launchSettings.json b/src/ApiGateways/ApiGw-Base/Properties/launchSettings.json deleted file mode 100644 index 2308ca466..000000000 --- a/src/ApiGateways/ApiGw-Base/Properties/launchSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:56755/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "OcelotApiGw": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:64021/" - } - } -} \ No newline at end of file diff --git a/src/ApiGateways/ApiGw-Base/Startup.cs b/src/ApiGateways/ApiGw-Base/Startup.cs deleted file mode 100644 index be845edca..000000000 --- a/src/ApiGateways/ApiGw-Base/Startup.cs +++ /dev/null @@ -1,108 +0,0 @@ -using HealthChecks.UI.Client; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Diagnostics.HealthChecks; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Diagnostics.HealthChecks; -using Ocelot.DependencyInjection; -using Ocelot.Middleware; -using System; - -namespace OcelotApiGw -{ - public class Startup - { - private readonly IConfiguration _cfg; - - public Startup(IConfiguration configuration) - { - _cfg = configuration; - } - - public void ConfigureServices(IServiceCollection services) - { - var identityUrl = _cfg.GetValue("IdentityUrl"); - var authenticationProviderKey = "IdentityApiKey"; - - services.AddHealthChecks() - .AddCheck("self", () => HealthCheckResult.Healthy()) - .AddUrlGroup(new Uri(_cfg["CatalogUrlHC"]), name: "catalogapi-check", tags: new string[] { "catalogapi" }) - .AddUrlGroup(new Uri(_cfg["OrderingUrlHC"]), name: "orderingapi-check", tags: new string[] { "orderingapi" }) - .AddUrlGroup(new Uri(_cfg["BasketUrlHC"]), name: "basketapi-check", tags: new string[] { "basketapi" }) - .AddUrlGroup(new Uri(_cfg["IdentityUrlHC"]), name: "identityapi-check", tags: new string[] { "identityapi" }) - .AddUrlGroup(new Uri(_cfg["MarketingUrlHC"]), name: "marketingapi-check", tags: new string[] { "marketingapi" }) - .AddUrlGroup(new Uri(_cfg["PaymentUrlHC"]), name: "paymentapi-check", tags: new string[] { "paymentapi" }) - .AddUrlGroup(new Uri(_cfg["LocationUrlHC"]), name: "locationapi-check", tags: new string[] { "locationapi" }); - - services.AddCors(options => - { - options.AddPolicy("CorsPolicy", - builder => builder - .AllowAnyMethod() - .AllowAnyHeader() - .SetIsOriginAllowed((host) => true) - .AllowCredentials()); - }); - - services.AddAuthentication() - .AddJwtBearer(authenticationProviderKey, x => - { - x.Authority = identityUrl; - x.RequireHttpsMetadata = false; - x.TokenValidationParameters = new Microsoft.IdentityModel.Tokens.TokenValidationParameters() - { - ValidAudiences = new[] { "orders", "basket", "locations", "marketing", "mobileshoppingagg", "webshoppingagg" } - }; - x.Events = new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents() - { - OnAuthenticationFailed = async ctx => - { - int i = 0; - }, - OnTokenValidated = async ctx => - { - int i = 0; - }, - - OnMessageReceived = async ctx => - { - int i = 0; - } - }; - }); - - services.AddOcelot(_cfg); - } - - public void Configure(IApplicationBuilder app, IHostingEnvironment env) - { - var pathBase = _cfg["PATH_BASE"]; - - if (!string.IsNullOrEmpty(pathBase)) - { - app.UsePathBase(pathBase); - } - - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - - app.UseHealthChecks("/hc", new HealthCheckOptions() - { - Predicate = _ => true, - ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse - }); - - app.UseHealthChecks("/liveness", new HealthCheckOptions - { - Predicate = r => r.Name.Contains("self") - }); - - app.UseCors("CorsPolicy"); - - app.UseOcelot().Wait(); - } - } -} diff --git a/src/ApiGateways/ApiGw-Base/appsettings.json b/src/ApiGateways/ApiGw-Base/appsettings.json deleted file mode 100644 index 426750e6a..000000000 --- a/src/ApiGateways/ApiGw-Base/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": true, - "LogLevel": { - "Default": "Trace", - "System": "Information", - "Microsoft": "Information" - } - } -} \ No newline at end of file diff --git a/src/ApiGateways/Envoy/config/mobilemarketing/envoy.yaml b/src/ApiGateways/Envoy/config/mobilemarketing/envoy.yaml new file mode 100644 index 000000000..a33d276a0 --- /dev/null +++ b/src/ApiGateways/Envoy/config/mobilemarketing/envoy.yaml @@ -0,0 +1,49 @@ +admin: + access_log_path: "/dev/null" + address: + socket_address: + address: 0.0.0.0 + port_value: 8001 +static_resources: + listeners: + - address: + socket_address: + address: 0.0.0.0 + port_value: 80 + filter_chains: + - filters: + - name: envoy.http_connection_manager + config: + codec_type: auto + stat_prefix: ingress_http + route_config: + name: eshop_backend_route + virtual_hosts: + - name: eshop_backend + domains: + - "*" + routes: + - match: + prefix: "/api/v1/m/" + route: + prefix_rewrite: "/api/v1/" + cluster: marketing + http_filters: + - name: envoy.router + clusters: + - name: marketing + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: marketing-api + port_value: 80 + - name: locations + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: locations-api + port_value: 80 diff --git a/src/ApiGateways/Envoy/config/envoy.yaml b/src/ApiGateways/Envoy/config/mobileshopping/envoy.yaml similarity index 100% rename from src/ApiGateways/Envoy/config/envoy.yaml rename to src/ApiGateways/Envoy/config/mobileshopping/envoy.yaml diff --git a/src/ApiGateways/Envoy/config/webmarketing/envoy.yaml b/src/ApiGateways/Envoy/config/webmarketing/envoy.yaml new file mode 100644 index 000000000..a33d276a0 --- /dev/null +++ b/src/ApiGateways/Envoy/config/webmarketing/envoy.yaml @@ -0,0 +1,49 @@ +admin: + access_log_path: "/dev/null" + address: + socket_address: + address: 0.0.0.0 + port_value: 8001 +static_resources: + listeners: + - address: + socket_address: + address: 0.0.0.0 + port_value: 80 + filter_chains: + - filters: + - name: envoy.http_connection_manager + config: + codec_type: auto + stat_prefix: ingress_http + route_config: + name: eshop_backend_route + virtual_hosts: + - name: eshop_backend + domains: + - "*" + routes: + - match: + prefix: "/api/v1/m/" + route: + prefix_rewrite: "/api/v1/" + cluster: marketing + http_filters: + - name: envoy.router + clusters: + - name: marketing + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: marketing-api + port_value: 80 + - name: locations + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: locations-api + port_value: 80 diff --git a/src/ApiGateways/Envoy/config/webshopping/envoy.yaml b/src/ApiGateways/Envoy/config/webshopping/envoy.yaml new file mode 100644 index 000000000..de8bd6058 --- /dev/null +++ b/src/ApiGateways/Envoy/config/webshopping/envoy.yaml @@ -0,0 +1,80 @@ +admin: + access_log_path: "/dev/null" + address: + socket_address: + address: 0.0.0.0 + port_value: 8001 +static_resources: + listeners: + - address: + socket_address: + address: 0.0.0.0 + port_value: 80 + filter_chains: + - filters: + - name: envoy.http_connection_manager + config: + codec_type: auto + stat_prefix: ingress_http + route_config: + name: eshop_backend_route + virtual_hosts: + - name: eshop_backend + domains: + - "*" + routes: + - match: + prefix: "/api/v1/c/" + route: + prefix_rewrite: "/api/v1/" + cluster: catalog + - match: + prefix: "/api/v1/o/" + route: + prefix_rewrite: "/api/v1/" + cluster: ordering + - match: + prefix: "/api/v1/b/" + route: + prefix_rewrite: "/api/v1/" + cluster: basket + - match: + prefix: "/" + route: + prefix_rewrite: "/" + cluster: shoppingagg + http_filters: + - name: envoy.router + clusters: + - name: shoppingagg + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: webshoppingagg + port_value: 80 + - name: catalog + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: catalog-api + port_value: 80 + - name: basket + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: basket-api + port_value: 80 + - name: ordering + connect_timeout: 0.25s + type: logical_dns + lb_policy: round_robin + hosts: + - socket_address: + address: ordering-api + port_value: 80 \ No newline at end of file diff --git a/src/ApiGateways/Mobile.Bff.Marketing/apigw/azds.yaml b/src/ApiGateways/Mobile.Bff.Marketing/apigw/azds.yaml deleted file mode 100644 index 46375343b..000000000 --- a/src/ApiGateways/Mobile.Bff.Marketing/apigw/azds.yaml +++ /dev/null @@ -1,44 +0,0 @@ -kind: helm-release -apiVersion: 1.1 -build: - context: ..\..\..\..\ - dockerfile: ..\..\..\ApiGateways\ApiGw-Base\Dockerfile -install: - chart: ../../../../k8s/helm/apigwmm - set: - replicaCount: 1 - image: - tag: $(tag) - pullPolicy: Never - ingress: - annotations: - kubernetes.io/ingress.class: traefik-azds - hosts: - # This expands to [space.s.]webmvc...aksapp.io - - $(spacePrefix)eshop$(hostSuffix) - inf: - k8s: - dns: $(spacePrefix)eshop$(hostSuffix) - values: - - values.dev.yaml? - - secrets.dev.yaml? - - inf.yaml - - app.yaml -configurations: - develop: - build: - useGitIgnore: true - dockerfile: ..\..\..\ApiGateways\ApiGw-Base\Dockerfile.develop - args: - BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} - container: - sync: - - '**/Pages/**' - - '**/Views/**' - - '**/wwwroot/**' - - '!**/*.{sln,csproj}' - command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"] - iterate: - processesToKill: [dotnet, vsdbg] - buildCommands: - - [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"] diff --git a/src/ApiGateways/Mobile.Bff.Marketing/apigw/configuration.json b/src/ApiGateways/Mobile.Bff.Marketing/apigw/configuration.json deleted file mode 100644 index 85d6777e6..000000000 --- a/src/ApiGateways/Mobile.Bff.Marketing/apigw/configuration.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "ReRoutes": [ - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "marketing.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/m/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "locations.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/l/{everything}", - "UpstreamHttpMethod": [] - } - - ], - "GlobalConfiguration": { - "RequestIdKey": "OcRequestId", - "AdministrationPath": "/administration" - } - } - \ No newline at end of file diff --git a/src/ApiGateways/Mobile.Bff.Marketing/apigw/values.dev.yaml b/src/ApiGateways/Mobile.Bff.Marketing/apigw/values.dev.yaml deleted file mode 100644 index fb59d98d5..000000000 --- a/src/ApiGateways/Mobile.Bff.Marketing/apigw/values.dev.yaml +++ /dev/null @@ -1,2 +0,0 @@ -ocelot: - configPath: /src/src/ApiGateways/ApiGw-Base/configuration \ No newline at end of file diff --git a/src/ApiGateways/Web.Bff.Marketing/apigw/azds.yaml b/src/ApiGateways/Web.Bff.Marketing/apigw/azds.yaml deleted file mode 100644 index 8f60cbcc7..000000000 --- a/src/ApiGateways/Web.Bff.Marketing/apigw/azds.yaml +++ /dev/null @@ -1,44 +0,0 @@ -kind: helm-release -apiVersion: 1.1 -build: - context: ..\..\..\..\ - dockerfile: ..\..\..\ApiGateways\ApiGw-Base\Dockerfile -install: - chart: ../../../../k8s/helm/apigwwm - set: - replicaCount: 1 - image: - tag: $(tag) - pullPolicy: Never - ingress: - annotations: - kubernetes.io/ingress.class: traefik-azds - hosts: - # This expands to [space.s.]webmvc...aksapp.io - - $(spacePrefix)eshop$(hostSuffix) - inf: - k8s: - dns: $(spacePrefix)eshop$(hostSuffix) - values: - - values.dev.yaml? - - secrets.dev.yaml? - - inf.yaml - - app.yaml -configurations: - develop: - build: - useGitIgnore: true - dockerfile: ..\..\..\ApiGateways\ApiGw-Base\Dockerfile.develop - args: - BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} - container: - sync: - - '**/Pages/**' - - '**/Views/**' - - '**/wwwroot/**' - - '!**/*.{sln,csproj}' - command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"] - iterate: - processesToKill: [dotnet, vsdbg] - buildCommands: - - [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"] diff --git a/src/ApiGateways/Web.Bff.Marketing/apigw/configuration.json b/src/ApiGateways/Web.Bff.Marketing/apigw/configuration.json deleted file mode 100644 index 8afe4a4d6..000000000 --- a/src/ApiGateways/Web.Bff.Marketing/apigw/configuration.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "ReRoutes": [ - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "marketing.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/m/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "locations.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/l/{everything}", - "UpstreamHttpMethod": [] - } - - ], - "GlobalConfiguration": { - "RequestIdKey": "OcRequestId", - "AdministrationPath": "/administration" - } -} - \ No newline at end of file diff --git a/src/ApiGateways/Web.Bff.Marketing/apigw/values.dev.yaml b/src/ApiGateways/Web.Bff.Marketing/apigw/values.dev.yaml deleted file mode 100644 index fb59d98d5..000000000 --- a/src/ApiGateways/Web.Bff.Marketing/apigw/values.dev.yaml +++ /dev/null @@ -1,2 +0,0 @@ -ocelot: - configPath: /src/src/ApiGateways/ApiGw-Base/configuration \ No newline at end of file diff --git a/src/ApiGateways/Web.Bff.Shopping/apigw/azds.yaml b/src/ApiGateways/Web.Bff.Shopping/apigw/azds.yaml deleted file mode 100644 index 69f26cdca..000000000 --- a/src/ApiGateways/Web.Bff.Shopping/apigw/azds.yaml +++ /dev/null @@ -1,43 +0,0 @@ -kind: helm-release -apiVersion: 1.1 -build: - context: ..\..\..\..\ - dockerfile: ..\..\..\..\ApiGateways\ApiGw-Base\Dockerfile -install: - chart: ../../../../k8s/helm/apigwws - set: - replicaCount: 1 - image: - tag: $(tag) - pullPolicy: Never - ingress: - annotations: - kubernetes.io/ingress.class: traefik-azds - hosts: - - $(spacePrefix)eshop$(hostSuffix) - inf: - k8s: - dns: $(spacePrefix)eshop$(hostSuffix) - values: - - values.dev.yaml? - - secrets.dev.yaml? - - inf.yaml - - app.yaml -configurations: - develop: - build: - useGitIgnore: true - dockerfile: ..\..\..\ApiGateways\ApiGw-Base\Dockerfile.develop - args: - BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug} - container: - sync: - - '**/Pages/**' - - '**/Views/**' - - '**/wwwroot/**' - - '!**/*.{sln,csproj}' - command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"] - iterate: - processesToKill: [dotnet, vsdbg] - buildCommands: - - [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"] diff --git a/src/ApiGateways/Web.Bff.Shopping/apigw/configuration.json b/src/ApiGateways/Web.Bff.Shopping/apigw/configuration.json deleted file mode 100644 index 8d823d443..000000000 --- a/src/ApiGateways/Web.Bff.Shopping/apigw/configuration.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "ReRoutes": [ - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "envoy", - "Port": 51051 - } - ], - "UpstreamPathTemplate": "/api/{version}/c/{everything}", - "UpstreamHttpMethod": [ "GET" ] - }, - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "basket.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/b/{everything}", - "UpstreamHttpMethod": [], - "AuthenticationOptions": { - "AuthenticationProviderKey": "IdentityApiKey", - "AllowedScopes": [] - } - }, - { - "DownstreamPathTemplate": "/api/{version}/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "ordering.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/api/{version}/o/{everything}", - "UpstreamHttpMethod": [], - "AuthenticationOptions": { - "AuthenticationProviderKey": "IdentityApiKey", - "AllowedScopes": [] - } - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "webshoppingagg", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/{everything}", - "UpstreamHttpMethod": [ "POST", "PUT", "GET" ], - "AuthenticationOptions": { - "AuthenticationProviderKey": "IdentityApiKey", - "AllowedScopes": [] - } - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "ordering.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/orders-api/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "ordering.signalrhub", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/hub/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "basket.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/basket-api/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "catalog.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/catalog-api/{everything}", - "UpstreamHttpMethod": [] - }, - { - "DownstreamPathTemplate": "/{everything}", - "DownstreamScheme": "http", - "DownstreamHostAndPorts": [ - { - "Host": "payment.api", - "Port": 80 - } - ], - "UpstreamPathTemplate": "/payment-api/{everything}", - "UpstreamHttpMethod": [] - } - - ], - "GlobalConfiguration": { - "RequestIdKey": "OcRequestId", - "AdministrationPath": "/administration" - } - } - \ No newline at end of file diff --git a/src/ApiGateways/Web.Bff.Shopping/apigw/values.dev.yaml b/src/ApiGateways/Web.Bff.Shopping/apigw/values.dev.yaml deleted file mode 100644 index fb59d98d5..000000000 --- a/src/ApiGateways/Web.Bff.Shopping/apigw/values.dev.yaml +++ /dev/null @@ -1,2 +0,0 @@ -ocelot: - configPath: /src/src/ApiGateways/ApiGw-Base/configuration \ No newline at end of file diff --git a/src/Web/WebMVC/Startup.cs b/src/Web/WebMVC/Startup.cs index 321e88548..6f9f8c99a 100644 --- a/src/Web/WebMVC/Startup.cs +++ b/src/Web/WebMVC/Startup.cs @@ -126,8 +126,6 @@ namespace Microsoft.eShopOnContainers.WebMVC { services.AddHealthChecks() .AddCheck("self", () => HealthCheckResult.Healthy()) - .AddUrlGroup(new Uri(configuration["PurchaseUrlHC"]), name: "purchaseapigw-check", tags: new string[] { "purchaseapigw" }) - .AddUrlGroup(new Uri(configuration["MarketingUrlHC"]), name: "marketingapigw-check", tags: new string[] { "marketingapigw" }) .AddUrlGroup(new Uri(configuration["IdentityUrlHC"]), name: "identityapi-check", tags: new string[] { "identityapi" }); return services; diff --git a/src/Web/WebSPA/Startup.cs b/src/Web/WebSPA/Startup.cs index 6ea83baa5..48cfd121e 100644 --- a/src/Web/WebSPA/Startup.cs +++ b/src/Web/WebSPA/Startup.cs @@ -39,8 +39,6 @@ namespace eShopConContainers.WebSPA services.AddHealthChecks() .AddCheck("self", () => HealthCheckResult.Healthy()) - .AddUrlGroup(new Uri(Configuration["PurchaseUrlHC"]), name: "purchaseapigw-check", tags: new string[] { "purchaseapigw" }) - .AddUrlGroup(new Uri(Configuration["MarketingUrlHC"]), name: "marketingapigw-check", tags: new string[] { "marketingapigw" }) .AddUrlGroup(new Uri(Configuration["IdentityUrlHC"]), name: "identityapi-check", tags: new string[] { "identityapi" }); services.Configure(Configuration); diff --git a/src/docker-compose.override.yml b/src/docker-compose.override.yml index 39921107a..5c7af1b31 100644 --- a/src/docker-compose.override.yml +++ b/src/docker-compose.override.yml @@ -207,75 +207,29 @@ services: - "5113:80" mobileshoppingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api - - urls__basket=http://basket-api - - urls__catalog=http://catalog-api - - urls__orders=http://ordering-api - - urls__identity=http://identity-api - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - MarketingUrlHC=http://marketing-api/hc - - PaymentUrlHC=http://payment-api/hc - - LocationUrlHC=http://locations-api/hc - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - ports: - - "5200:80" volumes: - - ./ApiGateways/Mobile.Bff.Shopping/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration} + - ./ApiGateways/Envoy/config/mobilemarketing:/etc/envoy + ports: + - "5200:80" + - "15200:8001" mobilemarketingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - MarketingUrlHC=http://marketing-api/hc - - PaymentUrlHC=http://payment-api/hc - - LocationUrlHC=http://locations-api/hc - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - ports: - - "5201:80" volumes: - - ./ApiGateways/Mobile.Bff.Marketing/apigw:${ESHOP_OCELOT_VOLUME_SPEC:-/app/configuration} + - ./ApiGateways/Envoy/config/mobileshopping:/etc/envoy + ports: + - "5201:80" + - "15201:8001" webshoppingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - MarketingUrlHC=http://marketing-api/hc - - PaymentUrlHC=http://payment-api/hc - - LocationUrlHC=http://locations-api/hc - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 volumes: - - ./ApiGateways/Envoy/config:/etc/envoy + - ./ApiGateways/Envoy/config/webshopping:/etc/envoy ports: - "5202:80" - "15202:8001" webmarketingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - MarketingUrlHC=http://marketing-api/hc - - PaymentUrlHC=http://payment-api/hc - - LocationUrlHC=http://locations-api/hc - - IdentityUrlExternal=http://10.0.75.1:5105 volumes: - - ./ApiGateways/Envoy/config:/etc/envoy + - ./ApiGateways/Envoy/config/webmarketing:/etc/envoy ports: - "5203:80" - "15203:8001" @@ -299,7 +253,7 @@ services: - LocationUrlHC=http://locations-api/hc - IdentityUrlExternal=http://10.0.75.1:5105 ports: - - "5120:80" + - "5120:80" webshoppingagg: environment: @@ -348,32 +302,24 @@ services: - HealthChecks-UI__HealthChecks__2__Uri=http://webshoppingagg/hc - HealthChecks-UI__HealthChecks__3__Name=Mobile Shopping Aggregator HTTP Check - HealthChecks-UI__HealthChecks__3__Uri=http://mobileshoppingagg/hc - - HealthChecks-UI__HealthChecks__4__Name=Mobile Shopping API GW HTTP Check - - HealthChecks-UI__HealthChecks__4__Uri=http://mobileshoppingapigw/hc - - HealthChecks-UI__HealthChecks__5__Name=Mobile Marketing API GW HTTP Check - - HealthChecks-UI__HealthChecks__5__Uri=http://mobilemarketingapigw/hc - - HealthChecks-UI__HealthChecks__6__Name=Web Shopping API GW HTTP Check - - HealthChecks-UI__HealthChecks__6__Uri=http://webshoppingapigw/hc - - HealthChecks-UI__HealthChecks__7__Name=Web Marketing API GW HTTP Check - - HealthChecks-UI__HealthChecks__7__Uri=http://webmarketingapigw/hc - - HealthChecks-UI__HealthChecks__8__Name=Ordering HTTP Check - - HealthChecks-UI__HealthChecks__8__Uri=http://ordering-api/hc - - HealthChecks-UI__HealthChecks__9__Name=Basket HTTP Check - - HealthChecks-UI__HealthChecks__9__Uri=http://basket-api/hc - - HealthChecks-UI__HealthChecks__10__Name=Catalog HTTP Check - - HealthChecks-UI__HealthChecks__10__Uri=http://catalog-api/hc - - HealthChecks-UI__HealthChecks__11__Name=Identity HTTP Check - - HealthChecks-UI__HealthChecks__11__Uri=http://identity-api/hc - - HealthChecks-UI__HealthChecks__12__Name=Marketing HTTP Check - - HealthChecks-UI__HealthChecks__12__Uri=http://marketing-api/hc - - HealthChecks-UI__HealthChecks__13__Name=Locations HTTP Check - - HealthChecks-UI__HealthChecks__13__Uri=http://locations-api/hc - - HealthChecks-UI__HealthChecks__14__Name=Payments HTTP Check - - HealthChecks-UI__HealthChecks__14__Uri=http://payment-api/hc - - HealthChecks-UI__HealthChecks__15__Name=Ordering SignalRHub HTTP Check - - HealthChecks-UI__HealthChecks__15__Uri=http://ordering-signalrhub/hc - - HealthChecks-UI__HealthChecks__16__Name=Ordering HTTP Background Check - - HealthChecks-UI__HealthChecks__16__Uri=http://ordering-backgroundtasks/hc + - HealthChecks-UI__HealthChecks__4__Name=Ordering HTTP Check + - HealthChecks-UI__HealthChecks__4__Uri=http://ordering-api/hc + - HealthChecks-UI__HealthChecks__5__Name=Basket HTTP Check + - HealthChecks-UI__HealthChecks__5__Uri=http://basket-api/hc + - HealthChecks-UI__HealthChecks__6__Name=Catalog HTTP Check + - HealthChecks-UI__HealthChecks__6__Uri=http://catalog-api/hc + - HealthChecks-UI__HealthChecks__7__Name=Identity HTTP Check + - HealthChecks-UI__HealthChecks__7__Uri=http://identity-api/hc + - HealthChecks-UI__HealthChecks__8__Name=Marketing HTTP Check + - HealthChecks-UI__HealthChecks__8__Uri=http://marketing-api/hc + - HealthChecks-UI__HealthChecks__9__Name=Locations HTTP Check + - HealthChecks-UI__HealthChecks__9__Uri=http://locations-api/hc + - HealthChecks-UI__HealthChecks__10__Name=Payments HTTP Check + - HealthChecks-UI__HealthChecks__10__Uri=http://payment-api/hc + - HealthChecks-UI__HealthChecks__11__Name=Ordering SignalRHub HTTP Check + - HealthChecks-UI__HealthChecks__11__Uri=http://ordering-signalrhub/hc + - HealthChecks-UI__HealthChecks__12__Name=Ordering HTTP Background Check + - HealthChecks-UI__HealthChecks__12__Uri=http://ordering-backgroundtasks/hc - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - OrchestratorType=${ORCHESTRATOR_TYPE} ports: @@ -386,8 +332,6 @@ services: - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203 - - PurchaseUrlHC=http://webshoppingapigw/hc - - MarketingUrlHC=http://webmarketingapigw/hc - IdentityUrlHC=http://identity-api/hc - UseCustomizationData=True - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} @@ -405,8 +349,6 @@ services: - MarketingUrl=http://webmarketingapigw - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - IdentityUrlHC=http://identity-api/hc - - PurchaseUrlHC=http://webshoppingapigw/hc - - MarketingUrlHC=http://webmarketingapigw/hc - UseCustomizationData=True - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - OrchestratorType=${ORCHESTRATOR_TYPE}