Update hub naming

This commit is contained in:
2019-08-03 08:51:45 -04:00
parent 6490cbb215
commit e93ec7f09a
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ namespace ChrisKaczor.HomeMonitor.Hub.Service
applicationBuilder.UseEndpoints(endpoints => applicationBuilder.UseEndpoints(endpoints =>
{ {
endpoints.MapHub<WeatherHub>("/weatherHub"); endpoints.MapHub<WeatherHub>("/weather");
endpoints.MapDefaultControllerRoute(); endpoints.MapDefaultControllerRoute();
}); });
} }

View File

@@ -13,6 +13,6 @@
} }
}, },
"Hub": { "Hub": {
"Weather": "http://hub-server/weatherHub" "Weather": "http://hub-server/weather"
} }
} }

View File

@@ -117,7 +117,7 @@ spec:
name: weather-database-credentials name: weather-database-credentials
key: password key: password
- name: Hub__Weather - name: Hub__Weather
value: http://hub-service/weatherHub value: http://hub-service/weather
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst