Skip to content

Commit a692249

Browse files
Adjust readme
1 parent 212052c commit a692249

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ app.UseGraphQLPlayground(
197197

198198
Based on cloud-native concepts, **Readiness** and **Liveness** integrity verification strategies were implemented.
199199

200-
If using [xabarilcoding/healthchecksui](https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/doc/ui-docker.md) container image it will responde on `http://localhost:8000/healthchecks-ui/`.
201-
202200
> `/health`
203201
> Just check if the instance is running.
204202

@@ -208,14 +206,26 @@ If using [xabarilcoding/healthchecksui](https://github.com/Xabaril/AspNetCore.Di
208206
> `/health/ready`
209207
> Check if the instance and all the dependencies are ready to attend to all functionalities.
210208

211-
> `/healthz`
212-
> HealthReport specific for HealthCheck-UI.
213-
214209
Web API
215210

216211
`http://localhost:5000/health/ready`
217212

218-
![Readiness](./.assets/img/Readiness.png)
213+
```json
214+
{
215+
"status": "Healthy",
216+
"totalDuration": "00:00:00.2344435",
217+
"entries": {
218+
"Sql Server (Ready)": {
219+
"data": {},
220+
"duration": "00:00:00.2251420",
221+
"status": "Healthy",
222+
"tags": [
223+
"ready"
224+
]
225+
}
226+
}
227+
}
228+
```
219229

220230
Web MVC
221231

@@ -234,8 +244,8 @@ public void Configure(IApplicationBuilder app)
234244
{
235245
endpoints.MapDumpConfig(
236246
pattern: "/dump-config",
237-
configInfo: (_configuration as IConfigurationRoot).GetDebugView(),
238-
isDevelopment: _env.IsDevelopment());
247+
configurationRoot: _configuration as IConfigurationRoot,
248+
isProduction: _env.IsProduction());
239249
});
240250
}
241251
```

0 commit comments

Comments
 (0)