diff --git a/src/services/DevStore.Orders.API/Application/Queries/OrderQueries.cs b/src/services/DevStore.Orders.API/Application/Queries/OrderQueries.cs index d93fe7b..d057c3f 100644 Binary files a/src/services/DevStore.Orders.API/Application/Queries/OrderQueries.cs and b/src/services/DevStore.Orders.API/Application/Queries/OrderQueries.cs differ diff --git a/src/services/DevStore.Orders.Domain/Orders/IOrderRepository.cs b/src/services/DevStore.Orders.Domain/Orders/IOrderRepository.cs index aff9a6b..3278a09 100644 Binary files a/src/services/DevStore.Orders.Domain/Orders/IOrderRepository.cs and b/src/services/DevStore.Orders.Domain/Orders/IOrderRepository.cs differ diff --git a/src/services/DevStore.Orders.Infra/Repository/OrderRepository.cs b/src/services/DevStore.Orders.Infra/Repository/OrderRepository.cs index 1cac5c1..6ca17d7 100644 Binary files a/src/services/DevStore.Orders.Infra/Repository/OrderRepository.cs and b/src/services/DevStore.Orders.Infra/Repository/OrderRepository.cs differ diff --git a/src/web/DevStore.WebApp.Status/Program.cs b/src/web/DevStore.WebApp.Status/Program.cs index 0bc4634..74f3645 100644 --- a/src/web/DevStore.WebApp.Status/Program.cs +++ b/src/web/DevStore.WebApp.Status/Program.cs @@ -12,12 +12,12 @@ var healthCheckBuilder = builder.Services.AddHealthChecksUI(setupSettings: setup => { setup.SetHeaderText("DevStore - Status Page"); - var endpoints = builder.Configuration.GetSection("ENDPOINTS").Get>(); + var endpoints = builder.Configuration.GetSection("ENDPOINTS").Get(); - foreach (var endpoint in endpoints) + foreach (var endpoint in endpoints.Split(";")) { - var name = endpoint.Split(';')[0]; - var uri = endpoint.Split(';')[1]; + var name = endpoint.Split('|')[0]; + var uri = endpoint.Split('|')[1]; setup.AddHealthCheckEndpoint(name, uri); } diff --git a/src/web/DevStore.WebApp.Status/appsettings.Development.json b/src/web/DevStore.WebApp.Status/appsettings.Development.json index 3f9bca5..7e20aac 100644 --- a/src/web/DevStore.WebApp.Status/appsettings.Development.json +++ b/src/web/DevStore.WebApp.Status/appsettings.Development.json @@ -30,14 +30,5 @@ //"DefaultConnection": "Data Source=DSStatus.db" }, - "ENDPOINTS": [ - "Frontend Web;https://localhost:5401/healthz-infra", - "Shopping Cart API;https://localhost:5411/healthz-infra", - "Identity API;https://localhost:5421/healthz-infra", - "Catalog API;https://localhost:5431/healthz-infra", - "Customer API;https://localhost:5441/healthz-infra", - "BFF Checkout;https://localhost:5451/healthz-infra", - "Billing API;https://localhost:5461/healthz-infra", - "Order API;https://localhost:5471/healthz-infra" - ] + "ENDPOINTS": "Frontend Web|https://localhost:5401/healthz-infra;Shopping Cart API|https://localhost:5411/healthz-infra;Identity API|https://localhost:5421/healthz-infra;Catalog API|https://localhost:5431/healthz-infra;Customer API|https://localhost:5441/healthz-infra;BFF Checkout|https://localhost:5451/healthz-infra;Billing API|https://localhost:5461/healthz-infra;Order API|https://localhost:5471/healthz-infra" } diff --git a/src/web/DevStore.WebApp.Status/appsettings.Docker.json b/src/web/DevStore.WebApp.Status/appsettings.Docker.json index fbe44c1..d14e127 100644 --- a/src/web/DevStore.WebApp.Status/appsettings.Docker.json +++ b/src/web/DevStore.WebApp.Status/appsettings.Docker.json @@ -19,14 +19,5 @@ "ConnectionStrings": { "DefaultConnection": "Server=database-status;Database=DSStatus;MultipleActiveResultSets=true;User Id=sa;Password=MyDB@123" }, - "ENDPOINTS": [ - "Identity API;https://api-identity/healthz-infra", - "BFF Checkout;https://api-bff-checkout/healthz-infra", - "Frontend Web;https://web-mvc/healthz-infra", - "Shopping Cart API;https://api-cart/healthz-infra", - "Catalog API;https://api-catalog/healthz-infra", - "Customer API;https://api-customers/healthz-infra", - "Billing API;https://api-billing/healthz-infra", - "Order API;https://api-order/healthz-infra" - ] + "ENDPOINTS": "Identity API|https://api-identity/healthz-infra;BFF Checkout|https://api-bff-checkout/healthz-infra;Frontend Web|https://web-mvc/healthz-infra;Shopping Cart API|https://api-cart/healthz-infra;Catalog API|https://api-catalog/healthz-infra;Customer API|https://api-customers/healthz-infra;Billing API|https://api-billing/healthz-infra;Order API|https://api-order/healthz-infra" } \ No newline at end of file