From e93ec7f09aecdf09156741919022a27e4acac171 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Sat, 3 Aug 2019 08:51:45 -0400 Subject: [PATCH] Update hub naming --- Hub/Service/Startup.cs | 2 +- Weather/Service/appsettings.json | 2 +- Weather/Service/deploy/manifest.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Hub/Service/Startup.cs b/Hub/Service/Startup.cs index 8a7ff88..3fc4fe5 100644 --- a/Hub/Service/Startup.cs +++ b/Hub/Service/Startup.cs @@ -27,7 +27,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service applicationBuilder.UseEndpoints(endpoints => { - endpoints.MapHub("/weatherHub"); + endpoints.MapHub("/weather"); endpoints.MapDefaultControllerRoute(); }); } diff --git a/Weather/Service/appsettings.json b/Weather/Service/appsettings.json index f6be04a..4ad3651 100644 --- a/Weather/Service/appsettings.json +++ b/Weather/Service/appsettings.json @@ -13,6 +13,6 @@ } }, "Hub": { - "Weather": "http://hub-server/weatherHub" + "Weather": "http://hub-server/weather" } } \ No newline at end of file diff --git a/Weather/Service/deploy/manifest.yaml b/Weather/Service/deploy/manifest.yaml index e500e06..415ae9d 100644 --- a/Weather/Service/deploy/manifest.yaml +++ b/Weather/Service/deploy/manifest.yaml @@ -117,7 +117,7 @@ spec: name: weather-database-credentials key: password - name: Hub__Weather - value: http://hub-service/weatherHub + value: http://hub-service/weather restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst