-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathappsettings.json
50 lines (50 loc) · 1.36 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
// Steeltoe: Add schema to get auto-completion.
"$schema": "https://steeltoe.io/schema/v4/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
// Steeltoe management endpoint configuration.
"Management": {
"Endpoints": {
// Show components and details of health checks when the user has a scope claim with value 'actuator.read'.
"Health": {
"ShowComponents": "WhenAuthorized",
"ShowDetails": "WhenAuthorized",
"Claim": {
"Type": "scope",
"Value": "actuator.read"
}
},
// Include all available properties in HttpExchanges.
"HttpExchanges": {
"AddAuthType": true,
"AddParameters": true,
"AddPathInfo": true,
"AddQueryString": true,
"AddRemoteAddress": true,
"AddRequestHeaders": true,
"AddResponseHeaders": true,
"AddSessionId": true,
"AddTimeTaken": true,
"AddUserPrincipal": true
},
// Configure local time actuator.
"LocalTime": {
"Format": "dd-MM-yyyy HH:mm:ss,fff"
},
// Configure endpoints to be exposed on a dedicated port.
"Port": "8090"
}
},
// Steeltoe: Declare application name.
"Spring": {
"Application": {
"Name": "ActuatorWeb"
}
}
}